Bitcoin Forum
July 02, 2024, 03:10:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum in Ubuntu IO Error "Cannot read config file."  (Read 3307 times)
princemyshkin (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 20, 2014, 07:36:41 PM
 #1

Running Electrum 1.7.x on Ubuntu 12.04, I always enter Ubuntu from the command line. This time I got an error. The error persisted through reboots and even an upgrade to 1.9.x (latest version). I checked /.electrum/config and the file is there, albeit it looks empty. Any ideas on what's causing this error and how to proceed? Thanks.

Traceback (most recent call last):
  File "/usr/local/bin/electrum", line 174, in <module>
    config = SimpleConfig(config_options)
  File "/usr/local/lib/python2.7/dist-packages/electrum/simple_config.py", line 33, in __init__
    self.read_user_config()
  File "/usr/local/lib/python2.7/dist-packages/electrum/simple_config.py", line 157, in read_user_config
    raise IOError("Cannot read config file.")
IOError: Cannot read config file.
Abdussamad
Legendary
*
Offline Offline

Activity: 3640
Merit: 1571



View Profile
March 21, 2014, 03:06:58 AM
 #2

Maybe it's a permissions issue. Anyway if you don't use the config file have you tried deleting it?
princemyshkin (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 22, 2014, 04:15:17 AM
 #3

Deleting the config file worked, thanks!
ben1
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 19, 2014, 06:59:47 PM
 #4

Deleting the config file fixed it for me too. I couldn't imagine any beginner or even some novice users figuring this bug out because gui users will see a silent failure. 
btcapparel
Sr. Member
****
Offline Offline

Activity: 568
Merit: 255



View Profile
June 24, 2014, 11:47:49 PM
 #5

Deleting the config file fixed it for me too. I couldn't imagine any beginner or even some novice users figuring this bug out because gui users will see a silent failure. 

I am a Ubuntu beginner and having the same issue...at the risk of sounding stupid, where do I find the config file to delete?

Many thanks
Abdussamad
Legendary
*
Offline Offline

Activity: 3640
Merit: 1571



View Profile
June 25, 2014, 11:48:01 AM
 #6

Deleting the config file fixed it for me too. I couldn't imagine any beginner or even some novice users figuring this bug out because gui users will see a silent failure.  

I am a Ubuntu beginner and having the same issue...at the risk of sounding stupid, where do I find the config file to delete?

Many thanks

It's in a hidden folder in your home directory. It has a name that begins with a dot : ~/.electrum

Here's a guide for various platforms:

https://en.bitcoin.it/wiki/Electrum#Wallet_File
btcapparel
Sr. Member
****
Offline Offline

Activity: 568
Merit: 255



View Profile
June 25, 2014, 01:32:52 PM
 #7

Thank you...found it, deleted config file and now works Smiley Many thanks
deepalivats
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
September 02, 2016, 09:47:27 AM
 #8

Insert Quote
Quote from: btcapparel on June 24, 2014, 11:47:49 PM
Quote from: ben1 on June 19, 2014, 06:59:47 PM
Deleting the config file fixed it for me too. I couldn't imagine any beginner or even some novice users figuring this bug out because gui users will see a silent failure.  

I am a Ubuntu beginner and having the same issue...at the risk of sounding stupid, where do I find the config file to delete?

Many thanks

It's in a hidden folder in your home directory. It has a name that begins with a dot : ~/.electrum

Here's a guide for various platforms:

https://en.bitcoin.it/wiki/Electrum#Wallet_File


I have also deleted config file but still getting same error
anybody help me how can i resolved  this problem
Abdussamad
Legendary
*
Offline Offline

Activity: 3640
Merit: 1571



View Profile
September 02, 2016, 10:03:48 AM
 #9

Insert Quote
Quote from: btcapparel on June 24, 2014, 11:47:49 PM
Quote from: ben1 on June 19, 2014, 06:59:47 PM
Deleting the config file fixed it for me too. I couldn't imagine any beginner or even some novice users figuring this bug out because gui users will see a silent failure.  

I am a Ubuntu beginner and having the same issue...at the risk of sounding stupid, where do I find the config file to delete?

Many thanks

It's in a hidden folder in your home directory. It has a name that begins with a dot : ~/.electrum

Here's a guide for various platforms:

https://en.bitcoin.it/wiki/Electrum#Wallet_File


I have also deleted config file but still getting same error
anybody help me how can i resolved  this problem

delete the blockchain_headers file.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!