2024-03-20 10:28:09,153: INFO pgadmin: ######################################################## 2024-03-20 10:28:09,154: INFO pgadmin: Starting pgAdmin 4 v8.3... 2024-03-20 10:28:09,154: INFO pgadmin: ######################################################## 2024-03-20 10:28:09,154: DEBUG pgadmin: Python syspath: ['/usr/lib/pgadmin4', '/usr/lib64/python312.zip', '/usr/lib64/python3.12', '/usr/lib64/python3.12/lib-dynload', '/usr/lib64/python3/site-packages', '/usr/lib64/python3/site-packages/gtk-2.0', '/usr/lib/python3/site-packages'] 2024-03-20 10:28:09,547: INFO pgadmin: Registering blueprint module: 2024-03-20 10:28:09,549: INFO pgadmin: Registering blueprint module: 2024-03-20 10:28:09,550: INFO pgadmin: Registering blueprint module: 2024-03-20 10:28:10,422: INFO pgadmin: Registering blueprint module: 2024-03-20 10:28:10,434: INFO pgadmin: Registering blueprint module: 2024-03-20 10:28:10,435: INFO pgadmin: Registering blueprint module: 2024-03-20 10:28:10,435: INFO pgadmin: Registering blueprint module: 2024-03-20 10:28:10,803: INFO pgadmin: Registering blueprint module: 2024-03-20 10:28:10,806: INFO pgadmin: Registering blueprint module: 2024-03-20 10:28:10,808: INFO pgadmin: Registering blueprint module: 2024-03-20 10:28:10,811: INFO pgadmin: Registering blueprint module: ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /usr/lib/pgadmin4/setup.py:508 in setup_db │ │ │ │ 505 │ │ help="This argument doesn't require in CLI mode.")] = None): │ │ 506 │ """Setup the configuration database.""" │ │ 507 │ │ │ ❱ 508 │ app = app or create_app() │ │ 509 │ create_app_data_directory(config) │ │ 510 │ │ │ 511 │ print("pgAdmin 4 - Application Initialisation") │ │ │ │ /usr/lib/pgadmin4/pgadmin/__init__.py:739 in create_app │ │ │ │ 736 │ for module in get_submodules(): │ │ 737 │ │ app.logger.info('Registering blueprint module: %s' % module) │ │ 738 │ │ if app.blueprints.get(module.name) is None: │ │ ❱ 739 │ │ │ app.register_blueprint(module) │ │ 740 │ │ │ app.register_logout_hook(module) │ │ 741 │ │ │ 742 │ @app.before_request │ │ │ │ /usr/lib/python3/site-packages/flask/sansio/scaffold.py:46 in wrapper_func │ │ │ │ 43 │ │ │ 44 │ def wrapper_func(self: Scaffold, *args: t.Any, **kwargs: t.Any) -> t.Any: │ │ 45 │ │ self._check_setup_finished(f_name) │ │ ❱ 46 │ │ return f(self, *args, **kwargs) │ │ 47 │ │ │ 48 │ return t.cast(F, update_wrapper(wrapper_func, f)) │ │ 49 │ │ │ │ /usr/lib/python3/site-packages/flask/sansio/app.py:599 in register_blueprint │ │ │ │ 596 │ │ │ │ 597 │ │ .. versionadded:: 0.7 │ │ 598 │ │ """ │ │ ❱ 599 │ │ blueprint.register(self, options) │ │ 600 │ │ │ 601 │ def iter_blueprints(self) -> t.ValuesView[Blueprint]: │ │ 602 │ │ """Iterates over all blueprints by the order they were registered. │ │ │ │ /usr/lib/pgadmin4/pgadmin/tools/__init__.py:52 in register │ │ │ │ 49 │ │ from .maintenance import blueprint as module │ │ 50 │ │ app.register_blueprint(module) │ │ 51 │ │ │ │ ❱ 52 │ │ from .psql import blueprint as module │ │ 53 │ │ app.register_blueprint(module) │ │ 54 │ │ │ │ 55 │ │ from .restore import blueprint as module │ │ │ │ /usr/lib/pgadmin4/pgadmin/tools/psql/__init__.py:15 in │ │ │ │ 12 import struct │ │ 13 import config │ │ 14 import re │ │ ❱ 15 from eventlet.green import subprocess │ │ 16 from sys import platform as _platform │ │ 17 from config import PG_DEFAULT_DRIVER │ │ 18 from flask import Response, request │ │ │ │ /usr/lib/python3/site-packages/eventlet/__init__.py:6 in │ │ │ │ 3 import warnings │ │ 4 │ │ 5 │ │ ❱ 6 from eventlet import convenience │ │ 7 from eventlet import event │ │ 8 from eventlet import greenpool │ │ 9 from eventlet import greenthread │ │ │ │ /usr/lib/python3/site-packages/eventlet/convenience.py:7 in │ │ │ │ 4 from eventlet import greenpool │ │ 5 from eventlet import greenthread │ │ 6 from eventlet import support │ │ ❱ 7 from eventlet.green import socket │ │ 8 from eventlet.support import greenlets as greenlet │ │ 9 │ │ 10 │ │ │ │ /usr/lib/python3/site-packages/eventlet/green/socket.py:21 in │ │ │ │ 18 │ │ 19 │ │ 20 if os.environ.get("EVENTLET_NO_GREENDNS", '').lower() != 'yes': │ │ ❱ 21 │ from eventlet.support import greendns │ │ 22 │ gethostbyname = greendns.gethostbyname │ │ 23 │ getaddrinfo = greendns.getaddrinfo │ │ 24 │ gethostbyname_ex = greendns.gethostbyname_ex │ │ │ │ /usr/lib/python3/site-packages/eventlet/support/greendns.py:78 in │ │ │ │ 75 for pkg in dns.__all__: │ │ 76 │ if pkg == 'rdtypes': │ │ 77 │ │ continue │ │ ❱ 78 │ setattr(dns, pkg, import_patched('dns.' + pkg)) │ │ 79 del import_patched │ │ 80 │ │ 81 │ │ │ │ /usr/lib/python3/site-packages/eventlet/support/greendns.py:60 in import_patched │ │ │ │ 57 │ │ 'socket': _socket_nodns, │ │ 58 │ │ 'ssl': ssl, │ │ 59 │ } │ │ ❱ 60 │ return patcher.import_patched(module_name, **modules) │ │ 61 │ │ 62 │ │ 63 dns = import_patched('dns') │ │ │ │ /usr/lib/python3/site-packages/eventlet/patcher.py:132 in import_patched │ │ │ │ 129 │ │ │ 130 │ The only required argument is the name of the module to be imported. │ │ 131 │ """ │ │ ❱ 132 │ return inject( │ │ 133 │ │ module_name, │ │ 134 │ │ None, │ │ 135 │ │ *additional_modules + tuple(kw_additional_modules.items())) │ │ │ │ /usr/lib/python3/site-packages/eventlet/patcher.py:109 in inject │ │ │ │ 106 │ │ if imported_module_name.startswith(module_name + '.'): │ │ 107 │ │ │ sys.modules.pop(imported_module_name, None) │ │ 108 │ try: │ │ ❱ 109 │ │ module = __import__(module_name, {}, {}, module_name.split('.')[:-1]) │ │ 110 │ │ │ │ 111 │ │ if new_globals is not None: │ │ 112 │ │ │ # Update the given globals dictionary with everything from this new module │ │ │ │ /usr/lib/python3/site-packages/dns/asyncquery.py:38 in │ │ │ │ 35 import dns.rdatatype │ │ 36 import dns.transaction │ │ 37 from dns._asyncbackend import NullContext │ │ ❱ 38 from dns.query import ( │ │ 39 │ BadResponse, │ │ 40 │ NoDOH, │ │ 41 │ NoDOQ, │ │ │ │ /usr/lib/python3/site-packages/dns/query.py:64 in │ │ │ │ 61 │ │ 62 _have_httpx = dns._features.have("doh") │ │ 63 if _have_httpx: │ │ ❱ 64 │ import httpcore._backends.sync │ │ 65 │ import httpx │ │ 66 │ │ │ 67 │ _CoreNetworkBackend = httpcore.NetworkBackend │ │ │ │ /usr/lib/python3/site-packages/httpcore/__init__.py:1 in │ │ │ │ ❱ 1 from ._api import request, stream │ │ 2 from ._async import ( │ │ 3 │ AsyncConnectionInterface, │ │ 4 │ AsyncConnectionPool, │ │ │ │ /usr/lib/python3/site-packages/httpcore/_api.py:5 in │ │ │ │ 2 from typing import Iterator, Optional, Union │ │ 3 │ │ 4 from ._models import URL, Extensions, HeaderTypes, Response │ │ ❱ 5 from ._sync.connection_pool import ConnectionPool │ │ 6 │ │ 7 │ │ 8 def request( │ │ │ │ /usr/lib/python3/site-packages/httpcore/_sync/__init__.py:1 in │ │ │ │ ❱ 1 from .connection import HTTPConnection │ │ 2 from .connection_pool import ConnectionPool │ │ 3 from .http11 import HTTP11Connection │ │ 4 from .http_proxy import HTTPProxy │ │ │ │ /usr/lib/python3/site-packages/httpcore/_sync/connection.py:12 in │ │ │ │ 9 from .._exceptions import ConnectError, ConnectionNotAvailable, ConnectTimeout │ │ 10 from .._models import Origin, Request, Response │ │ 11 from .._ssl import default_ssl_context │ │ ❱ 12 from .._synchronization import Lock │ │ 13 from .._trace import Trace │ │ 14 from .http11 import HTTP11Connection │ │ 15 from .interfaces import ConnectionInterface │ │ │ │ /usr/lib/python3/site-packages/httpcore/_synchronization.py:11 in │ │ │ │ 8 # on if they're running under asyncio or trio. │ │ 9 │ │ 10 try: │ │ ❱ 11 │ import trio │ │ 12 except ImportError: # pragma: nocover │ │ 13 │ trio = None # type: ignore │ │ 14 │ │ │ │ /usr/lib/python3/site-packages/trio/__init__.py:22 in │ │ │ │ 19 # Uses `from x import y as y` for compatibility with `pyright --verifytypes` (#2625) │ │ 20 # │ │ 21 # must be imported early to avoid circular import │ │ ❱ 22 from ._core import TASK_STATUS_IGNORED as TASK_STATUS_IGNORED # isort: split │ │ 23 │ │ 24 # Submodules imported by default │ │ 25 from . import abc, from_thread, lowlevel, socket, to_thread │ │ │ │ /usr/lib/python3/site-packages/trio/_core/__init__.py:21 in │ │ │ │ 18 │ WouldBlock, │ │ 19 ) │ │ 20 from ._ki import currently_ki_protected, disable_ki_protection, enable_ki_protection │ │ ❱ 21 from ._local import RunVar, RunVarToken │ │ 22 from ._mock_clock import MockClock │ │ 23 from ._parking_lot import ParkingLot, ParkingLotStatistics │ │ 24 │ │ │ │ /usr/lib/python3/site-packages/trio/_core/_local.py:9 in │ │ │ │ 6 import attr │ │ 7 │ │ 8 from .._util import NoPublicConstructor, final │ │ ❱ 9 from . import _run │ │ 10 │ │ 11 T = TypeVar("T") │ │ 12 │ │ │ │ /usr/lib/python3/site-packages/trio/_core/_run.py:2787 in │ │ │ │ 2784 │ ) │ │ 2785 elif sys.platform == "linux" or (not TYPE_CHECKING and hasattr(select, "epoll")): │ │ 2786 │ from ._generated_io_epoll import * │ │ ❱ 2787 │ from ._io_epoll import ( │ │ 2788 │ │ EpollIOManager as TheIOManager, │ │ 2789 │ │ EventResult as EventResult, │ │ 2790 │ │ _EpollStatistics as IOStatistics, │ │ │ │ /usr/lib/python3/site-packages/trio/_core/_io_epoll.py:202 in │ │ │ │ 199 │ │ 200 │ │ 201 @attr.s(slots=True, eq=False, hash=False) │ │ ❱ 202 class EpollIOManager: │ │ 203 │ _epoll: select.epoll = attr.ib(factory=select.epoll) │ │ 204 │ # {fd: EpollWaiters} │ │ 205 │ _registered: defaultdict[int, EpollWaiters] = attr.ib( │ │ │ │ /usr/lib/python3/site-packages/trio/_core/_io_epoll.py:203 in EpollIOManager │ │ │ │ 200 │ │ 201 @attr.s(slots=True, eq=False, hash=False) │ │ 202 class EpollIOManager: │ │ ❱ 203 │ _epoll: select.epoll = attr.ib(factory=select.epoll) │ │ 204 │ # {fd: EpollWaiters} │ │ 205 │ _registered: defaultdict[int, EpollWaiters] = attr.ib( │ │ 206 │ │ factory=lambda: defaultdict(EpollWaiters) │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: module 'eventlet.green.select' has no attribute 'epoll'