ALT Linux Bugzilla
– Attachment 15722 Details for
Bug 49743
Ошибка eventlet при попытке развернуть pgadmin4 в качестве веб-сервиса
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
module 'eventlet.green.select' has no attribute 'epoll'
module 'eventlet.green.select' has no attribute 'epoll' (text/plain), 28.51 KB, created by
Величко София
on 2024-03-20 12:59:38 MSK
(
hide
)
Description:
module 'eventlet.green.select' has no attribute 'epoll'
Filename:
MIME Type:
Creator:
Величко София
Created:
2024-03-20 12:59:38 MSK
Size:
28.51 KB
patch
obsolete
>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: <AboutModule 'about'> >2024-03-20 10:28:09,549: INFO pgadmin: Registering blueprint module: <AuthenticateModule 'authenticate'> >2024-03-20 10:28:09,550: INFO pgadmin: Registering blueprint module: <BrowserModule 'browser'> >2024-03-20 10:28:10,422: INFO pgadmin: Registering blueprint module: <DashboardModule 'dashboard'> >2024-03-20 10:28:10,434: INFO pgadmin: Registering blueprint module: <DashboardModule 'dashboard'> >2024-03-20 10:28:10,435: INFO pgadmin: Registering blueprint module: <HelpModule 'help'> >2024-03-20 10:28:10,435: INFO pgadmin: Registering blueprint module: <MiscModule 'misc'> >2024-03-20 10:28:10,803: INFO pgadmin: Registering blueprint module: <PreferencesModule 'preferences'> >2024-03-20 10:28:10,806: INFO pgadmin: Registering blueprint module: <PgAdminModule 'redirects'> >2024-03-20 10:28:10,808: INFO pgadmin: Registering blueprint module: <SettingsModule 'settings'> >2024-03-20 10:28:10,811: INFO pgadmin: Registering blueprint module: <ToolsModule 'tools'> >ââââââââââââââââââââââââââââââââ 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 <module> â >â â >â 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 <module> â >â â >â 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 <module> â >â â >â 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 <module> â >â â >â 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 <module> â >â â >â 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 <module> â >â â >â 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 <module> â >â â >â 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 <module> â >â â >â â± 1 from ._api import request, stream â >â 2 from ._async import ( â >â 3 â AsyncConnectionInterface, â >â 4 â AsyncConnectionPool, â >â â >â /usr/lib/python3/site-packages/httpcore/_api.py:5 in <module> â >â â >â 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 <module> â >â â >â â± 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 <module> â >â â >â 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 <module> â >â â >â 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 <module> â >â â >â 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 <module> â >â â >â 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 <module> â >â â >â 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 <module> â >â â >â 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 <module> â >â â >â 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'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 49743
: 15722