AttributeError: 'Ledger_Client' object has no attribute 'dev'
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.6k
- Forks
- 3.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 61
Description
Crash Report
This crash report was reported through the automatic crash reporting system 🤖
Traceback
File "electrum/gui/qt/util.py", line 913, in on_done
File "/Users/mariodimitri/Desktop/Electrum.app/Contents/MacOS/electrum/plugins/coldcard/qt.py", line 186, in show_values
dev = client.dev
AttributeError: 'Ledger_Client' object has no attribute 'dev'
Reporter
This issue was reported by 2 user(s):
| Electrum Version | Python Version | Operating System | Wallet Type | Locale | Stack |
|---|---|---|---|---|---|
| 4.1.1 | 3.7.10 (default, Mar 31 2021, 13:19:38) [Clang 11.0.0 (clang-1100.0.33.17)] | Darwin-20.3.0-x86_64-i386-64bit | standard | ? | ℹ |
| 4.3.4 | 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] | Windows-10-10.0.19045-SP0 | 2of3,standard | en_GB | ℹ |
Additional Information
The reporting user(s) did not provide additional information.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in electrum/plugins/coldcard/qt.py at show_values, where the traceback accesses client.dev, and inspect the Ledger_Client implementation used by this flow. Reproduce the affected Coldcard or Ledger interaction and trace how the client is constructed. Done means the reported interaction no longer raises AttributeError for Ledger_Client.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100