KeyError: -1
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the traceback in electrum/gui/qt/util.py, electrum/gui/qt/history_list.py, and electrum/util.py, especially the referenced handlers and value_from_pos. Reproduce the crash after changing a transaction description and trace the coordinate passed into value_from_pos. Done means that this action no longer raises KeyError: -1.
Written by the indexing model from the issue text.
Description
Crash Report
This crash report was reported through the automatic crash reporting system 🤖
Traceback
File "electrum/gui/qt/util.py", line 414, in on_commitData
File "electrum/gui/qt/history_list.py", line 692, in text_txid_from_coordinate
File "electrum/util.py", line 1068, in value_from_pos
KeyError: -1
Reporter
This issue was reported by 1 user(s):
| Electrum Version | Python Version | Operating System | Wallet Type | Locale | Stack |
|---|---|---|---|---|---|
| 3.3.4 | 3.6.4 (default, Feb 28 2018, 03:24:19) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] | Darwin-18.2.0-x86_64-i386-64bit | standard | ? | ℹ |
Additional Information
changed the description of a transaction.
- Dominant language
- Python
- Stars
- 8.6k
- Forks
- 3.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 61
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.
More from spesmilo/electrum
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
build/packaging 📦 OS-linux 🐧
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
OS-android🤖
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
All issues in spesmilo/electrum
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100