TorToolkit-Telegram icon indicating copy to clipboard operation
TorToolkit-Telegram copied to clipboard

getting port error

Open ShashiTharoor opened this issue 2 years ago • 1 comments

it gives me an error

Error: '' is not a valid port number.

2021-11-11 18:28:30,890 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 "/torapp/tortoolkit/init.py", line 19, in upload_db = TtkUpload() File "/torapp/tortoolkit/core/database_handle.py", line 116, in init super().init(dburl) File "/torapp/tortoolkit/functions/pg_plugin.py", line 28, in init self._conn = psycopg2.connect(self._dburl) File "/usr/local/lib/python3.8/dist-packages/psycopg2/init.py", line 127, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) psycopg2.OperationalError: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?

Exception ignored in: <function TtkUpload.del at 0x7f0db9c43160> Traceback (most recent call last): File "/torapp/tortoolkit/core/database_handle.py", line 218, in del super().del() File "/torapp/tortoolkit/functions/pg_plugin.py", line 74, in del self._connection_users.pop() IndexError: pop from empty list Removing intermediate container 8e7334a75c7c The command '/bin/sh -c ./start.sh' returned a non-zero code: 1

i am a noob do not have much knowledge.

ShashiTharoor avatar Nov 11 '21 13:11 ShashiTharoor