[Pkg-xmpp-devel] Bug#1061281: gajim: Fails to start: AttributeError: module 'eventlet.green.select' has no attribute 'epoll'
Shawn K. Quinn
skquinn at rushpost.com
Mon Jan 22 03:58:38 GMT 2024
Package: gajim
Version: 1.8.4-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: skquinn at rushpost.com
Dear Maintainer,
At some point within the last few days, I am suddenly unable to launch gajim.
This is the console output I am receiving:
skquinn at crossbow:~$ gajim
Traceback (most recent call last):
File "/usr/bin/gajim", line 8, in <module>
sys.exit(run())
^^^^^
File "/usr/lib/python3/dist-packages/gajim/main.py", line 171, in run
_init_gui('GTK')
File "/usr/lib/python3/dist-packages/gajim/main.py", line 105, in _init_gui
_init_gtk()
File "/usr/lib/python3/dist-packages/gajim/main.py", line 123, in _init_gtk
from gajim.gtk import exception
File "/usr/lib/python3/dist-packages/gajim/gtk/exception.py", line 54, in
<module>
import sentry_sdk
File "/usr/lib/python3/dist-packages/sentry_sdk/__init__.py", line 1, in
<module>
from sentry_sdk.hub import Hub, init
File "/usr/lib/python3/dist-packages/sentry_sdk/hub.py", line 8, in <module>
from sentry_sdk.scope import Scope
File "/usr/lib/python3/dist-packages/sentry_sdk/scope.py", line 7, in
<module>
from sentry_sdk.attachments import Attachment
File "/usr/lib/python3/dist-packages/sentry_sdk/attachments.py", line 5, in
<module>
from sentry_sdk.envelope import Item, PayloadRef
File "/usr/lib/python3/dist-packages/sentry_sdk/envelope.py", line 7, in
<module>
from sentry_sdk.session import Session
File "/usr/lib/python3/dist-packages/sentry_sdk/session.py", line 5, in
<module>
from sentry_sdk.utils import format_timestamp
File "/usr/lib/python3/dist-packages/sentry_sdk/utils.py", line 1305, in
<module>
HAS_REAL_CONTEXTVARS, ContextVar = _get_contextvars()
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sentry_sdk/utils.py", line 1275, in
_get_contextvars
if not _is_contextvars_broken():
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sentry_sdk/utils.py", line 1228, in
_is_contextvars_broken
from eventlet.patcher import is_monkey_patched # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/eventlet/__init__.py", line 17, in
<module>
from eventlet import convenience
File "/usr/lib/python3/dist-packages/eventlet/convenience.py", line 7, in
<module>
from eventlet.green import socket
File "/usr/lib/python3/dist-packages/eventlet/green/socket.py", line 21, in
<module>
from eventlet.support import greendns
File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 79,
in <module>
setattr(dns, pkg, import_patched('dns.' + pkg))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 61,
in import_patched
return patcher.import_patched(module_name, **modules)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/eventlet/patcher.py", line 132, in
import_patched
return inject(
^^^^^^^
File "/usr/lib/python3/dist-packages/eventlet/patcher.py", line 109, in
inject
module = __import__(module_name, {}, {}, module_name.split('.')[:-1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/dns/asyncquery.py", line 38, in <module>
from dns.query import (
File "/usr/lib/python3/dist-packages/dns/query.py", line 63, in <module>
import httpcore
File "/usr/lib/python3/dist-packages/httpcore/__init__.py", line 1, in
<module>
from ._api import request, stream
File "/usr/lib/python3/dist-packages/httpcore/_api.py", line 5, in <module>
from ._sync.connection_pool import ConnectionPool
File "/usr/lib/python3/dist-packages/httpcore/_sync/__init__.py", line 1, in
<module>
from .connection import HTTPConnection
File "/usr/lib/python3/dist-packages/httpcore/_sync/connection.py", line 12,
in <module>
from .._synchronization import Lock
File "/usr/lib/python3/dist-packages/httpcore/_synchronization.py", line 11,
in <module>
import trio
File "/usr/lib/python3/dist-packages/trio/__init__.py", line 22, in <module>
from ._core import TASK_STATUS_IGNORED as TASK_STATUS_IGNORED # isort:
split
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/trio/_core/__init__.py", line 21, in
<module>
from ._local import RunVar, RunVarToken
File "/usr/lib/python3/dist-packages/trio/_core/_local.py", line 9, in
<module>
from . import _run
File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2775, in
<module>
from ._io_epoll import (
File "/usr/lib/python3/dist-packages/trio/_core/_io_epoll.py", line 202, in
<module>
class EpollIOManager:
File "/usr/lib/python3/dist-packages/trio/_core/_io_epoll.py", line 203, in
EpollIOManager
_epoll: select.epoll = attr.ib(factory=select.epoll)
^^^^^^^^^^^^
AttributeError: module 'eventlet.green.select' has no attribute 'epoll'
---
I have tried rolling back gajim itself but that did not help. I unfortunately
lack the detailed knowledge of Python to try to troubleshoot further on my own.
-- System Information:
Debian Release: trixie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gajim depends on:
ii desktop-file-utils 0.27-1
ii gir1.2-gst-plugins-base-1.0 1.22.8-1
ii gir1.2-gtk-3.0 3.24.40-1
ii gir1.2-gtksource-4 4.8.4-5
ii python3 3.11.4-5+b1
ii python3-cairo 1.25.1-1
ii python3-cryptography 41.0.7-2
ii python3-css-parser 1.0.10-1
ii python3-gi 3.46.0-3
ii python3-gi-cairo 3.46.0-3
ii python3-idna 3.3-2
ii python3-keyring 24.3.0-1
ii python3-nbxmpp 4.5.3-1
ii python3-omemo-dr 1.0.1-2
ii python3-packaging 23.2-1
ii python3-pil 10.2.0-1
ii python3-precis-i18n 1.0.5-2
ii python3-qrcode 7.4.2-4
Versions of packages gajim recommends:
ii alsa-utils 1.2.10-1.1
ii aspell-en [aspell-dictionary] 2020.12.07-0-1
ii ca-certificates 20230311
ii dbus 1.14.10-4
ii fonts-noto-color-emoji 2.042-1
ii gajim-openpgp 1.5.1-1
ii gir1.2-ayatanaappindicator3-0.1 0.5.93-1
ii gir1.2-farstream-0.2 0.2.9-2+b1
ii gir1.2-geoclue-2.0 2.7.1-1
ii gir1.2-gsound-1.0 1.0.3-2
ii gir1.2-gspell-1 1.12.2-1
ii gir1.2-gstreamer-1.0 1.22.8-1
ii gir1.2-secret-1 0.21.2-1
ii gnome-flashback [notification-daemon] 3.50.0-1
ii gnome-shell [notification-daemon] 44.8-1
ii gstreamer1.0-gl 1.22.8-1
ii gstreamer1.0-nice 0.1.21-2
ii gstreamer1.0-plugins-ugly 1:1.22.3-dmo1+deb12u1
ii notification-daemon 3.20.0-4+b1
ii pulseaudio-utils 16.1+dfsg1-3
ii python3-dbus 1.3.2-5+b1
ii python3-gssapi 1.8.2-1+b2
ii python3-sentry-sdk 1.39.2-0.1
ii sox 14.4.2+git20190427-4
Versions of packages gajim suggests:
ii libxss1 1:1.2.3-1
ii nautilus-sendto 3.8.6-7
-- no debconf information
More information about the Pkg-xmpp-devel
mailing list