Skip to content

Error when running script #2

@ustoopia

Description

@ustoopia

Hi. I know this repo is a couple of years old. But I still wanted to try if it works, since it would be an ideal solution for me. Unfortunately, I get the following error message when I run the script. I did successfully install the requirements before.

Traceback (most recent call last):
  File "/opt/nginx-rtmp-auth/rtmpauth.py", line 11, in <module>
    hostPort = config.getint('main', 'bind_to_port')
  File "/usr/lib/python3.10/configparser.py", line 820, in getint
    return self._get_conv(section, option, int, raw=raw, vars=vars,
  File "/usr/lib/python3.10/configparser.py", line 810, in _get_conv
    return self._get(section, conv, option, raw=raw, vars=vars,
  File "/usr/lib/python3.10/configparser.py", line 805, in _get
    return conv(self.get(section, option, **kwargs))
ValueError: invalid literal for int() with base 10: '88 # Port to bind to'

I'm using Python 3.10.12 on Ubuntu 22.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions