You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the error is
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/loki/Documents/TOOLS/tg-index/app/main.py", line 3, in
from .main import Indexer
File "/home/loki/Documents/TOOLS/tg-index/app/main.py", line 12, in
from .routes import setup_routes
File "/home/loki/Documents/TOOLS/tg-index/app/routes.py", line 8, in
from .config import index_settings
File "/home/loki/Documents/TOOLS/tg-index/app/config.py", line 21, in
api_id = int(os.environ["API_ID", 123521])
File "/usr/lib/python3.8/os.py", line 672, in getitem
value = self._data[self.encodekey(key)]
File "/usr/lib/python3.8/os.py", line 750, in encode
raise TypeError("str expected, not %s" % type(value).name)
TypeError: str expected, not tuple
i dont get it ... like what to do ... how can i fix this ???
The text was updated successfully, but these errors were encountered:
the error is
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/loki/Documents/TOOLS/tg-index/app/main.py", line 3, in
from .main import Indexer
File "/home/loki/Documents/TOOLS/tg-index/app/main.py", line 12, in
from .routes import setup_routes
File "/home/loki/Documents/TOOLS/tg-index/app/routes.py", line 8, in
from .config import index_settings
File "/home/loki/Documents/TOOLS/tg-index/app/config.py", line 21, in
api_id = int(os.environ["API_ID", 123521])
File "/usr/lib/python3.8/os.py", line 672, in getitem
value = self._data[self.encodekey(key)]
File "/usr/lib/python3.8/os.py", line 750, in encode
raise TypeError("str expected, not %s" % type(value).name)
TypeError: str expected, not tuple
i dont get it ... like what to do ... how can i fix this ???
The text was updated successfully, but these errors were encountered: