ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
May 14, 2012, 05:19:40 AM |
|
Any idea what I'm missing here? Using python-2.7.2-5.2.fc16.x86_64 Traceback (most recent call last): File "/usr/bin/electrum", line 4, in <module> import pkg_resources File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2707, in <module> working_set.require(__requires__) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: Electrum==0.49
no idea.. how did that happen?
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
|
|
|
|
|
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
May 14, 2012, 05:29:15 AM |
|
Requests to help with automation... 'deseed' saves the seed in the same 2 column format as 'electrum seed'.
the 2 columns are just 2 ways to represent the same information. if it has to be consistent with 'electrum seed', I guess it is better to change 'electrum seed' instead For example, we could add an option to print the seed as hexadecimal, and the default would be mnemonic (or the reverse) Also, there is a 'are you sure' prompt. Could this be removed or a '-batch' option be passed to bypass interactive prompts?
yes, I think it could be an option 'reseed' looks like it is expecting the wallet seed input file to be 'electrum.dat.seed'. It would probably be better if it simply appended '.seed' to whatever was specified with '-w'.
but this is already how 'reseed' works: it appends '.seed' to the wallet name (whether specified with -w or default). or did I miss something? thanks for the donation, btw.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
minimalB
Donator
Hero Member
Offline
Activity: 674
Merit: 522
|
|
May 14, 2012, 02:09:04 PM |
|
Hi,
Only mnemonic code is copied when clicking on "Copy to clipboard" button (inside seed window). Please add normal seed code too.
|
|
|
|
duncant
Newbie
Offline
Activity: 53
Merit: 0
|
|
May 14, 2012, 06:44:00 PM |
|
"electrum deseed" followed by "electrum addresses -k" still displays secret keys. Doesn't this mean that a deseeded wallet can still send bitcoins from the addresses it contains? That kinda defeats the purpose of an offline wallet.
|
|
|
|
Tuxavant
|
|
May 14, 2012, 06:57:31 PM |
|
confirmed.
How the heck is it doing that? I don't see anything in the .dat file that could be used to provide that information - unless it's coming from master_public_key... which would be bad.
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
May 14, 2012, 06:59:12 PM |
|
"electrum deseed" followed by "electrum addresses -k" still displays secret keys. Doesn't this mean that a deseeded wallet can still send bitcoins from the addresses it contains? That kinda defeats the purpose of an offline wallet.
no, the keys that are displayed in that case are derived from the empty seed. they are not the private keys of your wallet. this is indeed a display bug; a deseeded wallet should not show keys at all.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
Tuxavant
|
|
May 14, 2012, 07:02:58 PM |
|
WHEW!! also confirmed. keys change when you reseed the .dat again.
|
|
|
|
duncant
Newbie
Offline
Activity: 53
Merit: 0
|
|
May 14, 2012, 08:17:33 PM |
|
this is indeed a display bug; a deseeded wallet should not show keys at all. Good to know, thanks.
|
|
|
|
Haplo
|
|
May 14, 2012, 09:20:42 PM |
|
I see. easy_install is confused is because you are calling it from the electrum directory, where there is already an ecdsa directory The easiest way to deal with this is probably to reinstall Electrum from scratch, with the pip command, as stated on the Electrum webpage. Remove your current Electrum-0.49 directory, and type: sudo pip install http://ecdsa.org/electrum/Electrum-latest.tar.gz It should install everything. Another solution is to install ecdsa and aes using pip, instead of easy_install sudo pip install ecdsa sudo pip install slowaes
Ok, now that I know what pip is, I got it to work. Apparently the ecdsa part of the current electrum package is broken, but if I install it separately with pip then everything works.
|
I'm So Meta, Even This Acronym
|
|
|
Tuxavant
|
|
May 14, 2012, 11:34:50 PM |
|
Having trouble restoring a wallet.. it's not populating my addresses: 2012-05-14:1624 PDT [tux@powerball .electrum]$ ls total 12K drwxrwxr-x. 2 tux tux 4.0K 2012-05-14 16:23 . drwx------. 37 tux tux 4.0K 2012-05-14 12:05 .. -rw-rw-r--. 1 tux tux 32 2012-05-14 16:14 my.seed
2012-05-14:1624 PDT [tux@powerball .electrum]$ cat my.seed 20ad8bafa8c3a51cce122eeafa53a1c8
2012-05-14:1624 PDT [tux@powerball .electrum]$ electrum -o restore Password (hit return if you do not wish to encrypt your wallet): server (default:electrum.novit.ro): port (default:50001): protocol [t=tcp;h=http;n=native] (default:t): fee (default:0.001): gap limit (default 5): seed:20ad8bafa8c3a51cce122eeafa53a1c8 Wallet saved in 'None'
2012-05-14:1624 PDT [tux@powerball .electrum]$ cat electrum.dat {'change_addresses': [], 'fee': 100000, 'addresses': [], 'master_public_key': 'b6dc08f6999bf78a3f30a1e70e6972694569792be4367c02f5e2d254e9ad0555011d1e888c81bbd e05487cdcd7abb5456bfaae5b3ae24802070a7d54aac5114e', 'use_encryption': False, 'labels': {}, 'contacts': [], 'server': 'electrum.novit.ro:50001:t', 'num_zeros': 0, 'seed': '20ad8bafa8c3a51cce122eeafa53a1c8', 'frozen_addresses': [], 'imported_keys': {}, 'authorities': {}, 'seed_version': 4, 'aliases': {}, 'receipts': {}, 'history': {}} 2012-05-14:1624 PDT [tux@powerball .electrum]$
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
May 15, 2012, 04:38:15 AM |
|
Having trouble restoring a wallet.. it's not populating my addresses:
this is because you restored with the -o option it will create the addresses when you go online
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
flatfly
Legendary
Offline
Activity: 1078
Merit: 1011
760930
|
|
May 16, 2012, 05:24:58 AM |
|
Hi,
I've had the below issue several times the last few days, when trying to make a payment. When I get this error, the payment doesn't go through. Strangely, the only thing I have found to be effective when this happens is rebuilding the wallet file! It doesn't seem to be related to a specific release - I've tried the last 4 and all give me the same problem.
The only thing that has changed for me in the last few days is a slightly larger wallet balance, but I'm not sure if this has anything to do with it. Any ideas?
Connected to ecdsa.org:50001 Traceback (most recent call last): File "%AppData%\Electrum-P\R048b\C_\ElectrumPY\lib\gui_qt.py", line 463, in do_send self.show_message(e.message) File "%AppData%\Electrum-P\R048b\C_\ElectrumPY\lib\gui_qt.py", line 828, in show_message QMessageBox.information(self, 'Message', msg, 'OK') TypeError: arguments did not match any overloaded call: QMessageBox.information(QWidget, QString, QString, QMessageBox.StandardButtons buttons=QMessageBox.Ok, QMessageBox.StandardButton defaultButton=QMessageBox.No Button): argument 3 has unexpected type 'Error' QMessageBox.information(QWidget, QString, QString, int, int button1=0, int button2=0): argument 3 has unexpected type 'Error' QMessageBox.information(QWidget, QString, QString, QString, QString button1Text=QString(), QString button2Text=QString(), int defaultButtonNumber=0, int escapeButtonNumber=-1): argument 3 has unexpected type 'Error'
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
May 16, 2012, 04:52:08 PM Last edit: May 16, 2012, 05:21:16 PM by ThomasV |
|
Hi,
I've had the below issue several times the last few days, when trying to make a payment. When I get this error, the payment doesn't go through. Strangely, the only thing I have found to be effective when this happens is rebuilding the wallet file! It doesn't seem to be related to a specific release - I've tried the last 4 and all give me the same problem.
The only thing that has changed for me in the last few days is a slightly larger wallet balance, but I'm not sure if this has anything to do with it. Any ideas?
Connected to ecdsa.org:50001 Traceback (most recent call last): File "%AppData%\Electrum-P\R048b\C_\ElectrumPY\lib\gui_qt.py", line 463, in do_send self.show_message(e.message) File "%AppData%\Electrum-P\R048b\C_\ElectrumPY\lib\gui_qt.py", line 828, in show_message QMessageBox.information(self, 'Message', msg, 'OK') TypeError: arguments did not match any overloaded call: QMessageBox.information(QWidget, QString, QString, QMessageBox.StandardButtons buttons=QMessageBox.Ok, QMessageBox.StandardButton defaultButton=QMessageBox.No Button): argument 3 has unexpected type 'Error' QMessageBox.information(QWidget, QString, QString, int, int button1=0, int button2=0): argument 3 has unexpected type 'Error' QMessageBox.information(QWidget, QString, QString, QString, QString button1Text=QString(), QString button2Text=QString(), int defaultButtonNumber=0, int escapeButtonNumber=-1): argument 3 has unexpected type 'Error'
it is failing to display an error message. this message might be caused by an invalid destination address, or an insufficient balance. can you try to send to an invalid address and tell me if you get the same error?
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
May 16, 2012, 06:27:09 PM |
|
I've had the below issue several times the last few days, when trying to make a payment.
I released a bugfix version, 0.49a it should display the error message properly. let me know.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
flatfly
Legendary
Offline
Activity: 1078
Merit: 1011
760930
|
|
May 16, 2012, 07:36:19 PM |
|
Hi Thomas, thanks for that new release. Indeed, I am able to get a readable error message now. (The test address in the below screenshot is the ECDSA node, copy-pasted)
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
May 16, 2012, 08:24:44 PM |
|
are there imported keys in your wallet? (I am asking this because you reported that the bug does not occur right after you regenerate the wallet)
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
flatfly
Legendary
Offline
Activity: 1078
Merit: 1011
760930
|
|
May 16, 2012, 08:30:28 PM |
|
are there imported keys in your wallet? (I am asking this because you reported that the bug does not occur right after you regenerate the wallet)
Yes, I do have one imported key. In my tests, problems usually don't begin right after the import, more like a few hours (or transactions, not sure) afterwards.
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
May 16, 2012, 08:34:53 PM |
|
ok, use the command line, and generate the same transaction with mktx. there will be a traceback. post it here.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
flatfly
Legendary
Offline
Activity: 1078
Merit: 1011
760930
|
|
May 16, 2012, 08:40:18 PM |
|
ok, use the command line, and generate the same transaction with mktx. there will be a traceback. post it here.
There you go: python electrum mktx -f 0.001 19mP9FKrXqL46Si58pHdhGKow88SUPy1V8 0.002 Password: Traceback (most recent call last): File "electrum", line 416, in <module> fee = options.tx_fee, change_addr = change_addr, from_addr = from_addr ) File "%AppData%\Electrum-P\R049\C_\ElectrumPY\electrum\wallet.py", line 782, in mktx s_inputs = self.sign_inputs( inputs, outputs, password ) File "%AppData%\Electrum-P\R049\C_\ElectrumPY\electrum\wallet.py", line 679, in sign_inputs private_key = ecdsa.SigningKey.from_string( self.get_private_key(addr, password), curve = SECP256k1 ) File "%AppData%\Electrum-P\R049\C_\ElectrumPY\electrum\wallet.py", line 384, in get_private_key b = self.pw_decode( self.imported_keys[address], password ) File "%AppData%\Electrum-P\R049\C_\ElectrumPY\electrum\wallet.py", line 698, in pw_decode d = DecodeAES(secret, s) File "%AppData%\Electrum-P\R049\C_\ElectrumPY\electrum\wallet.py", line 153, in <lambda> DecodeAES = lambda secret, e: aes.decryptData(secret, base64.b64decode(e)) File "%AppData%\Electrum-P\R049\C_\Python27\lib\base64.py", line 76, in b64decode raise TypeError(msg) TypeError: Incorrect padding None FFLY_VM>
|
|
|
|
ThomasV (OP)
Moderator
Legendary
Offline
Activity: 1896
Merit: 1353
|
|
May 16, 2012, 09:26:36 PM |
|
there is a problem with one of your imported keypairs; the program fails to decrypt its private key.
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
|