spesmilo / electrum

Electrum Bitcoin Wallet
https://electrum.org
MIT License
7.26k stars 3.04k forks source link

FileNotFoundError: [Errno 2] No such file or directory: '/Users/raymondanim/.electrum/blockchain_headers' #4323

Open TARS-bot opened 6 years ago

TARS-bot commented 6 years ago

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

  File "Electrum-3.1.3-py3.6.egg/electrum/util.py", line 794, in run_with_except_hook
  File "Electrum-3.1.3-py3.6.egg/electrum/network.py", line 985, in run
  File "Electrum-3.1.3-py3.6.egg/electrum/network.py", line 967, in wait_on_sockets
  File "Electrum-3.1.3-py3.6.egg/electrum/network.py", line 626, in process_responses
  File "Electrum-3.1.3-py3.6.egg/electrum/network.py", line 541, in process_response
  File "Electrum-3.1.3-py3.6.egg/electrum/network.py", line 1013, in on_notify_header
  File "Electrum-3.1.3-py3.6.egg/electrum/blockchain.py", line 245, in save_header
  File "Electrum-3.1.3-py3.6.egg/electrum/blockchain.py", line 230, in write

FileNotFoundError: [Errno 2] No such file or directory: '/Users/raymondanim/.electrum/blockchain_headers'

Reporter

This issue was reported by 5 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
3.1.3 Darwin-17.5.0-x86_64-i386-64bit 2fa None ℹ
3.1.3 Darwin-17.5.0-x86_64-i386-64bit 2fa None ℹ
3.2.2 Darwin-17.5.0-x86_64-i386-64bit standard ? ℹ
3.1.3 Darwin-17.7.0-x86_64-i386-64bit standard None ℹ
3.2.3 3.6.4 (default, Feb 28 2018, 03:24:19) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] Darwin-17.7.0-x86_64-i386-64bit standard ? ℹ

Additional Information

The reporting user(s) did not provide additional information.

SomberNight commented 6 years ago

I'm guessing the datadir is not there either.. ?

SomberNight commented 6 years ago

added check for datadir in https://github.com/spesmilo/electrum/commit/c8bed8791a4134b3f38721a84ccf71e047e1615c