rahulkhatri137 / mirrorbot137

Lightweight but powerful Telegram Mirror bot
GNU General Public License v3.0
37 stars 172 forks source link

ERROR #22

Closed SonzaiEkkusu closed 1 year ago

SonzaiEkkusu commented 1 year ago

root@sonzai-x:/mirrorbot137# sudo docker run mirror-bot 2023-01-22 14:27:27,545 - root - INFO - Initializing Aria2c 2023-01-22 14:27:28,045 - bot - INFO - Generating USER_SESSION_STRING Initiliazing Library with API_KEY: Tg5DiAya 2023/01/22 14:27:28 Serving on :6090 [GIN] 2023/01/22 - 14:27:35 | 200 | 4.00242838s | 127.0.0.1 | POST "/login" Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.8/runpy.py", line 144, in _get_module_details return _get_module_details(pkg_main_name, error) File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details import(pkg_name) File "/usr/src/app/bot/init.py", line 465, in updater = tg.Updater(token=BOT_TOKEN) TypeError: init() got an unexpected keyword argument 'token' Exception ignored in: <function ClientSession.del at 0x7f2906f61c10> Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/aiohttp/client.py", line 347, in del File "/usr/lib/python3.8/asyncio/base_events.py", line 1740, in call_exception_handler File "/usr/lib/python3.8/logging/init.py", line 1475, in error File "/usr/lib/python3.8/logging/init.py", line 1589, in _log File "/usr/lib/python3.8/logging/init.py", line 1599, in handle File "/usr/lib/python3.8/logging/init.py", line 1661, in callHandlers File "/usr/lib/python3.8/logging/init.py", line 954, in handle File "/usr/lib/python3.8/logging/init.py", line 1186, in emit File "/usr/lib/python3.8/logging/init.py", line 1176, in _open NameError: name 'open' is not defined root@sonzai-x:/mirrorbot137#