Bitcoin Forum

Bitcoin => Electrum => Topic started by: TentacleMan on June 30, 2015, 09:47:55 PM



Title: Trouble starting Electrum on Debian Linux
Post by: TentacleMan on June 30, 2015, 09:47:55 PM
Hi!

I've used Electrum before without problems but when I try to install it now on my Debian-based system I get some errors I have trouble making sense of.

Code:
Traceback (most recent call last):
  File "/usr/local/bin/electrum", line 4, in <module>
    __import__('pkg_resources').run_script('Electrum==2.4', 'electrum')
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 735, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1652, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/Electrum-2.4-py2.7.egg/EGG-INFO/scripts/electrum", line 72, in <module>
    from electrum import util
  File "/usr/local/lib/python2.7/dist-packages/Electrum-2.4-py2.7.egg/electrum/__init__.py", line 5, in <module>
    from network import Network, DEFAULT_SERVERS, DEFAULT_PORTS, pick_random_server
  File "/usr/local/lib/python2.7/dist-packages/Electrum-2.4-py2.7.egg/electrum/network.py", line 14, in <module>
    import interface
  File "/usr/local/lib/python2.7/dist-packages/Electrum-2.4-py2.7.egg/electrum/interface.py", line 29, in <module>
    import x509
  File "/usr/local/lib/python2.7/dist-packages/Electrum-2.4-py2.7.egg/electrum/x509.py", line 33, in <module>
    tlslite.utils.cryptomath.pycryptoLoaded = False
AttributeError: 'module' object has no attribute 'utils'

Any ideas about how to fix this?


Title: Re: Trouble starting Electrum on Debian Linux
Post by: ThomasV on July 01, 2015, 07:27:26 AM
what is the version of tlslite installed on your system?


Title: Re: Trouble starting Electrum on Debian Linux
Post by: TentacleMan on July 01, 2015, 07:07:23 PM
what is the version of tlslite installed on your system?

I'm still on wheezy (because my favorite distro Crunchbang shut down development) so it's the one in oldstable, version 0.3.8-2. Will switch to something else "real soon now".


Title: Re: Trouble starting Electrum on Debian Linux
Post by: TentacleMan on July 03, 2015, 10:14:34 AM
It works now, uninstalled the tlslite package that comes with wheezy and got a hold of the latest version from Github. Btw there is an error in the installation instructions for the development version on electrum . org.

Code:
pyrcc4 icons.qrc -o gui/icons_rc.py

should be

Code:
pyrcc4 icons.qrc -o gui/qt/icons_rc.py

Thanks for setting me on the right track :)