Author

Topic: Wallet corrupted because of a bad configuration file.Will pay .1 if you help (Read 652 times)

newbie
Activity: 2
Merit: 0
Do you have the wallet seed or a backup of the wallet? This should have been my first question.

EDIT: do you make backups of your pc at all? You really should. Things can get corrupted. Programs can crash, cosmic rays can corrupt your data etc.. But in your case this may be too late already  Undecided
member
Activity: 162
Merit: 10
Hello, No I did not upgrade, this just happened and now I can not open the wallet.
I renamed the configuration file like you said with that command and then erased the old one from the folder. I restarted the computer and tried to start electrum but it did not work
I did see that most of the files were hidden but they were not like that before I hope I do not have a virus, people say that linux does not really get viruses but it is still possible so who knows.This is the error message again:

Traceback (most recent call last):
  File "/usr/local/bin/electrum", line 204, in
    gui.main(url)
  File "/usr/local/lib/python2.7/dist-packages/electrum_gui/qt/__init__.py", line 84, in main
    storage = WalletStorage(self.config)
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 82, in __init__
    self.read(self.path)
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 123, in read
    raise IOError("Cannot read wallet file.")
IOError: Cannot read wallet file.


It is always giving an error that it can not read the wallet file...how can it become corrupted so easy and for no reason...not stable electrum guys !!

newbie
Activity: 2
Merit: 0
Assuming you haven't upgraded your electrum client like nerioseole asked:


This command will rename your configuration file to to configuration.bak so that Electrum will make a new configuration:

Code:
mv ~/.electrum/config ~/.electrum/config.bak

Next you will want to open Electrum.

It will ask you to import or create a wallet. The importing option only allows for wallet recovery using the seed. Since we want to import your old wallet from a file we just go ahead and create a new wallet so that we can get past this screen. Go ahead and make a new wallet.

Once you have Electrum open like normal, select File, click Open wallet. Your wallet should be there. Select it. Click ok and you should have your wallet back.

If that didn't work for you let me know Smiley


Handy hint. Files starting with . are considered hidden. Push ctrl + H to show them.
member
Activity: 162
Merit: 10
The sudo electrum comand gave the same error message as above
I think it is 1.98 or ? Is there a command i can use to find that?
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Can you give me the path and location for it, I have ubuntu it is more complicated or unknown than windows, for me

~/.Electrum is the path.

No I think I found it.When you enter the home directory there is electrum and I clicked there and there was a configuration file rigth there on entering. I erased it and electrum still will not start, I restarted the computer and still electrum will not start. I now get another message

Traceback (most recent call last):
  File "/usr/local/bin/electrum", line 204, in
    gui.main(url)
  File "/usr/local/lib/python2.7/dist-packages/electrum_gui/qt/__init__.py", line 84, in main
    storage = WalletStorage(self.config)
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 82, in __init__
    self.read(self.path)
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 123, in read
    raise IOError("Cannot read wallet file.")
IOError: Cannot read wallet file.

Was the the right configuration file or is there another one buried deeper?

Help??

Try running sudo electrum.

Btw, which version are you using?
member
Activity: 162
Merit: 10
No I think I found it.When you enter the home directory there is electrum and I clicked there and there was a configuration file rigth there on entering. I erased it and electrum still will not start, I restarted the computer and still electrum will not start. I now get another message

Traceback (most recent call last):
  File "/usr/local/bin/electrum", line 204, in
    gui.main(url)
  File "/usr/local/lib/python2.7/dist-packages/electrum_gui/qt/__init__.py", line 84, in main
    storage = WalletStorage(self.config)
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 82, in __init__
    self.read(self.path)
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 123, in read
    raise IOError("Cannot read wallet file.")
IOError: Cannot read wallet file.

Was the the right configuration file or is there another one buried deeper?

Help??
member
Activity: 162
Merit: 10
Can you give me the path and location for it, I have ubuntu it is more complicated or unknown than windows, for me
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Delete configuration file from Electrum directory. Electrum directory is ~/.Electrum
member
Activity: 162
Merit: 10
Is it possible to just replace the configuration file with a known good file. How could it become corrupted anyways?
member
Activity: 162
Merit: 10
I will pay .1 coin or about $25 dollars if someone will come and help me with this
member
Activity: 162
Merit: 10
Hello, now I can not open my electrum wallet , I am using linux ubuntu based system. It was fine and then now when I try to open the wallet it does not open. Usually when it is stubborn  I type electrum in the command line and it will always start. But now it never starts and when I try to start from the command line it gives me this. I think she is trying to tell me she is sick but I dont understand her language.

electrum
Traceback (most recent call last):
  File "/usr/local/bin/electrum", line 174, in
    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.

Any thoughts?
Jump to: