Bitcoin Forum

Bitcoin => Armory => Topic started by: successcouncil on December 16, 2020, 07:14:00 PM



Title: Ubuntu 18.04 Armory Error log. Help please
Post by: successcouncil on December 16, 2020, 07:14:00 PM
bitcoin qt is running and I launch armory from terminal at get this error.  Any help is greatly appreciated.

Gtk-Message: 13:07:03.799: Failed to load module "canberra-gtk-module"
/home/bob
(ERROR) ArmoryUtils.py:1262 - Error getting system details:
Traceback (most recent call last):
  File "/usr/lib/armory/armoryengine/ArmoryUtils.py", line 1260, in <module>
    SystemSpecs = GetSystemDetails()
  File "/usr/lib/armory/armoryengine/ArmoryUtils.py", line 1255, in GetSystemDetails
    out.HddAvailB = getHddSize(BTC_HOME_DIR)    / (1024**3)
  File "/usr/lib/armory/armoryengine/ArmoryUtils.py", line 1252, in getHddSize
    s = os.statvfs(adir)
OSError: [Errno 2] No such file or directory: '/home/bob/.bitcoin'
(ERROR) ArmoryUtils.py:1263 - Skipping.
(ERROR) ArmoryUtils.py:3735 - Unsupported language  specified. Defaulting to English (en)
/usr/lib/armory/armoryengine/Transaction.py:3126: SyntaxWarning: import * only allowed at module level
  def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals):
No systemtrayicon available
(ERROR) BDM.py:268 - setSatoshiDir: directory does not exist: /home/bob/.bitcoin
(ERROR) ArmoryQt.py:1862 - Failed to setup SDM
Traceback (most recent call last):
  File "/usr/bin/../lib/armory/ArmoryQt.py", line 1857, in startBitcoindIfNecessary
    TheSDM.setupSDM(extraExeSearch=self.satoshiExeSearchPath)
  File "/usr/lib/armory/SDM.py", line 190, in setupSDM
    if self.failedFindExe:  raise self.BitcoindError, 'bitcoind not found'
BitcoindError: bitcoind not found
(ERROR) BDM.py:268 - setSatoshiDir: directory does not exist: /home/bob/.bitcoin
(WARNING) SDM.py:402 - Spawning DB with command: ArmoryDB --db-type="DB_FULL" --cookie --satoshi-port=8333 --datadir="/home/bob/.armory/" --dbdir="/home/bob/.armory/databases"
Illegal instruction (core dumped)



Title: Re: Ubuntu 18.04 Armory Error log. Help please
Post by: goatpig on December 17, 2020, 12:52:01 AM
Turn off auto bitcoind in the File -> Settings menu.


Title: Re: Ubuntu 18.04 Armory Error log. Help please
Post by: successcouncil on December 17, 2020, 04:27:25 AM
Turn off auto bitcoind in the File -> Settings menu.

In Armory?  The app never loads.  It aborts within seconds.   Any other ideas?


Title: Re: Ubuntu 18.04 Armory Error log. Help please
Post by: nc50lc on December 17, 2020, 07:52:33 AM
In Armory?  The app never loads.  It aborts within seconds.   Any other ideas?
Go to Armory's data directory and find a file named: ArmorySettings.txt
Open that using a text editor and find "ManageSatoshi", change "True" into "False".

Since you're also using 'Bitcoin-qt' instead of 'bitcoind', you might need to add server=1 to your bitcoin.conf file in bitcoin's datadir.


Title: Re: Ubuntu 18.04 Armory Error log. Help please
Post by: successcouncil on December 17, 2020, 03:51:52 PM
Okay  did the armory settings part and added ManageSatoshi set to false.
I also pointed to the external hard drive for both Armory and bitcoin in the command line with this command
armory --satoshi-datadir="/media/bob/Backup Plus/bitcoin" --datadir="/media/bob/Backup Plus/Armory"

And have drastically reduced the errors but I am still not spawning the app.  Here is the error message.  Any ideas?

Gtk-Message: 09:45:58.533: Failed to load module "canberra-gtk-module"
(ERROR) ArmoryUtils.py:3735 - Unsupported language  specified. Defaulting to English (en)
/usr/lib/armory/armoryengine/Transaction.py:3126: SyntaxWarning: import * only allowed at module level
  def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals):
Illegal instruction (core dumped)


Title: Re: Ubuntu 18.04 Armory Error log. Help please
Post by: goatpig on December 17, 2020, 06:52:39 PM
What CPU are you using? I'm guessing it's old. Install the noasm version and try again. I suggest you avoid spaces in your paths too.


Title: Re: Ubuntu 18.04 Armory Error log. Help please
Post by: successcouncil on December 17, 2020, 08:30:18 PM
Where does one find the NOASM version?


Title: Re: Ubuntu 18.04 Armory Error log. Help please
Post by: bob123 on December 17, 2020, 09:18:13 PM
Where does one find the NOASM version?

You can download it from the Releases section on github (https://github.com/goatpig/BitcoinArmory/releases/tag/v0.96.5).

What CPU are you using?
Are you trying to run armory on your desktop pc? Or a small mini computer (e.g. raspberry pi) ?


Title: Re: Ubuntu 18.04 Armory Error log. Help please
Post by: HCP on December 18, 2020, 07:03:45 PM
Never seen that GTK Error before either... if that is still showing when you try the NOASM version, then there might be an issue with the Ubuntu install (missing libraries? ???)


Title: Re: Ubuntu 18.04 Armory Error log. Help please
Post by: goatpig on December 18, 2020, 07:24:00 PM
This is typically when the progress bars are passed a value that is below 0 or above 100. Floating point rounding will do that near 100%.