Skip to content

KeyError: 17 #10334

@TARS-bot

Description

@TARS-bot

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

Traceback (most recent call last):
  File "electrum/util.py", line 1143, in run_with_except_hook
  File "threading.py", line 1012, in run
  File "electrum/gui/qt/wizard/wallet.py", line 1224, in scan_task
  File "electrum/gui/qt/wizard/wallet.py", line 1186, in failed_getting_device_infos
  File "trezorlib/exceptions.py", line 53, in __str__
KeyError: 17

KeyError: 17

Reporter

This issue was reported by 5 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.6.2 3.12.10 (v3.12.10:0cc81280367, Apr 8 2025, 08:47:00) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.8.1-x86_64-i386-64bit ?
4.6.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 Czech
4.6.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 Czech
4.6.2 3.12.10 (v3.12.10:0cc81280367, Apr 8 2025, 08:47:00) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-26.1-x86_64-i386-64bit ?
4.6.2 3.12.10 (v3.12.10:0cc81280367, Apr 8 2025, 08:47:00) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-26.1-x86_64-i386-64bit ?

Additional Information

Unable to connect Trezor safe 7 via USB. Fail to detect device.


Unable to find Trezor Safe 7 by scanning for the device!
Traceback
Traceback (most recent call last):
File "electrum\util.py", line 1143, in run_with_except_hook
File "threading.py", line 1012, in run
File "electrum\gui\qt\wizard\wallet.py", line 1224, in scan_task
File "electrum\gui\qt\wizard\wallet.py", line 1186, in failed_getting_device_infos
File "trezorlib\exceptions.py", line 53, in str
KeyError: 17

Additional information
Electrum version: 4.6.2
Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
Operating system: Windows-11-10.0.26200-SP0
Wallet type:
Locale: Czech_Czechia


import hw wallet from trezor 7


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions