Your message dated Wed, 8 Feb 2023 21:29:04 +0200
with message-id <[email protected]>
and subject line 1030886 done
has caused the Debian Bug report #1030886,
regarding python3-electrum: hardware wallets stopped working
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1030886: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030886
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-electrum
Version: 4.3.4+dfsg1-1
Severity: important

Dear Maintainer,

While it worked about a month ago, launching electrum with Ledger
hardware wallet attached produces this error:

```
No hardware device detected.
To trigger a rescan, press 'Next'.

On Linux, you might have to add a new permission to your udev rules.


Debug message
  bitbox02: (error getting device infos)
    Missing libraries for bitbox02.
        ImportError()
    Make sure you install it with python3
  coldcard: (error getting device infos)
    Missing libraries for coldcard.
        ModuleNotFoundError("No module named 'ckcc'")
    Make sure you install it with python3
  keepkey: (error getting device infos)
    Missing libraries for keepkey.
    Make sure you install it with python3
  ledger: (error getting device infos)
    Missing libraries for ledger.
        ModuleNotFoundError("No module named 'ledger_bitcoin'")
    Make sure you install it with python3
  safe_t: (error getting device infos)
    Missing libraries for safe_t.
        ModuleNotFoundError("No module named 'safetlib'")
    Make sure you install it with python3
  trezor: (error getting device infos)
    Missing libraries for trezor.
        ModuleNotFoundError("No module named 'trezorlib'")
    Make sure you install it with python3
```

In terminal:

```
5.37 | E | plugins.jade.jade | error importing Jade plugin deps
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/electrum/plugins/jade/jade.py", line 34, 
in <module>
from .jadepy.jade import JadeAPI
File "/usr/lib/python3/dist-packages/electrum/plugins/jade/jadepy/__init__.py", 
line 1, in <module>
from .jade import JadeAPI
File "/usr/lib/python3/dist-packages/electrum/plugins/jade/jadepy/jade.py", 
line 1, in <module>
import cbor
ModuleNotFoundError: No module named 'cbor'
5.58 | W | gui.qt.installwizard.InstallWizard | error getting device infos for 
bitbox02: Missing libraries for bitbox02. // ImportError() // Make sure you 
install it with python3
5.58 | W | gui.qt.installwizard.InstallWizard | error getting device infos for 
coldcard: Missing libraries for coldcard. // ModuleNotFoundError("No module 
named 'ckcc'") // Make sure you install it with python3
5.58 | W | gui.qt.installwizard.InstallWizard | error getting device infos for 
jade: Missing libraries for jade. // ModuleNotFoundError("No module named 
'cbor'") // Make sure you install it with python3
5.58 | W | gui.qt.installwizard.InstallWizard | error getting device infos for 
keepkey: Missing libraries for keepkey. // Make sure you install it with python3
5.58 | W | gui.qt.installwizard.InstallWizard | error getting device infos for 
ledger: Missing libraries for ledger. // ModuleNotFoundError("No module named 
'ledger_bitcoin'") // Make sure you install it with python3
5.58 | W | gui.qt.installwizard.InstallWizard | error getting device infos for 
safe_t: Missing libraries for safe_t. // ModuleNotFoundError("No module named 
'safetlib'") // Make sure you install it with python3
5.58 | W | gui.qt.installwizard.InstallWizard | error getting device infos for 
trezor: Missing libraries for trezor. // ModuleNotFoundError("No module named 
'trezorlib'") // Make sure you install it with python3
```
(I've already installed python3-cbor and python3-serial to reduce
Jade-related errors)

python3-btchip is installed,

Also, HW wallet devices seems to be recognized:

```
vas. 08 20:32:30 kernel: hid-generic 0003:2C97:0001.0010: hiddev1,hidraw2: USB 
HID v1.11 Device [Ledger Nano S] on usb-0000:00:14.0-2/input0
vas. 08 20:32:30 kernel: hid-generic 0003:2C97:0001.0011: hiddev2,hidraw3: USB 
HID v1.11 Device [Ledger Nano S] on usb-0000:00:14.0-2/input1
```

Coudld this be due to transition to PEP 668? I don't recall if I needed
to pip-install any packages to make Ledger work.

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

Kernel: Linux 6.1.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8), LANGUAGE=lt
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-electrum depends on:
ii  libjs-jquery                        3.6.1+dfsg+~3.5.14-1
ii  libjs-jquery-ui                     1.13.2+dfsg-1
ii  libjs-jquery-ui-theme-ui-lightness  1.12.1+dfsg-1.1
ii  libsecp256k1-1                      0.2.0-2
ii  node-qrcode-generator               1.4.4+dfsg-3
ii  python3                             3.11.1-3
ii  python3-aiohttp                     3.8.3-1+b2
ii  python3-aiohttp-socks               0.7.1-2
ii  python3-aiorpcx                     0.22.1-2
ii  python3-attr                        22.2.0-1
ii  python3-bitstring                   3.1.7-2
ii  python3-certifi                     2022.9.24-1
ii  python3-cryptography                38.0.4-2
ii  python3-distutils                   3.10.8-1
ii  python3-dnspython                   2.3.0-1
ii  python3-protobuf                    3.21.12-1+b2
ii  python3-qrcode                      7.3.1-1

Versions of packages python3-electrum recommends:
ii  fonts-dejavu-core  2.37-3

python3-electrum suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Fixed it with `pip install ledger_bitcoin[hid]`, so I guess it's unrelated to 
Electrum wallet itself.

--- End Message ---

Reply via email to