tg-mirror-leech-bot
tg-mirror-leech-bot copied to clipboard
Crashing while deploying (Heroku)
Describe the Bug
I think this bug is because of Some code part in bot/init.py near 14 or 15 line megasdkrestclient module is not available in code or something
Expected behaviour
No response
Screenshots
No response
Add Logs
2022-06-27T15:23:38.405088+00:00 app[web.1]: File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details
2022-06-27T15:23:38.405089+00:00 app[web.1]: import(pkg_name)
2022-06-27T15:23:38.405089+00:00 app[web.1]: File "/usr/src/app/bot/init.py", line 16, in bash start.sh
2022-06-27T15:26:22.975292+00:00 app[web.1]: warning: no common commits
2022-06-27T15:26:24.170086+00:00 app[web.1]: Traceback (most recent call last):
2022-06-27T15:26:24.170114+00:00 app[web.1]: File "/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main
2022-06-27T15:26:24.170115+00:00 app[web.1]: mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
2022-06-27T15:26:24.170115+00:00 app[web.1]: File "/usr/lib/python3.8/runpy.py", line 144, in _get_module_details
2022-06-27T15:26:24.170116+00:00 app[web.1]: return _get_module_details(pkg_main_name, error)
2022-06-27T15:26:24.170117+00:00 app[web.1]: File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details
2022-06-27T15:26:24.170118+00:00 app[web.1]: import(pkg_name)
2022-06-27T15:26:24.170118+00:00 app[web.1]: File "/usr/src/app/bot/init.py", line 16, in bash start.sh
2022-06-27T15:26:51.689043+00:00 app[web.1]: warning: no common commits
2022-06-27T15:26:52.899974+00:00 app[web.1]: Traceback (most recent call last):
2022-06-27T15:26:52.899981+00:00 app[web.1]: File "/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main
2022-06-27T15:26:52.899981+00:00 app[web.1]: mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
2022-06-27T15:26:52.899982+00:00 app[web.1]: File "/usr/lib/python3.8/runpy.py", line 144, in _get_module_details
2022-06-27T15:26:52.899982+00:00 app[web.1]: return _get_module_details(pkg_main_name, error)
2022-06-27T15:26:52.899983+00:00 app[web.1]: File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details
2022-06-27T15:26:52.899986+00:00 app[web.1]: import(pkg_name)
2022-06-27T15:26:52.899986+00:00 app[web.1]: File "/usr/src/app/bot/init.py", line 16, in
Additional info
Megarest Var was set as False by me