Post
Topic
Board Electrum
Re: How to install last Electrum version on Android?
by
rPman
on 20/07/2014, 16:37:15 UTC
Oops, my mistake, https://pypi.python.org/pypi/ecdsa is a '(pure python) library', compilation not needed.
How i can install easy_install or pip to android?

At now, i do it by hand:
* https://pypi.python.org/packages/source/e/ecdsa/ecdsa-0.11.tar.gz - simple copy ecdsa folder from zip file to /sdcard/com.googlecode.pythonforandroid/extras/python/ but i think it's not properly method
* https://pypi.python.org/pypi/pyasn1 - copy egg file to /sdcard/Download and install it ('Import Modules' button in 'Python for Android' application)
* https://pypi.python.org/pypi/pyasn1-modules - also install from egg
* https://pypi.python.org/packages/source/t/tlslite/tlslite-0.4.6.tar.gz - also manual copy tlslite folder from zip to extras

After it, e4a.py started well, but after wallet creation dialog (both method tested - 'create' and 'restore' from seed, via qr-code) i have got a error:
Code:
AttributeError: 'OldWallet' object has no attribute 'init_seed'
full log:
Code:
dlopen libpython2.6.soelectrum directory /sdcard/electrum/
wallet path /sdcard/electrum/wallets/default_wallet
blocks: -1
saving certificate for electrum.novit.ro
connected to electrum.novit.ro 50002
saving certificate for erbium.sytes.net
connected to erbium.sytes.net 50002
switching to electrum.novit.ro:50002:s
gui callback True
saving certificate for electrum.stepkrav.pw
saving certificate for bitcoin.epicinet.net
connected to electrum.stepkrav.pw 50002
connected to bitcoin.epicinet.net 50002
saving certificate for electrum.thwg.org
connected to electrum.thwg.org 50002
gui callback True
Requesting chunk: 0
saving certificate for h.1209k.com
connected to h.1209k.com 50002
saving certificate for cube.l0g.in
connected to cube.l0g.in 50002
Traceback (most recent call last):
  File "/storage/sdcard0/sl4a/scripts/e4a-1.9.8/e4a.py", line 201, in
    gui = gui.ElectrumGui(config, network)
  File "/storage/sdcard0/sl4a/scripts/e4a-1.9.8/gui/android.py", line 904, in _
init__
    wallet.init_seed(None)
AttributeError: 'OldWallet' object has no attribute 'init_seed'

As i understand, this is a dev error, some refactoring is not completed, android.py has not been updated. (i compare some code with gtk.py, too much diffs)

p.s. https://github.com/spesmilo/electrum/issues/763