spesmilo / spesmilo/electrum

AssertionError: file '/Users/patrickrobertsmini2/.electrum/wallets/wallet_1' does not exist

Open
#9,105 0 comments 0 reactions 0 assignees View on GitHub

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 "electrum/gui/qt/wizard/wizard.py", line 213, in on_next_button_clicked
  File "electrum/gui/qt/wizard/wallet.py", line 185, in is_finalized
AssertionError: file '/Users/patrickrobertsmini2/.electrum/wallets/wallet_1' does not exist

AssertionError: file '/Users/patrickrobertsmini2/.electrum/wallets/wallet_1' does not exist

Reporter

This issue was reported by 36 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.5.5 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-12.7.5-x86_64-i386-64bit ?
4.5.5 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.5-x86_64-i386-64bit ?
4.5.5 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-11.7.10-x86_64-i386-64bit ?
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 it_IT
4.5.5 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-15.1-x86_64-i386-64bit imported,standard ?
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.26120-SP0 en_US
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 ru_UA
4.5.5 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.6.1-x86_64-i386-64bit ?
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.26100-SP0 nl_NL
4.5.8 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.7-x86_64-i386-64bit ?
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 de_DE
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 fr_BE
4.5.8 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.5-x86_64-i386-64bit ?
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.26120-SP0 en_US
4.5.8 3.12.3 (main, Nov 6 2024, 18:32:19) [GCC 13.2.0] Linux-6.8.0-49-generic-x86_64-with-glibc2.39 en_US
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.26100-SP0 it_IT
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22621-SP0 en_US
4.5.8 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.11.0-26-generic-x86_64-with-glibc2.39 pt_BR
4.5.8 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 en_US
4.6.0 3.12.10 (v3.12.10:0cc81280367, Apr 8 2025, 08:47:00) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-15.5-x86_64-i386-64bit ?
4.5.8 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.8.0-64-generic-x86_64-with-glibc2.39 hu_HU
4.6.1 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26100-SP0 Engli
4.6.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26100-SP0 pt_BR
4.6.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26100-SP0 de_DE
4.6.2 3.12.10 (v3.12.10:0cc81280367, Apr 8 2025, 08:47:00) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-12.7.6-x86_64-i386-64bit ?
4.6.2 3.12.10 (v3.12.10:0cc81280367, Apr 8 2025, 08:47:00) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-14.4.1-x86_64-i386-64bit ?
4.6.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 de_DE
4.6.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 es_ES
4.6.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26100-SP0 Russi
4.6.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 standard fr_FR
4.7.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19045-SP0 Arabi
4.7.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-10-10.0.19042-SP0 standard Korea
4.7.2 3.12.10 (v3.12.10:0cc81280367, Apr 8 2025, 08:47:00) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-26.3.1-x86_64-i386-64bit ?
4.7.2 3.12.10 (v3.12.10:0cc81280367, Apr 8 2025, 08:47:00) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-26.3-x86_64-i386-64bit ?
4.8.0 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 fr_FR
4.8.2 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Windows-11-10.0.26200-SP0 Itali

Additional Information

?


Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the wizard flow from electrum/gui/qt/wizard/wizard.py:213 into electrum/gui/qt/wizard/wallet.py:185, where the missing wallet file triggers the assertion. Reproduce the reported flow if possible and determine the expected behavior when that file is absent; done means the flow no longer crashes in this case and the regression is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.