spesmilo / spesmilo/electrum

FileNotFoundError: [Errno 2] No such file or directory

Open
#4,783 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

  File "electrum\util.py", line 882, in run_with_except_hook
  File "electrum\network.py", line 1085, in run
  File "electrum\network.py", line 1067, in wait_on_sockets
  File "electrum\network.py", line 719, in process_responses
  File "electrum\network.py", line 624, in process_response
  File "electrum\network.py", line 1119, in on_notify_header
  File "electrum\blockchain.py", line 102, in can_connect
  File "electrum\blockchain.py", line 376, in can_connect
  File "electrum\blockchain.py", line 328, in get_target
  File "electrum\blockchain.py", line 298, in read_header

FileNotFoundError: [Errno 2] No such file or directory

Reporter

This issue was reported by 1 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
3.2.3 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17134 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

  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 with electrum/blockchain.py, following read_header through get_target and can_connect, then inspect on_notify_header in electrum/network.py. Use the traceback and the Windows 10/Python 3.6.6 context to investigate the missing file during header processing; done means this crash path no longer produces the reported FileNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
blockchain, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.