Pages:
Author

Topic: Electrum - Bitcoin client for the common users (friendly and instant) - page 26. (Read 110105 times)

legendary
Activity: 1120
Merit: 1016
090930
The -w param doesnt work. Electrum starts for a second then it dies. And $400 for a portable version or judging from the number of posts in that thread my wallet looks dead. Looks like i have to find a replacement. Too bad that i have to spend time now to find out how to save my previous addresses and replace them at services so that they arent used anymore at some point.

Losing wallet by update... i dont like that.

-w should work... Perhaps try again using a path without any spaces? 

Also you can try with the slush build to see if it works better for you.

My free time is now severely limited I'm afraid, but hopefully someone else will volunteer and work on portable builds.
 
But in any case you won't be "losing your wallet."
legendary
Activity: 2674
Merit: 1083
Legendary Escrow Service - Tip Jar in Profile
The -w param doesnt work. Electrum starts for a second then it dies. And $400 for a portable version or judging from the number of posts in that thread my wallet looks dead. Looks like i have to find a replacement. Too bad that i have to spend time now to find out how to save my previous addresses and replace them at services so that they arent used anymore at some point.

Losing wallet by update... i dont like that.
legendary
Activity: 1120
Merit: 1016
090930
So I'm using the new 1.5.6 client fresh from github and have a small problem.

I received a mining payment about an hour ago. I saw it listed as pending as expected. Then I closed Electrum for a while and when I cam back and started it again it shows the payment with "unknown" date still - even after I left the client open for 30 minutes. There is no details available either.

From what I understand this is dependent on some updating of the blockchain but apparently this isn't happening. After waiting this long I closed the client. Upon restart a third time it shows the datetime and has details again.

So this seems to fix it self but surely we shouldn't have to restart a few times to get details updated. It appears that there is some issue with updating pmt details while the client is running. Is something only checked/updated during start up?

