Bitcoin Forum
December 09, 2016, 07:40:21 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [26] 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 ... 96 »
  Print  
Author Topic: [ANNOUNCE] Electrum - Lightweight Bitcoin Client  (Read 243191 times)
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
May 14, 2012, 05:19:40 AM
 #501

Any idea what I'm missing here? Using python-2.7.2-5.2.fc16.x86_64

Quote
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
1481312421
Hero Member
*
Offline Offline

Posts: 1481312421

View Profile Personal Message (Offline)

Ignore
1481312421
Reply with quote  #2

1481312421
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481312421
Hero Member
*
Offline Offline

Posts: 1481312421

View Profile Personal Message (Offline)

Ignore
1481312421
Reply with quote  #2

1481312421
Report to moderator
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
May 14, 2012, 05:29:15 AM
 #502

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)


Quote
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


Quote
'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 Offline

Activity: 627


View Profile
May 14, 2012, 02:09:04 PM
 #503

Hi,

Only mnemonic code is copied when clicking on "Copy to clipboard" button (inside seed window). Please add normal seed code too.
duncant
Jr. Member
*
Offline Offline

Activity: 53


View Profile
May 14, 2012, 06:44:00 PM
 #504

"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
Hero Member
*****
Offline Offline

Activity: 756


Bitcoin Mayor of Las Vegas


View Profile WWW
May 14, 2012, 06:57:31 PM
 #505

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.

Generation Bitcoin | G+ | FB | Bitcoins In Vegas | CoinBus.com | TOR Exit Operator 1MVTPATVCKBMfALRHJsXpHfKJu7GyL7nAc
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
May 14, 2012, 06:59:12 PM
 #506

"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
Hero Member
*****
Offline Offline

Activity: 756


Bitcoin Mayor of Las Vegas


View Profile WWW
May 14, 2012, 07:02:58 PM
 #507

WHEW!! also confirmed.  keys change when you reseed the .dat again.   Shocked

Generation Bitcoin | G+ | FB | Bitcoins In Vegas | CoinBus.com | TOR Exit Operator 1MVTPATVCKBMfALRHJsXpHfKJu7GyL7nAc
duncant
Jr. Member
*
Offline Offline

Activity: 53


View Profile
May 14, 2012, 08:17:33 PM
 #508

Quote
this is indeed a display bug; a deseeded wallet should not show keys at all.

Good to know, thanks.
Haplo
Full Member
***
Offline Offline

Activity: 168



View Profile
May 14, 2012, 09:20:42 PM
 #509

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:
Code:
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
Code:
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
Hero Member
*****
Offline Offline

Activity: 756


Bitcoin Mayor of Las Vegas


View Profile WWW
May 14, 2012, 11:34:50 PM
 #510

Having trouble restoring a wallet.. it's not populating my addresses:

Quote
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]$

Generation Bitcoin | G+ | FB | Bitcoins In Vegas | CoinBus.com | TOR Exit Operator 1MVTPATVCKBMfALRHJsXpHfKJu7GyL7nAc
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
May 15, 2012, 04:38:15 AM
 #511

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
Hero Member
*****
Offline Offline

Activity: 938


View Profile
May 16, 2012, 05:24:58 AM
 #512

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'

1111127SpvabYpoeDoiz5L7QPkfiSh2Q. Only donate if you have a reason to.
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
May 16, 2012, 04:52:08 PM
 #513

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
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
May 16, 2012, 06:27:09 PM
 #514

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
Hero Member
*****
Offline Offline

Activity: 938


View Profile
May 16, 2012, 07:36:19 PM
 #515

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)


1111127SpvabYpoeDoiz5L7QPkfiSh2Q. Only donate if you have a reason to.
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
May 16, 2012, 08:24:44 PM
 #516

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
Hero Member
*****
Offline Offline

Activity: 938


View Profile
May 16, 2012, 08:30:28 PM
 #517

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.

1111127SpvabYpoeDoiz5L7QPkfiSh2Q. Only donate if you have a reason to.
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
May 16, 2012, 08:34:53 PM
 #518

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
Hero Member
*****
Offline Offline

Activity: 938


View Profile
May 16, 2012, 08:40:18 PM
 #519

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>

1111127SpvabYpoeDoiz5L7QPkfiSh2Q. Only donate if you have a reason to.
ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
May 16, 2012, 09:26:36 PM
 #520

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
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [26] 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 ... 96 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!