Bitcoin Forum

Bitcoin => Electrum => Topic started by: globe-biz on July 14, 2014, 04:51:17 PM



Title: Can not open electrum wallet in linux....scared to know why
Post by: globe-biz on July 14, 2014, 04:51:17 PM
Hello, today I am trying to open my electrum wallet and it will not open nothing happens. I am using a linux system so I do not think it is a virus or anything but I am worried that something bad has happened. Can anyone advise me?



Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: roslinpl on July 14, 2014, 04:54:23 PM
Hello, today I am trying to open my electrum wallet and it will not open nothing happens. I am using a linux system so I do not think it is a virus or anything but I am worried that something bad has happened. Can anyone advise me?



Try to reinstall? Just mind where you keep your wallet file ... backup it... remove electrum .. download newest package .. run it again..

Simple advice but might work :)


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: globe-biz on July 14, 2014, 04:56:56 PM
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?


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: PolarPoint on July 14, 2014, 04:58:21 PM
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.


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: dabura667 on July 14, 2014, 05:03:48 PM
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.


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: globe-biz on July 14, 2014, 05:09:27 PM
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?


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: roslinpl on July 14, 2014, 05:10:47 PM
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 :)


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: cp1 on July 14, 2014, 05:14:49 PM
Run it from the terminal and see what error it gives you.  Make sure you've got your 12 word seed just in case.


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: globe-biz on July 14, 2014, 05:16:28 PM
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.


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: cp1 on July 14, 2014, 05:18:59 PM
I think it's just electrum


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: globe-biz on July 14, 2014, 05:25:45 PM
myusername ~ $ electrum
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.
myusername ~ $


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: roslinpl on July 14, 2014, 05:34:26 PM
myusername ~ $ electrum
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.
myusername ~ $


Backup and reinstall ... :-)


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: globe-biz on July 14, 2014, 05:45:01 PM
Why would this happen, why would the configuration file become corrupt?I did nothing wrong!
:(


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: roslinpl on July 14, 2014, 05:49:00 PM
Why would this happen, why would the configuration file become corrupt?I did nothing wrong!
:(

Shit happens :-)

Backup and reinstall.
You can send a bug report to Electrum devs :-)


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: globe-biz on July 14, 2014, 06:01:05 PM
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 :(


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: PolarPoint on July 14, 2014, 06:12:51 PM
Is your other computer safe? Free from malware? If you have doubts, do a clean installation or boot from a reputable linux live disc.


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: globe-biz on July 14, 2014, 06:51:54 PM
Can anyone tell me how to un-install electrum with the linux command line. I am very new to linux sorry!!


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: cp1 on July 14, 2014, 07:23:58 PM
First try deleting your config file (or better just rename it)


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: jonald_fyookball on July 15, 2014, 03:32:34 AM
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.


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: dabura667 on July 15, 2014, 03:36:57 AM
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.


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: Abdussamad on July 15, 2014, 04:37:35 AM
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


Title: Re: Can not open electrum wallet in linux....scared to know why
Post by: TheSmackDown on October 27, 2015, 03:57:20 PM
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 <module>
    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'