FileNotFoundError: [Errno 2] No such file or directory: '/data/data/org.electrum.electrum/files/data/wallets/wallet 2.tmp.5181'
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 "/home/user/wspace/electrum/.buildozer/android/platform/build/build/python-installs/Electrum/kivy/core/window/window_sdl2.py", line 746, in mainloop
File "/home/user/wspace/electrum/.buildozer/android/platform/build/build/python-installs/Electrum/kivy/core/window/window_sdl2.py", line 478, in _mainloop
File "/home/user/wspace/electrum/.buildozer/android/platform/build/build/python-installs/Electrum/kivy/base.py", line 342, in idle
File "/home/user/wspace/electrum/.buildozer/android/platform/build/build/python-installs/Electrum/kivy/base.py", line 327, in dispatch_input
File "/home/user/wspace/electrum/.buildozer/android/platform/build/build/python-installs/Electrum/kivy/base.py", line 293, in post_dispatch_input
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/home/user/wspace/electrum/.buildozer/android/platform/build/build/python-installs/Electrum/kivy/uix/behaviors/button.py", line 179, in on_touch_up
File "kivy/_event.pyx", line 703, in kivy._event.EventDispatcher.dispatch
File "kivy/_event.pyx", line 1214, in kivy._event.EventObservers.dispatch
File "kivy/_event.pyx", line 1098, in kivy._event.EventObservers._dispatch
File "/home/user/wspace/electrum/.buildozer/android/platform/build/build/python-installs/Electrum/kivy/lang/builder.py", line 64, in custom_callback
File "<string>", line 31, in <module>
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/main_window.py", line 1050, in _delete_wallet
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/main_window.py", line 1039, in protected
File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/main_window.py", line 1063, in __delete_wallet
FileNotFoundError: [Errno 2] No such file or directory: '/data/data/org.electrum.electrum/files/data/wallets/wallet 2.tmp.5181'
Reporter
This issue was reported by 1 user(s):
| Electrum Version | Python Version | Operating System | Wallet Type | Locale | Stack |
|---|---|---|---|---|---|
| 3.3.7 | 3.7.1 (default, Jul 3 2019, 16:41:59) [Clang 6.0.2 (https://android.googlesource.com/toolchain/clang 183abd29fc496f55 | Android 7.0 on HUAWEI HWBLN-H (BLL-L22C636B396) | unknown | 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 in electrum/gui/kivy/main_window.py at _delete_wallet, protected, and __delete_wallet, using the supplied traceback as the entry point. Investigate why deleting the wallet reaches the missing temporary path on Android 7.0, then verify that the deletion flow no longer raises this FileNotFoundError.
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
- 35/100