Code_red (OP)
Member
Offline
Activity: 110
Merit: 10
|
|
March 16, 2013, 03:50:00 PM |
|
I run ubuntu and when I turned my comp on today electrum wouldn't open, so I tried running electrum in the term and get this
Traceback (most recent call last): File "/usr/local/bin/electrum", line 160, in <module> config = SimpleConfig(config_options) File "/usr/local/lib/python2.7/dist-packages/electrum/simple_config.py", line 37, in __init__ self.read_wallet_config(self.path) File "/usr/local/lib/python2.7/dist-packages/electrum/simple_config.py", line 197, in read_wallet_config raise IOError("Cannot read wallet file.") IOError: Cannot read wallet file.
and when I search for a electrum.dat on my comp there is none
|
|
|
|
ThomasV
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
March 16, 2013, 04:23:21 PM |
|
This error does not mean that the wallet file is gone, but that the wallet file is corrupted.
by default, the wallet file is located in your .electrum directory: /home/your_user_name/.electrum/
To access your coins, the easiest way is to restore your wallet from seed, using a different file ; To do this, move the corrupted file to another location, or start electrum with "-w filename" argument, and restore it.
I would like to know why that file is corrupted; if you can figure out, please let me know.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
Code_red (OP)
Member
Offline
Activity: 110
Merit: 10
|
|
March 16, 2013, 05:02:25 PM |
|
By the way I just moved and am having trouble locating my seed
|
|
|
|
Tachikoma
|
|
March 16, 2013, 05:16:14 PM |
|
By the way I just moved and am having trouble locating my seed
You are the only one responsible for your seed, we can't help you locate it. Can you possibly explain that differently so that I can be sure I am following you correct.
If your wallet is damaged and you need to restore from seed do the following: - Open a terminal
- Issue the command electrum -w ~/.electrum/new-wallet.dat
- Select "Restore"
- Enter your seed.
If the wallet is now working again close down electrum and move your new wallet to be the default wallet. mv ~/.electrum/new-wallet.dat ~/.electrum/electrum.dat You can now boot Electrum without any flags again. By the way the forum has an edit command. I recommend you use it, it increases readability.
|
|
|
|
Code_red (OP)
Member
Offline
Activity: 110
Merit: 10
|
|
March 16, 2013, 05:30:43 PM |
|
If I have this correct your saying without my seed at this point there is nothing I can do?
|
|
|
|
ThomasV
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
March 16, 2013, 05:33:52 PM |
|
By the way I just moved and am having trouble locating my seed
if you have lost your seed, open the corrupted electrum.dat with an editor and see if there is a 'seed' variable in it. if it is still there, your coins can be found. if the seed is not encrypted, restore your wallet with it if it is encrypted, you will need to decrypt it manually, but that's not difficult.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
Code_red (OP)
Member
Offline
Activity: 110
Merit: 10
|
|
March 16, 2013, 05:43:06 PM |
|
I tried opening with text editor and it doesn't seem to want to open. Is there maybe a better application for me to try and open it with?
|
|
|
|
Tachikoma
|
|
March 16, 2013, 05:46:15 PM |
|
Try installing and opening it with gedit.
(On debian or ubuntu apt-get install gedit most likely)
Just out of curiosity; did you lose your seed or did you not save it to begin with?
|
|
|
|
Code_red (OP)
Member
Offline
Activity: 110
Merit: 10
|
|
March 16, 2013, 06:00:01 PM |
|
I wrote it down on a piece of paper which has been misplaced in the move big mistake on my part.When opening with gedit I get this message
There was a problem opening the file //.electrum/electrum.dat. The file you opened has some invalid characters. If you continue editing this file you could corrupt this document. You can also choose another character encoding and try again.
|
|
|
|
ThomasV
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
March 16, 2013, 06:49:04 PM |
|
I wrote it down on a piece of paper which has been misplaced in the move big mistake on my part.When opening with gedit I get this message
There was a problem opening the file //.electrum/electrum.dat. The file you opened has some invalid characters. If you continue editing this file you could corrupt this document. You can also choose another character encoding and try again.
open it with emacs; it will open anything
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
Code_red (OP)
Member
Offline
Activity: 110
Merit: 10
|
|
March 16, 2013, 07:33:52 PM |
|
Well emacs opened it but the output is nothing I am familiar with seems to just be random characters and symbols. I am assuming this means its to corrupt for me to recover the seed from?
|
|
|
|
ThomasV
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
March 16, 2013, 09:26:23 PM |
|
Well emacs opened it but the output is nothing I am familiar with seems to just be random characters and symbols. I am assuming this means its to corrupt for me to recover the seed from?
the wallet file should be human readable. if this is not the case, I guess something bad happened to your file. it looks like the file you are opening is in binary format... perhaps you overwrote the wallet file with somethging else?
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
Code_red (OP)
Member
Offline
Activity: 110
Merit: 10
|
|
March 16, 2013, 09:36:56 PM |
|
A short piece of what the .dat file looks like in emacs
\347K\345^L\212c\270,^\\345\245\250\361^0\
|
|
|
|
Code_red (OP)
Member
Offline
Activity: 110
Merit: 10
|
|
March 17, 2013, 05:19:15 PM |
|
So the file is to corrupt?
|
|
|
|
Matoking
|
|
March 17, 2013, 06:05:56 PM |
|
So the file is to corrupt?
My Electrum wallet opened in Notepad++ looks like this (addresses redacted) : {'change_addresses': ['ADDRESSREDACTED', 'ADDRESSREDACTED', 'ADDRESSREDACTED', 'ADDRESSREDACTED', 'ADDRESSREDACTED'], 'addresses': ['ADDRESSREDACTED', 'ADDRESSREDACTED', 'ADDRESSREDACTED', 'ADDRESSREDACTED', 'ADDRESSREDACTED', 'ADDRESSREDACTED', 'ADDRESSREDACTED'], 'use_encryption': True,... You could try opening it in another program, but if you are not getting anything readable, the most likely case is that your wallet is corrupted or it was replaced with a different file. That's why you have to store your seed somewhere safe in case your wallet file becomes unusable. You could try running a program like Recuva in case the file is still recoverable, but I don't think that's the case.
|
|
|
|
RoxxR
|
|
March 17, 2013, 06:18:07 PM |
|
Have you scanned your computer for malware? That's the first thing I thought of when I read this thread.
|
|
|
|
Code_red (OP)
Member
Offline
Activity: 110
Merit: 10
|
|
March 17, 2013, 09:59:39 PM |
|
I run ubuntu so I think the malware is unlikely but I guess possible. My home directory is encrypted so I have no idea how to use a program like r linux on encrypted files. Is it even possible?
|
|
|
|
|