Bitcoin Forum
June 15, 2024, 08:16:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: Building Armory on Raspberry Pi  (Read 9977 times)
abracadabra
Hero Member
*****
Offline Offline

Activity: 956
Merit: 1001



View Profile
March 09, 2014, 12:47:31 AM
 #41

Got the above fixed... there's stuff in the makefile that needs fixing... seems the script that makes the pypaths.txt doesn't make it right...

Anyways.. have compiled armory with no errors...
running it on the pi i get the following:

Code:
root@raspberrypi:/home/pi/Desktop/BitcoinArmoryRPi# python ArmoryQt.py
********************************************************************************
Loading Armory Engine:
   Armory Version:       0.90
   PyBtcWallet  Version: 1.35
Detected Operating system: Linux
   OS Variant            : ('debian', '7.2', '')
   User home-directory   : /root
   Satoshi BTC directory : /root/.bitcoin/
   Armory home dir       : /root/.armory/
   LevelDB directory     : /root/.armory/databases
   Armory settings file  : /root/.armory/ArmorySettings.txt
   Armory log file       : /root/.armory/armorylog.txt
(ERROR) Traceback (most recent call last):
  File "ArmoryQt.py", line 32, in <module>
    from armoryengine import *
  File "/home/pi/Desktop/BitcoinArmoryRPi/armoryengine.py", line 10916, in <module>
    from jsonrpc import ServiceProxy, authproxy
ImportError: cannot import name authproxy

Error in sys.excepthook:
Traceback (most recent call last):
  File "/home/pi/Desktop/BitcoinArmoryRPi/armoryengine.py", line 618, in logexcept_override
    sys.__excepthook__(type, value, tback)
AttributeError: 'NoneType' object has no attribute '__excepthook__'

Original exception was:
Traceback (most recent call last):
  File "ArmoryQt.py", line 32, in <module>
    from armoryengine import *
  File "/home/pi/Desktop/BitcoinArmoryRPi/armoryengine.py", line 10916, in <module>
    from jsonrpc import ServiceProxy, authproxy
ImportError: cannot import name authproxy

I have done the following:

Code:
git clone https://github.com/joshmarshall/jsonrpclib
cd jsonrpclib/
python setup.py install

Same error.
Then tried:

Code:
apt-get install bzr
bzr checkout http://bzr.json-rpc.org/trunk ; cd trunk/python-jsonrpc
sudo python setup.py install


Same error...
help is appreciated..
kay-nut
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 26, 2014, 07:55:21 PM
 #42

Anyways.. have compiled armory with no errors...
running it on the pi i get the following:

Code:
root@raspberrypi:/home/pi/Desktop/BitcoinArmoryRPi# python ArmoryQt.py
********************************************************************************
Loading Armory Engine:
   Armory Version:       0.90
   PyBtcWallet  Version: 1.35
Detected Operating system: Linux
   OS Variant            : ('debian', '7.2', '')
   User home-directory   : /root
   Satoshi BTC directory : /root/.bitcoin/
   Armory home dir       : /root/.armory/
   LevelDB directory     : /root/.armory/databases
   Armory settings file  : /root/.armory/ArmorySettings.txt
   Armory log file       : /root/.armory/armorylog.txt
(ERROR) Traceback (most recent call last):
  File "ArmoryQt.py", line 32, in <module>
    from armoryengine import *
  File "/home/pi/Desktop/BitcoinArmoryRPi/armoryengine.py", line 10916, in <module>
    from jsonrpc import ServiceProxy, authproxy
ImportError: cannot import name authproxy

Error in sys.excepthook:
Traceback (most recent call last):
  File "/home/pi/Desktop/BitcoinArmoryRPi/armoryengine.py", line 618, in logexcept_override
    sys.__excepthook__(type, value, tback)
AttributeError: 'NoneType' object has no attribute '__excepthook__'

Original exception was:
Traceback (most recent call last):
  File "ArmoryQt.py", line 32, in <module>
    from armoryengine import *
  File "/home/pi/Desktop/BitcoinArmoryRPi/armoryengine.py", line 10916, in <module>
    from jsonrpc import ServiceProxy, authproxy
ImportError: cannot import name authproxy

The packaging instructions earlier in this thread are out of date for the current BitcoinArmory version.
I have done a successful cross compile of BitcoinArmory for Raspberry Pi and will do a complete write up and post it here in a couple of days.

To fix your error you need to do the following after compiling succeeds:
Code:
mkdir -p /tmp/BitcoinArmoryRPi/img/
mkdir -p /tmp/BitcoinArmoryRPi/extras/
mkdir -p /tmp/BitcoinArmoryRPi/jsonrpc/
mkdir -p /tmp/BitcoinArmoryRPi/dialogs/


cp *.py *.so README LICENSE /tmp/BitcoinArmoryRPi/
cp img/* /tmp/BitcoinArmoryRPi/img/
cp extras/*.py /tmp/BitcoinArmoryRPi/extras/
cp jsonrpc/*.py /tmp/BitcoinArmoryRPi/jsonrpc/
cp dialogs/*.py /tmp/BitcoinArmoryRPi/dialogs/

cd /tmp
tar cvfz BitcoinArmoryRPi.tar.gz BitcoinArmoryRPi
kay-nut
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 09, 2014, 08:32:00 PM
Last edit: April 15, 2014, 08:36:06 PM by kay-nut
 #43

For those interested I did a complete write up on my blog: http://moritzpfeiffer.ch/.
Pages: « 1 2 [3]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!