(btw I'm using my new Electrum server at electrum.tk - which is using leveldb, now shows up in list).

On server log shows this, after pmt and then after client logout (I believe):
Code:
[10/12/2012-06:05:29] cache: invalidating 1..edit..relevant address here
[10/12/2012-06:05:29] blockchain: 211586 (0.218s)
[10/12/2012-06:05:29] unsubscribed 1..edit..relevant address here
[10/12/2012-06:18:18] blockchain: 211587 (0.310s)
But maybe it never gets re-subscribed or updated?

Yes, I've had this happening to me occasionally as well, with the last few versions. 
Couldn't manage to reproduce it yet.
legendary
Activity: 1120
Merit: 1016
090930
I was pleased with electrum because it was a small, fast and portable wallet. But lately i had the problem that i couldnt access my wallet because it stuck on synchronizing on all servers.
And now i start and nothing opens anymore.

I tried electrum1.5.6-flatfly.exe but this thing seems not to be portable and it wants to create a new wallet.

I dont like to lose my wallet only because something was upgraded. And i really want a portable version because i dont want to have my money stored at some place windows is wanting it at.

So is there a solution or is electrum portable dead? The worse thing is, i dont know where i gave addresses from my wallet to. At least one was asicminer. I dont want to lose money only because of some upgrades.

So what now?

If you miss the portable version, vote for it here:
  https://bitcointalk.org/index.php?topic=130473.0

Or have you tried the -w command-line parameter? It doesn't provide a fully portable solution but it could work for you.

Code:
electrum -w /path/to/my/wallet/wallet_name
legendary
Activity: 2674
Merit: 1083
Legendary Escrow Service - Tip Jar in Profile
I was pleased with electrum because it was a small, fast and portable wallet. But lately i had the problem that i couldnt access my wallet because it stuck on synchronizing on all servers.
And now i start and nothing opens anymore.

I tried electrum1.5.6-flatfly.exe but this thing seems not to be portable and it wants to create a new wallet.

I dont like to lose my wallet only because something was upgraded. And i really want a portable version because i dont want to have my money stored at some place windows is wanting it at.

So is there a solution or is electrum portable dead? The worse thing is, i dont know where i gave addresses from my wallet to. At least one was asicminer. I dont want to lose money only because of some upgrades.

So what now?
legendary
Activity: 1896
Merit: 1353
Can we still use the "old" versions of the client (e.g. 0.60)?

no, you need to upgrade, because the protocol was updated.
the new version can read your old wallet.
full member
Activity: 174
Merit: 253
Can we still use the "old" versions of the client (e.g. 0.60)?
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
So I'm using the new 1.5.6 client fresh from github and have a small problem.

I received a mining payment about an hour ago. I saw it listed as pending as expected. Then I closed Electrum for a while and when I cam back and started it again it shows the payment with "unknown" date still - even after I left the client open for 30 minutes. There is no details available either.

From what I understand this is dependent on some updating of the blockchain but apparently this isn't happening. After waiting this long I closed the client. Upon restart a third time it shows the datetime and has details again.

So this seems to fix it self but surely we shouldn't have to restart a few times to get details updated. It appears that there is some issue with updating pmt details while the client is running. Is something only checked/updated during start up?

(btw I'm using my new Electrum server at electrum.tk - which is using leveldb, now shows up in list).

On server log shows this, after pmt and then after client logout (I believe):
Code:
[10/12/2012-06:05:29] cache: invalidating 1..edit..relevant address here
[10/12/2012-06:05:29] blockchain: 211586 (0.218s)
[10/12/2012-06:05:29] unsubscribed 1..edit..relevant address here
[10/12/2012-06:18:18] blockchain: 211587 (0.310s)
But maybe it never gets re-subscribed or updated?
legendary
Activity: 1896
Merit: 1353
I'm unclear of advantage of SPV. Is it that now the client itself can verify trx and not rely on the server?
yes, the client can verify that the transactions reported by the server are in the blockchain.
so, the server cannot invent a fake transaction.
however, it can still omit a transaction

Quote
And why use a pruning server? Is that just to reduce resource use on server or does it make some difference to the client as well?

pruning servers use much less resources.
they make a difference to the client only if you restore your wallet from seed; you will not restore your entire history with a pruning server, although you will see the same balance
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
Timestamps are only unknown while the client is initializing the blockchain headers in the background (remember, Electrum now does SPV verification!) - Should take between 5 and 10 minutes.

If you want to get your full history back, try to restore from a full server (not pruning), such as Bysh.
Just tried this and it did sync but no new info has appeared. So I'm likely doing something wrong. I didn't even realize at first that the server list now shows pruning and full mode. I may try to revert to previous wallet and then update with full server.

(edit - oh, patience, the full history is coming in now. nice.)

I see timestamps are showing now.

I'm unclear of advantage of SPV. Is it that now the client itself can verify trx and not rely on the server? And why use a pruning server? Is that just to reduce resource use on server or does it make some difference to the client as well?

Thx.

(( I guess I'm going to start working on migrating some of my "enhancements" to 1.5.6 as I really want some of them again. Pull requests to come... ))
legendary
Activity: 1120
Merit: 1016
090930
Seems like some change in format of history data. All the exceptions I've been getting are related to data types not being correct on tx history data. Since my client has been working fine right up til just now I'm expecting something has changed in data from new version servers.

Does that make any sense at all?

Yeah I guess this must be it, as the protocol has evolved a lot in the last few versions (and some new minor bugs have appeared)

Quote
----
Just cloned the newest version 1.5.6 and tried this. It starts up ok. No errors.

Geez. That pruning really clears everything out. I have the right balance and right addresses but all my history of transactions are gone. And dates are all unknown. Seems it ignores all history info in the wallet and only lists what it could recover from the server. Nasty! No error messages though.
Timestamps are only unknown while the client is initializing the blockchain headers in the background (remember, Electrum now does SPV verification!) - Should take between 5 and 10 minutes.

If you want to get your full history back, try to restore from a full server (not pruning), such as Bysh.

Quote
***This is strange. If I start in Lite Gui mode then the server list on the menu has only the first letter of each server available.

Yeah I get this bug too (in Windows)

hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
Seems like some change in format of history data. All the exceptions I've been getting are related to data types not being correct on tx history data. Since my client has been working fine right up til just now I'm expecting something has changed in data from new version servers.

Does that make any sense at all?

----
Just cloned the newest version 1.5.6 and tried this. It starts up ok. No errors.

Geez. That pruning really clears everything out. I have the right balance and right addresses but all my history of transactions are gone. And dates are all unknown. Seems it ignores all history info in the wallet and only lists what it could recover from the server. Nasty! No error messages though.

***This is strange. If I start in Lite Gui mode then the server list on the menu has only the first letter of each server available.

Oh. Blast it all. I suppose I'm now in the situation of having to go rewrite all my custom edits to merge into 1.5.6. I wasn't going to do that for a while yet but this sudden loss of being able to work with the old version doesn't leave much choice.
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
Trying new wallet. Copied mine to bak file. New wallet file creates ok and syncs (but with no data). Now going to try restoring from seed but will lose imported addresses. I can manually import from my old satoshi wallet if really forced to.

edit: Egad What's going on!

Tried to restore from seed and got this:
Code:
Recovering wallet...
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/electrum/interface.py", line 434, in run
    self.start_interface()
  File "/usr/local/lib/python2.7/dist-packages/electrum/interface.py", line 425, in start_interface
    self.interface.init_socket()
  File "/usr/local/lib/python2.7/dist-packages/electrum/interface.py", line 263, in init_socket
    if self.proxy["mode"] == "none":
TypeError: 'NoneType' object has no attribute '__getitem__'

Did an updated ubuntu electrum package just get pushed from PPA? I didn't notice this morning when updates happened but perhaps some new version just overwrite my own local (modfied) one? (No. Just checked and I must have removed ppa for electrum long ago) Re-installed from my local source copy but gives same results. Totally don't understand what's happened.
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
Which server is it connecting to now? I think the response from the server is not as expected, at least that looks to be case.
Oops.Posted while you wrote. As above tried to pre-edit to skip bad server. But even with ecdsa.org seems to give erro as above.
hero member
Activity: 938
Merit: 1000
Which server is it connecting to now? I think the response from the server is not as expected, at least that looks to be case.
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
That server should not even be online, it's not running Electrum bitcoin server anymore. The server got moved to electrum.bysh.me.

That IP is still running a old version of the Electrum Litecoin server. Perhaps somehow you got Litecoin data in your Bitcoin wallet?
NO idea how it got there except I used to use it some time ago. Perhaps trying to connect to it got something corrupted? I've tried editing the wallet to remove the reference to a server but still gives an error although simpler.

Ok. Here's something else I tried. I restored my backup from 2 days ago. Then edited it to remove the server. Then started and got this traceback:

Code:
electrum
Install zbar package to enable QR scans
No servers loaded yet.
Connected to electrum.novit.ro:50001
Servers loaded.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/electrum/interface.py", line 456, in run
    self.handle_response(response)
  File "/usr/local/lib/python2.7/dist-packages/electrum/interface.py", line 406, in handle_response
    self.wallet.receive_history_callback(addr, result)
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 886, in receive_history_callback
    self.update_tx_history()
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 900, in update_tx_history
    tx_hash = tx['tx_hash']
TypeError: string indices must be integers

After that the screen still is up but stuck on sync'ing. So I changed server to ecdsa.org and exited. Checking the dat file I see new server is saved and correct. But starting again results in same error as one above.
hero member
Activity: 938
Merit: 1000
I somehow got a corrupted electrum.dat file today. I restored from a backup of two days ago and started electrum from cmd line. It gave me this error even though this file worked fine a couple days ago, and electrum worked fine this morning (hours ago).

I'm using kind of an old version, 1.0 I believe but with some of my patches. Is there some reason that today the wallet would get corrupted by a new server version or something?

Apparently I'm using electrum.bytesized-hosting.com but when I ran just now it would not sync and I tried to change servers, and restart. That's when it would not start any more. After restoring the screen opens and says "synchronizing" but this traceback is spit out in terminal.

Code:
electrum
Install zbar package to enable QR scans
No servers loaded yet.
Connected to electrum.bytesized-hosting.com:50001
Servers loaded.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/electrum/interface.py", line 456, in run
    self.handle_response(response)
  File "/usr/local/lib/python2.7/dist-packages/electrum/interface.py", line 406, in handle_response
    self.wallet.receive_history_callback(addr, result)
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 886, in receive_history_callback
    self.update_tx_history()
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 906, in update_tx_history
    line['value'] += tx['value']
KeyError: 'value'

That server should not even be online, it's not running Electrum bitcoin server anymore. The server got moved to electrum.bysh.me.

That IP is still running a old version of the Electrum Litecoin server. Perhaps somehow you got Litecoin data in your Bitcoin wallet?
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
I somehow got a corrupted electrum.dat file today. I restored from a backup of two days ago and started electrum from cmd line. It gave me this error even though this file worked fine a couple days ago, and electrum worked fine this morning (hours ago).

I'm using kind of an old version, 1.0 I believe but with some of my patches. Is there some reason that today the wallet would get corrupted by a new server version or something?

Apparently I'm using electrum.bytesized-hosting.com but when I ran just now it would not sync and I tried to change servers, and restart. That's when it would not start any more. After restoring the screen opens and says "synchronizing" but this traceback is spit out in terminal.

Code:
electrum
Install zbar package to enable QR scans
No servers loaded yet.
Connected to electrum.bytesized-hosting.com:50001
Servers loaded.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/electrum/interface.py", line 456, in run
    self.handle_response(response)
  File "/usr/local/lib/python2.7/dist-packages/electrum/interface.py", line 406, in handle_response
    self.wallet.receive_history_callback(addr, result)
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 886, in receive_history_callback
    self.update_tx_history()
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 906, in update_tx_history
    line['value'] += tx['value']
KeyError: 'value'

I then manually edited the electrum.dat to remove reference to the server - now blank. When started again I get simply:

Code:
electrum
Traceback (most recent call last):
  File "/usr/local/bin/electrum", line 127, in
    wallet.read()
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 736, in read
    self.update_tx_history()
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 906, in update_tx_history
    line['value'] += tx['value']
KeyError: 'value'

This is all very odd. Is it possible some ubuntu update came thru today that is hosing something in python? Just sudddenly cannot get into my wallet.  Cry
hero member
Activity: 742
Merit: 500
Electrum is based on 2.7 or 3.3 python?
I tried with 3.3 and it didn't compile the setup.py, error on line 16

Windows User here

python 2.7
This question seems to be asked rather a lot.  Maybe when you check for ecdsa and the other dependencies, you should check that python is 2.7.  The check in setup.py should probably be changed to only allow 2.7, too.
legendary
Activity: 1386
Merit: 1097
Stupid question: When I import privatekeys into my Electrum wallet, does that somehow affect the deterministic address generation? Will the future generated deterministic keys differ from the keys Electrum would have created if I hadn't imported other private keys?

no, imported keys are kept separately and they don't affect deterministic algorithm.
Pages:
Jump to: