Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working after run in docker #16

Open
salty1510 opened this issue Jan 12, 2025 · 0 comments
Open

Not working after run in docker #16

salty1510 opened this issue Jan 12, 2025 · 0 comments

Comments

@salty1510
Copy link

Hi,
just installed your bot on my UNraid.
At the end of the installation i’m getting several errors which (I think) cause the bot to not work (not getting any messages or response from my Telegram bot after typing in your commands):

Traceback (most recent call last):
File "/usr/local/lib/python3.9/runpy.py", line 188, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/local/lib/python3.9/runpy.py", line 147, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/local/lib/python3.9/runpy.py", line 111, in _get_module_details
import(pkg_name)
File "/app/TelegramBot/init.py", line 8, in
from TelegramBot.config import *
File "/app/TelegramBot/config.py", line 11, in
SUDO_USERID = json.loads(getenv("SUDO_USERID"))
File "/usr/local/lib/python3.9/json/init.py", line 339, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType

I followed your instructions step by step. I’m super new to this Server/Code stuff.
Would be nice if you could help me out.

Greetings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant