Pages:
Author

Topic: Can not open electrum wallet in linux....scared to know why (Read 2028 times)

member
Activity: 97
Merit: 10
Can anyone help with my electrum wallet not loading??? Been a while now. I also am not used to linux or not advanced user.

I typed electrum and got the following messege. Basically there is a key error???

~$ electrum
Traceback (most recent call last):
  File "/usr/local/bin/electrum", line 254, in
    gui.main(url)
  File "/usr/local/lib/python2.7/dist-packages/electrum_gui/qt/__init__.py", line 224, in main
    w.load_wallet(wallet)
  File "/usr/local/lib/python2.7/dist-packages/electrum_gui/qt/main_window.py", line 216, in load_wallet
    self.update_history_tab()
  File "/usr/local/lib/python2.7/dist-packages/electrum_gui/qt/main_window.py", line 580, in update_history_tab
    h = self.wallet.get_history(domain)
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 743, in get_history
    c, u = self.get_balance(domain)
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 572, in get_balance
    c, u = self.get_addr_balance(addr)
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 487, in get_addr_balance
    coins = self.get_addr_utxo(address)
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 472, in get_addr_utxo
    coins.pop(txi)
KeyError: u'some key writing here:0'
legendary
Activity: 3682
Merit: 1580
Stop listening to roslinpl. Reinstalling or restoring from seed will not help. Do what dabura says and delete the config file. That is all you have to do. The location of the file is given below:

~/.electrum/config
sr. member
Activity: 475
Merit: 252
Do what I said earlier and it'll be fixed.

Slight correction tho, no need to delete blockchain headers, just delete the config file.

Electrum will generate a new default config file on boot.
legendary
Activity: 1302
Merit: 1008
Core dev leaves me neg feedback #abuse #political
as long as you know the 12 word seed , you can ALWAYS restore.
Not that that is a complete answer to your issue, but you should
know that.
cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
First try deleting your config file (or better just rename it)
member
Activity: 162
Merit: 10
Can anyone tell me how to un-install electrum with the linux command line. I am very new to linux sorry!!
hero member
Activity: 672
Merit: 500
Is your other computer safe? Free from malware? If you have doubts, do a clean installation or boot from a reputable linux live disc.
member
Activity: 162
Merit: 10
Ok so to reinstall I need to have the wallet file which is about 25 kb in size and I also need my list of words.With that I have nothing to worry about right?I will try on another computer I have.I feel nervous because there is alot of money there Sad
legendary
Activity: 2212
Merit: 1199
Why would this happen, why would the configuration file become corrupt?I did nothing wrong!
Sad

Shit happens :-)

Backup and reinstall.
You can send a bug report to Electrum devs :-)
member
Activity: 162
Merit: 10
Why would this happen, why would the configuration file become corrupt?I did nothing wrong!
Sad
legendary
Activity: 2212
Merit: 1199
myusername ~ $ 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.
myusername ~ $


Backup and reinstall ... :-)
member
Activity: 162
Merit: 10
myusername ~ $ 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.
myusername ~ $
cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
I think it's just electrum
member
Activity: 162
Merit: 10
What is the command to run it from the terminal? I want to try that first then I will erase the 2 files and try to restart it. I am talking about the advice to erase the 2 files and restart as mentioned above.
cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
Run it from the terminal and see what error it gives you.  Make sure you've got your 12 word seed just in case.
legendary
Activity: 2212
Merit: 1199
I have alot of money there so I am scared to reinstall. There must be some way to force it to start or diagnose it?


Tutorial:

Quote
Where is my wallet file located?
The default wallet file is called default_wallet which is created when you first run the application and located under the /wallets folder.

On Linux
Home Folder
Go > Location and type ~/.electrum



so ...  ~/.electrum/wallets/default_wallet    this is your wallet file ...

Backup whole "wallets" dir   and reinstall electrum Smiley
member
Activity: 162
Merit: 10
Thank you for all your fast responses. First I am going to backup the wallet. It is 25kb in size does that sound right? It is in a file called "wallets" and inside is one file called "Default_Wallet"

Sound good?
sr. member
Activity: 475
Merit: 252
just above the folder with your wallet file is a blockchain headers file and an electrum config file.

Delete those and restart Electrum. Don't worry, as long as you don't delete your wallet (or the wallet folder) you'll be fine.
hero member
Activity: 672
Merit: 500
I would backup wallet file as well, but will try restore from 12 word seed on another machine. If it works and balance is correct, copy the wallet file back later on.
member
Activity: 162
Merit: 10
I have alot of money there so I am scared to reinstall. There must be some way to force it to start or diagnose it?
Pages:
Jump to: