Bitcoin Forum

Bitcoin => Armory => Topic started by: asdf4321 on July 25, 2014, 02:34:05 AM



Title: Raspberry Pi troubles
Post by: asdf4321 on July 25, 2014, 02:34:05 AM
Hi,
   I can't seem to run "Install_DblClick_RunInTerminal.py" on raspbian from armory_0.91.2-rc1_rpi_bundle.tar.gz downloaded through armory secure downloader.

Code:
python Install_DblClick_RunInTerminal.py
No installer found!
Trying to to install an updated offline armory wallet so I don't have to have an additional armory install on my main pc just to sign a tx from an earlier armory version on the pi.

Any ideas? Or just go the cross compiling route?


Title: Re: Raspberry Pi troubles
Post by: etotheipi on July 25, 2014, 03:03:00 AM
Hi,
   I can't seem to run "Install_DblClick_RunInTerminal.py" on raspbian from armory_0.91.2-rc1_rpi_bundle.tar.gz downloaded through armory secure downloader.

Code:
python Install_DblClick_RunInTerminal.py
No installer found!
Trying to to install an updated offline armory wallet so I don't have to have an additional armory install on my main pc just to sign a tx from an earlier armory version on the pi.

Any ideas? Or just go the cross compiling route?


I haven't tested this in a while, but I'm not sure why you'd get that error unless you moved the .py file outside of the unpacked directory.  It only displays that error if there are no files in the unpack directory that start with "armory_".    When I unpack it, I see about 30 deb files and "armory_0.91.2-rc1_raspbian-armhf.tar.gz".  Do you see something different?

P.S. - that .tar.gz file has everything you need.  That install script basically only executes 3 commands:

Code:
sudo dpkg -i *.deb
sudo tar -zxf armory_0.91.2-rc1_raspbian-armhf.tar.gz -C /
<another command to write the desktop file>

Technically, you can run the first two yourself, and then manually start it from the terminal.


Title: Re: Raspberry Pi troubles
Post by: asdf4321 on July 25, 2014, 03:11:16 AM
It's in the same directory as the other 30 extracted files. I'll give that a shot


Title: Re: Raspberry Pi troubles
Post by: asdf4321 on July 25, 2014, 03:53:40 AM
Alright, got it going. Did it just like you suggested. Thank you!


Title: Re: Raspberry Pi troubles
Post by: etotheipi on July 25, 2014, 04:20:09 AM
Alright, got it going. Did it just like you suggested. Thank you!

Glad to see it worked.  Still kind of curious why it failed.  Perhaps the .py file was in the right place, but you ran it from a different directory?  Such as "python OfflineBundle/Install.py" (instead of cd'ing to the directory and running it there).  I wrote the install script assuming it was executing from the same directory the script is in.  Easy enough to modify the script to fix that though...

If you want a desktop icon, simply create /home/<user>/Desktop/armory.desktop:

Code:
[Desktop Entry]
Type=Application
Name=Armory
GenericName=Bitcoin Wallet
Comment=Advanced Bitcoin Wallet Management
Icon=/usr/share/armory/img/armory_icon_32x32.png
Exec=/usr/bin/python /usr/lib/armory/ArmoryQt.py
Terminal=False


Title: Re: Raspberry Pi troubles
Post by: Raize on July 28, 2014, 12:31:19 AM
Out of curiosity, I have a Raspberry Pi with the 256mb of RAM instead of 512. Would an offline Armory still run on this one?


Title: Re: Raspberry Pi troubles
Post by: goatpig on July 28, 2014, 12:42:19 AM
Out of curiosity, I have a Raspberry Pi with the 256mb of RAM instead of 512. Would an offline Armory still run on this one?

It uses about 50MB RAM on its own, plus whatever your wallets' kdf is set at, assuming you encrypted it and will use your pi to decrypt it.