Pages:
Author

Topic: [ANNOUNCE] Electrum - Lightweight Bitcoin Client - page 72. (Read 274591 times)

legendary
Activity: 1896
Merit: 1353
Ok after a few weeks of downtime I just got electrum 0.43c-2 running, and then quickly saw that there was a new version. Updated to 0.49 and now I get this:

Code:
localhost Electrum-0.49 # electrum
python-ecdsa does not seem to be installed. Try 'sudo easy_install ecdsa'

and then

Code:
localhost Electrum-0.49 # easy_install ecdsa
Processing ecdsa
error: Couldn't find a setup script in ***/Electrum-0.49/ecdsa

Running up to date gentoo. easy_install ecdsa gave me the same thing with 0.43c-2, but electrum seemed to run fine anyway, and connected to the server well enough to tell me there was a new version. 0.49, on the other hand, does not.

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

Quote
Also, is the gtk frontend still supported? I haven't gotten far enough to tell, but I no longer see any such option mentioned.

yes it is:
Code:
electrum -g gtk
however, the gtk gui is not as feature rich as the qt gui.
full member
Activity: 168
Merit: 100
Try this:
Code:
easy_install http://pypi.python.org/pypi/ecdsa

might need this too:

Code:
easy_install http://pypi.python.org/pypi/slowaes

Code:
localhost Electrum-0.49 # easy_install http://pypi.python.org/pypi/ecdsa
Downloading http://pypi.python.org/pypi/ecdsa
error: Can't download http://pypi.python.org/pypi/ecdsa: 404 Not Found ()

x.x
legendary
Activity: 1120
Merit: 1016
090930
What is/Is there a procedure for importing qt client wallet.dat files into the electrum wallet?

You can do it in a couple steps, using the pywallet.py tool to export all private keys from the wallet.dat and then import them into electrum. I'm not aware of a simpler way.
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
Try this:
Code:
easy_install http://pypi.python.org/pypi/ecdsa

might need this too:

Code:
easy_install http://pypi.python.org/pypi/slowaes
full member
Activity: 168
Merit: 100
Ok after a few weeks of downtime I just got electrum 0.43c-2 running, and then quickly saw that there was a new version. Updated to 0.49 and now I get this:

Code:
localhost Electrum-0.49 # electrum
python-ecdsa does not seem to be installed. Try 'sudo easy_install ecdsa'

and then

Code:
localhost Electrum-0.49 # easy_install ecdsa
Processing ecdsa
error: Couldn't find a setup script in ***/Electrum-0.49/ecdsa

Running up to date gentoo. easy_install ecdsa gave me the same thing with 0.43c-2, but electrum seemed to run fine anyway, and connected to the server well enough to tell me there was a new version. 0.49, on the other hand, does not.

Also, is the gtk frontend still supported? I haven't gotten far enough to tell, but I no longer see any such option mentioned.
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
What is/Is there a procedure for importing qt client wallet.dat files into the electrum wallet?
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
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
    import pkg_resources
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2707, in
    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
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
Just tested the new functions, syncing a seedless file, and spending to a completely off-line wallet. Now I'm waiting for some confirmations to clear and will try creating an off-line transaction and broadcasting it to the network.

This client is definitely going in the direction I want/need. While I like the advanced features of Armory, Electrum has very little system requirements and all the off-line functionality I could ask for.

Send another 2 BTC to help out. (6defa05600a1b71b4ad7537ede991f1f9f442422fc3a1caec62879a118958398)

Fantastic job!
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
Feature request for down the road...

When displaying Bitcoin addresses, can the display break it up into 5 character groups separated by a '-' and the input functions strip out any non-Base58 characters?

I think this would go a LONG way to making bitcoin easier and accurate to use with more confidence if all clients implemented this.

Code:
17gTg-uqd23-5S5rx-3pDJU-ZH6tW-S7KLQ-Nmyh
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
Requests to help with automation...

'deseed' saves the seed in the same 2 column format as 'electrum seed'. Also, there is a 'are you sure' prompt. Could this be removed or a '-batch' option be passed to bypass interactive prompts?

'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'.
legendary
Activity: 1896
Merit: 1353
New release: version 0.49

Changes:
* new commands: 'deseed' and 'reseed'
* new command-line option to run a command offline: -o or --offline
* the GUI displays seedless wallets without the send tab, and without seed and password buttons


This new version is intended to facilitate the use of offline wallets.

* 'deseed' removes the seed from a wallet and stores it to a separate file.
* 'reseed' does the reverse.

An example of how to use the new commands is provided here:
https://en.bitcoin.it/wiki/Electrum#Offline_wallet

legendary
Activity: 1896
Merit: 1353
Unfortunately, my offline computer for this is an old netbook that does not have video chipset support so it's tui only.

Also, on the wiki, I cleaned up the list of commands (alphabetized) and added those new seed commands.

ok, I added a new option for the command line: -o or --offline
as the name says, it performs the requested command without opening a connection;
so you can do:
Code:
electrum restore -w mywallet -o

this new option should work with all commands but I have not tested all the possible interactions.
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
Unfortunately, my offline computer for this is an old netbook that does not have video chipset support so it's tui only.

Also, on the wiki, I cleaned up the list of commands (alphabetized) and added those new seed commands.
legendary
Activity: 1896
Merit: 1353
Trying to restore a wallet on an off-line computer and failing. I see that being online is currently listed as a requirement, but is there any way this can be changed? I would think restoring from a passphrase would definitely want to be done from an off-line computer.

you are right. the inline command 'restore' will fail if you are not connected.
I will try to fix that.

in the meantime, here is a workaround: use the GUI, and close the window that stalls saying 'please wait'.
it will create a wallet that you can later synchronize online.


note: I just added two new commands for manipulating  offline wallets: deseed and reseed. (see the wiki)
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
Trying to restore a wallet on an off-line computer and failing. I see that being online is currently listed as a requirement, but is there any way this can be changed? I would think restoring from a passphrase would definitely want to be done from an off-line computer.
legendary
Activity: 1896
Merit: 1353
I found a minor bug in versions 0.48 and 0.48a:
the client does not correctly reconnect after the user modifies the server in the network dialog.

I just released 0.48b where that problem is fixed.
Sorry for the inconvenience.
legendary
Activity: 1120
Merit: 1016
090930
In lines 100 & 244 in electrum file:
 shouldn't it be "from electrum import mnemonic"?

Otherwise I get the below error:
 ImportError: No module named mnemonic
oh you're right, I forgot those instances. sorry.
(fixed in 0.48a)

OK thanks!
legendary
Activity: 1896
Merit: 1353
In lines 100 & 244 in electrum file:
 shouldn't it be "from electrum import mnemonic"?

Otherwise I get the below error:
 ImportError: No module named mnemonic
oh you're right, I forgot those instances. sorry.
(fixed in 0.48a)
legendary
Activity: 1120
Merit: 1016
090930
In lines 100 & 244 in electrum file:
 shouldn't it be "from electrum import mnemonic"?

Otherwise I get the below error:
 ImportError: No module named mnemonic
legendary
Activity: 1120
Merit: 1016
090930
Are you sure about the Electrum module in 0.48? Shouldn't it be lib?

the 'lib' directory is installed as a python package with the name 'electrum'
I think you should be able to install it as a package in windows (run "python setup.py install" )

if you cannot do this, I guess you'll need to call 'lib'

Thanks, I will try that

Couldn't do it using setup.py (too many dependencies missing, no time to fix that now)
so I will just call lib for now...
Pages:
Jump to: