WalletFileException: Incomplete wallet files cannot be upgraded.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- mobile-dev
Research direction
Start in electrum/storage.py at get_action(), then trace the wallet-loading path through electrum/daemon.py and electrum/gui/kivy/main_window.py. Investigate how the Android wallet reaches this exception and whether the reported wallet state can be reproduced. Done means the failure has a defined cause and wallet loading handles incomplete files appropriately without this crash.
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 "/data/user/0/org.electrum.electrum/files/app/crystax_python/site-packages/kivy/core/window/window_sdl2.py", line 727, in mainloop
self._mainloop()
File "/data/user/0/org.electrum.electrum/files/app/crystax_python/site-packages/kivy/core/window/window_sdl2.py", line 460, in _mainloop
EventLoop.idle()
File "/data/user/0/org.electrum.electrum/files/app/crystax_python/site-packages/kivy/base.py", line 340, in idle
self.dispatch_input()
File "/data/user/0/org.electrum.electrum/files/app/crystax_python/site-packages/kivy/base.py", line 325, in dispatch_input
post_dispatch_input(*pop(0))
File "/data/user/0/org.electrum.electrum/files/app/crystax_python/site-packages/kivy/base.py", line 291, in post_dispatch_input
wid.dispatch('on_touch_up', me)
File "kivy/_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
File "/data/user/0/org.electrum.electrum/files/app/crystax_python/site-packages/kivy/uix/behaviors/button.py", line 179, in on_touch_up
self.dispatch('on_release')
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 "/data/user/0/org.electrum.electrum/files/app/crystax_python/site-packages/kivy/lang/builder.py", line 64, in custom_callback
exec(__kvlang__.co_value, idmap)
File "<string>", line 39, in <module>
File "./electrum/gui/kivy/uix/dialogs/wallets.py", line 64, in open_wallet
app.load_wallet_by_name(self.ids.wallet_selector.selection[0])
File "./electrum/gui/kivy/main_window.py", line 521, in load_wallet_by_name
wallet = self.daemon.load_wallet(path, None)
File "./electrum/daemon.py", line 243, in load_wallet
if storage.get_action():
File "./electrum/storage.py", line 633, in get_action
raise WalletFileException('Incomplete wallet files cannot be upgraded.')
WalletFileException: Incomplete wallet files cannot be upgraded.
Reporter
This issue was reported by 1 user(s):
| Electrum Version | Python Version | Operating System | Wallet Type | Locale | Stack |
|---|---|---|---|---|---|
| 3.2.3 | 3.6.4 (default, Mar 1 2018, 10:42:21) [GCC 5.3 20151204] | Android 8.0.0 on samsung greatqlte (R16NW.N950USQS5CRI4) | standard | ? | ℹ |
Additional Information
The reporting user(s) did not provide additional information.
- 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