Bug#981374: electrum: Ledger wallet not found: Library version for 'ledger' is incompatible.

2021-03-09 Thread Adrian Bunk
On Wed, Mar 10, 2021 at 01:44:00AM +0800, Shengjing Zhu wrote:
>...
> @bunk, why the severity is raised to serious? The package itself is
> functional for basic usage.

Missing dependencies are usually RC, and I was suspecting the severity 
might have been too low.

cu
Adrian



Bug#981374: electrum: Ledger wallet not found: Library version for 'ledger' is incompatible.

2021-03-09 Thread Shengjing Zhu
Control: reassign -1 python3-btchip 0.1.31-1
Control: retitle -1 Miss python3-ecdsa in Depends

On Wed, Mar 10, 2021 at 1:44 AM Shengjing Zhu  wrote:
>
> Hi,
>
> On Sat, Jan 30, 2021 at 12:16:36PM +0200, Vincas Dargis wrote:
> > Latest electrum version failds to find Ledger wallet, Install Wizard
> > shows this:
> >
> > ```
> >  ledger: (error getting device infos)
> > Library version for 'ledger' is incompatible.
> > Installed: 0.1.31, Needed: 0.1.30 <= x < inf
> > Make sure you install it with python3
> > ```
> >
>
> How can I reproduce this? TBH, I never use the ledger plugin, and I
> don't known how to use this.

I read the issue on https://github.com/spesmilo/electrum/issues/6928,
It seems it's python3-btchip that misses python3-ecdsa in Depends.

$ rg ecdsa
usr/lib/python3/dist-packages/btchip/btchipKeyRecovery.py
3:import ecdsa
4:from ecdsa.curves import SECP256k1
5:from ecdsa.ellipticcurve import Point
6:from ecdsa.util import string_to_number, number_to_string
8:class MyVerifyingKey(ecdsa.VerifyingKey):
12:from ecdsa import util, numbertheory

usr/lib/python3/dist-packages/btchip_python-0.1.31.egg-info/requires.txt
3:ecdsa>=0.9

-- 
Shengjing Zhu



Bug#981374: electrum: Ledger wallet not found: Library version for 'ledger' is incompatible.

2021-03-09 Thread Shengjing Zhu
Hi,

On Sat, Jan 30, 2021 at 12:16:36PM +0200, Vincas Dargis wrote:
> Latest electrum version failds to find Ledger wallet, Install Wizard
> shows this:
> 
> ```
>  ledger: (error getting device infos)
> Library version for 'ledger' is incompatible.
> Installed: 0.1.31, Needed: 0.1.30 <= x < inf
> Make sure you install it with python3
> ```
> 

How can I reproduce this? TBH, I never use the ledger plugin, and I
don't known how to use this.

@bunk, why the severity is raised to serious? The package itself is
functional for basic usage.


signature.asc
Description: PGP signature


Bug#981374: electrum: Ledger wallet not found: Library version for 'ledger' is incompatible.

2021-02-03 Thread Vincas Dargis

Control: tags -1 -upstream

Removing upstream tag, as this is packaging bug.



Bug#981374: electrum: Ledger wallet not found: Library version for 'ledger' is incompatible.

2021-01-30 Thread Vincas Dargis

Installing python3-ecdsa fixed it.



Bug#981374: electrum: Ledger wallet not found: Library version for 'ledger' is incompatible.

2021-01-30 Thread Vincas Dargis
Package: electrum
Version: 4.0.9-1
Severity: important

Dear Maintainer,

Latest electrum version failds to find Ledger wallet, Install Wizard
shows this:

```
 ledger: (error getting device infos)
Library version for 'ledger' is incompatible.
Installed: 0.1.31, Needed: 0.1.30 <= x < inf
Make sure you install it with python3
```

kernel log:
```
Jan 30 12:13:35 kernel: usb 2-1: new full-speed USB device number 16 using 
xhci_hcd
Jan 30 12:13:36 kernel: usb 2-1: New USB device found, idVendor=2c97, 
idProduct=0001, bcdDevice= 2.01
Jan 30 12:13:36 kernel: usb 2-1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
Jan 30 12:13:36 kernel: usb 2-1: Product: Nano S
Jan 30 12:13:36 kernel: usb 2-1: Manufacturer: Ledger
Jan 30 12:13:36 kernel: usb 2-1: SerialNumber: 0001
Jan 30 12:13:36 kernel: hid-generic 0003:2C97:0001.0014: hiddev1,hidraw2: USB 
HID v1.11 Device [Ledger Nano S] on usb-:00:14.0-1/input0
Jan 30 12:13:36 kernel: hid-generic 0003:2C97:0001.0015: hiddev2,hidraw3: USB 
HID v1.11 Device [Ledger Nano S] on usb-:00:14.0-1/input1
```

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

Kernel: Linux 5.10.0-2-amd64 (SMP w/8 CPU threads)
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 electrum depends on:
ii  python3   3.9.1-1
ii  python3-electrum  4.0.9-1

Versions of packages electrum recommends:
ii  python3-pyqt5   5.15.2+dfsg-3
ii  python3-qdarkstyle  2.8.1+ds1-2

Versions of packages electrum suggests:
ii  python3-btchip  0.1.31-1
pn  python3-trezor  
pn  python3-zbar

-- no debconf information