tg-mirror-leech-bot icon indicating copy to clipboard operation
tg-mirror-leech-bot copied to clipboard

Crashing while deploying (Heroku)

Open Dgthemaster opened this issue 2 years ago • 0 comments

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 2022-06-27T15:23:38.405089+00:00 app[web.1]: from megasdkrestclient import MegaSdkRestClient 2022-06-27T15:23:38.405089+00:00 app[web.1]: ModuleNotFoundError: No module named 'megasdkrestclient' 2022-06-27T15:23:38.676075+00:00 heroku[web.1]: Process exited with status 1 2022-06-27T15:23:38.720843+00:00 heroku[web.1]: State changed from starting to crashed 2022-06-27T15:25:53.779228+00:00 app[api]: Scaled to web@0:Free by user [email protected] 2022-06-27T15:25:53.995020+00:00 heroku[web.1]: State changed from crashed to down 2022-06-27T15:25:56.028598+00:00 app[api]: Scaled to web@1:Free by user [email protected] 2022-06-27T15:26:21.881298+00:00 heroku[web.1]: Starting process with command 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 2022-06-27T15:26:24.170119+00:00 app[web.1]: from megasdkrestclient import MegaSdkRestClient 2022-06-27T15:26:24.170119+00:00 app[web.1]: ModuleNotFoundError: No module named 'megasdkrestclient' 2022-06-27T15:26:24.687034+00:00 heroku[web.1]: Process exited with status 1 2022-06-27T15:26:24.788915+00:00 heroku[web.1]: State changed from starting to crashed 2022-06-27T15:26:24.810744+00:00 heroku[web.1]: State changed from crashed to starting 2022-06-27T15:26:50.691074+00:00 heroku[web.1]: Starting process with command 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 2022-06-27T15:26:52.899986+00:00 app[web.1]: from megasdkrestclient import MegaSdkRestClient 2022-06-27T15:26:52.899987+00:00 app[web.1]: ModuleNotFoundError: No module named 'megasdkrestclient' 2022-06-27T15:26:53.189858+00:00 heroku[web.1]: Process exited with status 1 2022-06-27T15:26:53.270275+00:00 heroku[web.1]: State changed from starting to crashed

Additional info

Megarest Var was set as False by me

Dgthemaster avatar Jun 27 '22 15:06 Dgthemaster