spesmilo / spesmilo/electrum

MemoryError:

Open
#7,501 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\installwizard.py", line 258, in on_filename
  File "electrum\storage.py", line 72, in __init__
  File "c:\python3\lib\codecs.py", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa5 in position 52738564: invalid start byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "electrum\gui\qt\installwizard.py", line 263, in on_filename
MemoryError

MemoryError: 

Reporter

This issue was reported by 7 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.1.5 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-7-6.1.7601-SP1 tr_TR
4.1.5 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-7-6.1.7601-SP1 tr_TR
4.2.2 3.9.11 (tags/v3.9.11:2de452f, Mar 16 2022, 14:21:37) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22000-SP0 nl_BE
4.3.2 3.9.11 (tags/v3.9.11:2de452f, Mar 16 2022, 14:21:37) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19044-SP0 en_US
4.3.2 3.9.11 (tags/v3.9.11:2de452f, Mar 16 2022, 14:21:37) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19044-SP0 de_DE
4.4.4 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 cs_CZ
4.3.2 3.9.11 (tags/v3.9.11:2de452f, Mar 16 2022, 14:21:37) [MSC v.1929 32 bit (Intel)] Windows-8.1-6.3.9600-SP0 en_US

Additional Information

A problem occurred when attempting to sync with the blockchain. Try manually running clear-cache.cmd and restart the application.


wallet not syncronising with blockchain


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 reading electrum/gui/qt/installwizard.py around lines 258-263 and electrum/storage.py around line 72, then examine the supplied traceback and crash reports. Determine how the wallet file is decoded when invalid UTF-8 triggers the MemoryError, and verify the application handles this failure without crashing.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.