Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1000688: electrum: Does not start

38 views
Skip to first unread message

Douglas Perkins

unread,
Nov 27, 2021, 4:40:03 AM11/27/21
to
Package: electrum
Version: 4.0.9-1
Severity: important
X-Debbugs-Cc: con...@dperkins.org

Dear Maintainer,

I upgraded Sid today. After restarting my system, I tried opening Electrum and it errors out. I'm using XFCE.

If I open a terminal window and try starting the program, I get the following error. The program exits on this error. Ideally the program should not show an error, and should open when called.


$ electrum
Traceback (most recent call last):
File "/usr/bin/electrum", line 79, in <module>
from electrum.logging import get_logger, configure_logging
File "/usr/lib/python3/dist-packages/electrum/__init__.py", line 15, in <module>
from .util import format_satoshis
File "/usr/lib/python3/dist-packages/electrum/util.py", line 50, in <module>
import aiohttp
File "/usr/lib/python3/dist-packages/aiohttp/__init__.py", line 6, in <module>
from .client import (
File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 35, in <module>
from . import hdrs, http, payload
File "/usr/lib/python3/dist-packages/aiohttp/http.py", line 7, in <module>
from .http_parser import (
File "/usr/lib/python3/dist-packages/aiohttp/http_parser.py", line 15, in <module>
from .helpers import NO_EXTENSIONS, BaseTimerContext
File "/usr/lib/python3/dist-packages/aiohttp/helpers.py", line 667, in <module>
class CeilTimeout(async_timeout.timeout):
TypeError: function() argument 'code' must be code, not str




-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-1-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages electrum depends on:
ii python3 3.9.8-1
ii python3-electrum 4.0.9-1

Versions of packages electrum recommends:
ii python3-pyqt5 5.15.6+dfsg-1+b1
ii python3-qdarkstyle 2.8.1+ds1-3

Versions of packages electrum suggests:
pn python3-btchip <none>
pn python3-trezor <none>
pn python3-zbar <none>

-- no debconf information

Jan Hrach

unread,
Nov 28, 2021, 4:30:03 AM11/28/21
to
I'm afraid that's a problem in python3-aiohttp, as it dies on a simple import and other programs such as gdbgui fail with the same error.
You can remove the offending class initialization as a temporary workaround:

-#class CeilTimeout(async_timeout.timeout):
+class CeilTimeout():

in /usr/lib/python3/dist-packages/aiohttp/helpers.py:667

Jan Hrach

unread,
Nov 28, 2021, 4:40:04 AM11/28/21
to
--
Jan Hrach | https://jenda.hrach.eu/

Richard Ulrich

unread,
Dec 21, 2021, 5:50:02 AM12/21/21
to
Package: electrum
Version: 4.0.9-1
Followup-For: Bug #1000688
X-Debbugs-Cc: ri...@ulrichard.ch

Since yesterday, I have the same problem with bookworm


-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.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 electrum depends on:
ii python3 3.9.7-1
ii python3-electrum 4.0.9-1

Versions of packages electrum recommends:
ii python3-pyqt5 5.15.6+dfsg-1+b1
ii python3-qdarkstyle 2.8.1+ds1-3

Versions of packages electrum suggests:
ii python3-btchip 0.1.31-1.1
ii python3-trezor 0.12.4-1

Richard Ulrich

unread,
Dec 22, 2021, 12:30:04 AM12/22/21
to
Package: electrum
Followup-For: Bug #1000688
X-Debbugs-Cc: ri...@ulrichard.ch

Since the upgrade of python3-aiohttp:amd64 (3.7.4-2+b1, 3.8.1-4) electrum works
again. Thanks for fixing.


-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.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 electrum depends on:
ii python3 3.9.7-1
ii python3-electrum 4.0.9-1

Versions of packages electrum recommends:
ii python3-pyqt5 5.15.6+dfsg-1+b1
ii python3-qdarkstyle 2.8.1+ds1-3

Versions of packages electrum suggests:
ii python3-btchip 0.1.31-1.1
ii python3-trezor 0.12.4-1
0 new messages