KeyError: 'bc1qpfd8u3n0fsr4eqcen8l2lfpjyjpxstzzk4mxjg'
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
Traceback (most recent call last):
File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/base.py", line 347, in mainloop
File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/base.py", line 391, in idle
File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/base.py", line 342, in dispatch_input
File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/base.py", line 308, in post_dispatch_input
File "kivy/_event.pyx", line 724, in kivy._event.EventDispatcher.dispatch
File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/uix/behaviors/button.py", line 179, in on_touch_up
File "kivy/_event.pyx", line 720, in kivy._event.EventDispatcher.dispatch
File "kivy/_event.pyx", line 1263, in kivy._event.EventObservers.dispatch
File "kivy/_event.pyx", line 1147, in kivy._event.EventObservers._dispatch
File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/lang/builder.py", line 57, in custom_callback
File "<string>", line 33, in <module>
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/uix/dialogs/request_dialog.py", line 191, in cb
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/wallet.py", line 2520, in delete_request
KeyError: 'bc1qpfd8u3n0fsr4eqcen8l2lfpjyjpxstzzk4mxjg'
KeyError: 'bc1qpfd8u3n0fsr4eqcen8l2lfpjyjpxstzzk4mxjg'
Reporter
This issue was reported by 3 user(s):
| Electrum Version | Python Version | Operating System | Wallet Type | Locale | Stack |
|---|---|---|---|---|---|
| 4.3.0 | 3.8.13 (default, Aug 5 2022, 13:57:10) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d | Android 10 on HUAWEI HWMAR (MAR-L21MEA 10.0.0.278(C10E3R3P3)) | standard | en_US | ℹ |
| 4.3.1 | 3.8.13 (default, Aug 17 2022, 17:07:22) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d | Android 11 on samsung a12 (RP1A.200720.012.A125FXXS2BVE3) | standard | en_US | ℹ |
| 4.3.1 | 3.8.13 (default, Aug 17 2022, 17:07:22) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d | Android 11 on Redmi secret (RP1A.200720.011) | standard | en_US | ℹ |
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 with electrum/gui/kivy/uix/dialogs/request_dialog.py at the cb callback and electrum/wallet.py at delete_request, following how the request identifier is passed between them. Reproduce the Android request-deletion action if possible and determine why the reported identifier is missing. Done means the action no longer raises this KeyError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100