Git Product home page Git Product logo

deepak-clouds-tortoolkit-leech-mirror's People

Contributors

deepakcloudsoffical avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

deepak-clouds-tortoolkit-leech-mirror's Issues

ModuleNotFoundError: No module named 'tortoolkit.core.database_handle'

2022-05-20T08:07:49.886683+00:00 app[web.1]:   File "<frozen importlib._bootstrap_external>", line 848, in exec_module
2022-05-20T08:07:49.886683+00:00 app[web.1]:   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2022-05-20T08:07:49.886684+00:00 app[web.1]:   File "/torapp/tortoolkit/__init__.py", line 13, in <module>
2022-05-20T08:07:49.886684+00:00 app[web.1]:     from tortoolkit.core.server import start_server
2022-05-20T08:07:49.886684+00:00 app[web.1]:   File "/torapp/tortoolkit/core/server.py", line 7, in <module>
2022-05-20T08:07:49.886684+00:00 app[web.1]:     from .database_handle import TtkTorrents
2022-05-20T08:07:49.886685+00:00 app[web.1]: ModuleNotFoundError: No module named 'tortoolkit.core.database_handle'
2022-05-20T08:07:49.886791+00:00 app[web.1]: [2022-05-20 13:37:49 +0530] [11] [INFO] Worker exiting (pid: 11)
2022-05-20T08:07:50.045985+00:00 heroku[web.1]: Process exited with status 1
2022-05-20T08:07:50.178875+00:00 heroku[web.1]: State changed from starting to crashed

Nezar

Hello , I'm trying to figure out how it works!

Error

[2021-07-05 15:22:04 +0000] [205581] [INFO] Starting gunicorn 20.0.4
[2021-07-05 15:22:04 +0000] [205581] [ERROR] Connection in use: ('0.0.0.0', 80)
[2021-07-05 15:22:04 +0000] [205581] [ERROR] Retrying in 1 second.
2021-07-05 15:22:04,205 INFO MainThread root Database created
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 "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/init.py", line 19, in
upload_db = TtkUpload()
File "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/core/database_handle.py", line 116, in init
super().init(dburl)
File "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/functions/pg_plugin.py", line 28, in init
self._conn = psycopg2.connect(self._dburl)
File "/home/ubuntu/venv/lib/python3.8/site-packages/psycopg2/init.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: FATAL: password authentication failed for user "postgres"
FATAL: password authentication failed for user "postgres"

Exception ignored in: <function TtkUpload.del at 0x7f0615052e50>
Traceback (most recent call last):
File "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/core/database_handle.py", line 218, in del
super().del()
File "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/functions/pg_plugin.py", line 74, in del
self._connection_users.pop()
IndexError: pop from empty list
(venv) root@ip-172-31-40-27:/home/ubuntu/tgBot/TorToolkit-Telegram# [2021-07-05 15:22:05 +0000] [205581] [ERROR] Connection in use: ('0.0.0.0', 80)
[2021-07-05 15:22:05 +0000] [205581] [ERROR] Retrying in 1 second.
[2021-07-05 15:22:06 +0000] [205581] [ERROR] Connection in use: ('0.0.0.0', 80)
[2021-07-05 15:22:06 +0000] [205581] [ERROR] Retrying in 1 second.
[2021-07-05 15:22:07 +0000] [205581] [ERROR] Connection in use: ('0.0.0.0', 80)
[2021-07-05 15:22:07 +0000] [205581] [ERROR] Retrying in 1 second.
[2021-07-05 15:22:08 +0000] [205581] [ERROR] Connection in use: ('0.0.0.0', 80)
[2021-07-05 15:22:08 +0000] [205581] [ERROR] Retrying in 1 second.
[2021-07-05 15:22:09 +0000] [205581] [ERROR] Can't connect to ('0.0.0.0', 80)

Please Help

(venv) root@ip-172-31-40-27:/home/ubuntu/tgBot/TorToolkit-Telegram# ./start.sh
[2021-07-05 15:45:16 +0000] [217555] [INFO] Starting gunicorn 20.0.4
[2021-07-05 15:45:16 +0000] [217555] [INFO] Listening at: http://0.0.0.0:80 (217555)
[2021-07-05 15:45:16 +0000] [217555] [INFO] Using worker: aiohttp.GunicornWebWorker
[2021-07-05 15:45:16 +0000] [217566] [INFO] Booting worker with pid: 217566
2021-07-05 15:45:16,458 INFO MainThread root Database created
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 "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/init.py", line 19, in
upload_db = TtkUpload()
File "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/core/database_handle.py", line 116, in init
super().init(dburl)
File "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/functions/pg_plugin.py", line 28, in init
self._conn = psycopg2.connect(self._dburl)
File "/home/ubuntu/venv/lib/python3.8/site-packages/psycopg2/init.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: FATAL: password authentication failed for user "postgres"
FATAL: password authentication failed for user "postgres"

Exception ignored in: <function TtkUpload.del at 0x7f024eabee50>
Traceback (most recent call last):
File "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/core/database_handle.py", line 218, in del
super().del()
File "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/functions/pg_plugin.py", line 74, in del
self._connection_users.pop()
IndexError: pop from empty list
2021-07-05 15:45:16,514 INFO MainThread root Database created
[2021-07-05 15:45:16 +0000] [217566] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/home/ubuntu/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
worker.init_process()
File "/home/ubuntu/venv/lib/python3.8/site-packages/aiohttp/worker.py", line 51, in init_process
super().init_process()
File "/home/ubuntu/venv/lib/python3.8/site-packages/gunicorn/workers/base.py", line 119, in init_process
self.load_wsgi()
File "/home/ubuntu/venv/lib/python3.8/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
self.wsgi = self.app.wsgi()
File "/home/ubuntu/venv/lib/python3.8/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/home/ubuntu/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
return self.load_wsgiapp()
File "/home/ubuntu/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
return util.import_app(self.app_uri)
File "/home/ubuntu/venv/lib/python3.8/site-packages/gunicorn/util.py", line 358, in import_app
mod = importlib.import_module(module)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/init.py", line 19, in
upload_db = TtkUpload()
File "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/core/database_handle.py", line 116, in init
super().init(dburl)
File "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/functions/pg_plugin.py", line 28, in init
self._conn = psycopg2.connect(self._dburl)
File "/home/ubuntu/venv/lib/python3.8/site-packages/psycopg2/init.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: FATAL: password authentication failed for user "postgres"
FATAL: password authentication failed for user "postgres"

[2021-07-05 15:45:16 +0000] [217566] [INFO] Worker exiting (pid: 217566)
Exception ignored in: <function TtkUpload.del at 0x7effaf1555e0>
Traceback (most recent call last):
File "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/core/database_handle.py", line 218, in del
super().del()
File "/home/ubuntu/tgBot/TorToolkit-Telegram/tortoolkit/functions/pg_plugin.py", line 74, in del
self._connection_users.pop()
IndexError: pop from empty list
(venv) root@ip-172-31-40-27:/home/ubuntu/tgBot/TorToolkit-Telegram# [2021-07-05 15:45:16 +0000] [217555] [INFO] Shutting down: Master
[2021-07-05 15:45:16 +0000] [217555] [INFO] Reason: Worker failed to boot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.