Bitcoin Forum
July 26, 2021, 06:48:32 PM *
News: Latest Bitcoin Core release: 0.21.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Armory 0.94.1 and 0.93.2 offline  (Read 844 times)
keewee
Legendary
*
Offline Offline

Activity: 1025
Merit: 1000



View Profile
July 30, 2016, 08:36:07 AM
 #1

Hi,

Version 0.94.1 and also version 0.93.2 on Ubuntu 16.04 installed from the .deb file.

I have "Armory is offline" and a button to select "Go Online!" in the middle of the window and "Connected (0 blocks)" in the bottom right corner but am unable to go online.

I have checked that bitcoind is running and I have set the correct bitcoind data directory setting in Armory (bitcoin data is on a different drive). If I close Armory, bitcoind continues to run and if I then restart Armory I get a message allowing me to kill it and let Armory restart it for me. In the tail of the log there is the following message (typically):

2016-07-30 20:18 (INFO) -- ArmoryQt.py:5887 - Dashboard switched to auto-InitSync
2016-07-30 20:18 (ERROR) -- announcefetch.py:186 - No file with ID=announce was fetched
2016-07-30 20:18 (ERROR) -- announcefetch.py:186 - No file with ID=changelog was fetched
2016-07-30 20:18 (ERROR) -- announcefetch.py:186 - No file with ID=downloads was fetched
2016-07-30 20:18 (WARNING) -- ArmoryQt.py:2005 - No Armory links in the downloads list
2016-07-30 20:18 (WARNING) -- ArmoryQt.py:2065 - No Satoshi links in the downloads list
2016-07-30 20:18 (INFO) -- ArmoryQt.py:2525 - loadBlockchainIfNecessary
2016-07-30 20:18 (ERROR) -- ArmoryQt.py:1323 - 11 attempts to load blockchain failed.  Remove mempool.bin.
2016-07-30 20:18 (ERROR) -- ArmoryQt.py:1328 - File mempool.bin does not exist. Nothing deleted.
2016-07-30 20:18 (INFO) -- ArmoryQt.py:2546 - Setting netmode: 1
2016-07-30 20:18 (ERROR) -- Traceback (most recent call last):
  File "/usr/lib/armory/ArmoryQt.py", line 7057, in method_signal
    method()
  File "/usr/lib/armory/ArmoryQt.py", line 2486, in proceedOnceBitcoindIsReady
    self.loadBlockchainIfNecessary()
  File "/usr/lib/armory/ArmoryQt.py", line 2538, in loadBlockchainIfNecessary
    TheBDM.goOnline()
  File "/usr/lib/armory/armoryengine/BDM.py", line 148, in inner
    return func(*newArgs, **kwargs)
  File "/usr/lib/armory/armoryengine/BDM.py", line 251, in goOnline
    self.bdmThread.setConfig(self.bdmConfig())
  File "/usr/lib/armory/armoryengine/BDM.py", line 148, in inner
    return func(*newArgs, **kwargs)
  File "/usr/lib/armory/armoryengine/BDM.py", line 339, in bdmConfig
    bdmConfig.blkFileLocation = blockdir
  File "/usr/lib/armory/CppBlockUtils.py", line 2203, in <lambda>
    __setattr__ = lambda self, name, value: _swig_setattr(self, BlockDataManagerConfig, name, value)
  File "/usr/lib/armory/CppBlockUtils.py", line 51, in _swig_setattr
    return _swig_setattr_nondynamic(self,class_type,name,value,0)
  File "/usr/lib/armory/CppBlockUtils.py", line 44, in _swig_setattr_nondynamic
    if method: return method(self,value)
TypeError: in method 'BlockDataManagerConfig_blkFileLocation_set', argument 2 of type 'string const &'

I have also tried disabling "Let Armory run Bitcoin-QT/bitcoind in the background" but this also stays offline, although Bitcoin-QT is running and up to date. Looking at the log file in this case it seems that Armory is still looking for the bitcoind data directory in /home/user/.bitcoin/ even though Bitcoin-QT has it's data stored on a different drive.

Can anyone suggest a solution? I can copy the whole log file if it helps...

Thanks

1keewee2vRp63UWvPBynT55ZYw6SUCKDB
1627325312
Hero Member
*
Offline Offline

Posts: 1627325312

View Profile Personal Message (Offline)

Ignore
1627325312
Reply with quote  #2

1627325312
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Carlton Banks
Legendary
*
Offline Offline

Activity: 3150
Merit: 2543



View Profile
July 30, 2016, 09:46:11 AM
 #2

Quote
TypeError: in method 'BlockDataManagerConfig_blkFileLocation_set', argument 2 of type 'string const &'

This line is interesting. Does your Bitcoin blockdata directory on the separate drive have any unusual characters in it's path?

Vires in numeris
keewee
Legendary
*
Offline Offline

Activity: 1025
Merit: 1000



View Profile
July 30, 2016, 10:39:10 AM
 #3

Quote
TypeError: in method 'BlockDataManagerConfig_blkFileLocation_set', argument 2 of type 'string const &'

This line is interesting. Does your Bitcoin blockdata directory on the separate drive have any unusual characters in it's path?

Nope, it's pretty straightforward: /media/user/Data1/Bitcoin

1keewee2vRp63UWvPBynT55ZYw6SUCKDB
Carlton Banks
Legendary
*
Offline Offline

Activity: 3150
Merit: 2543



View Profile
July 30, 2016, 11:20:58 AM
 #4

What does .armory/ArmorySettings.txt have as a value for the "Last Directory" and "Satoshi DataDir" fields?

Vires in numeris
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 2940
Merit: 1206

Armory Developer


View Profile
July 30, 2016, 11:21:49 AM
 #5

It's choking on the path. It either doesn't exist, Armory can't extend it (it needs the /blocks path), or the user spawning Armory lacks the privileges to read its content.

keewee
Legendary
*
Offline Offline

Activity: 1025
Merit: 1000



View Profile
July 30, 2016, 02:06:29 PM
 #6

I've worked out the problem. My Armory data directory is on the other drive too and I had it linked into the .armory directory in my home folder. Running Armory from the command line with the -datadir option fixes the problem. What's odd is that I'm sure this arrangement worked with a previous version because I didn't have space on my SSD when I caught up the Armory data with the blockchain. It hadn't been run for quite some time too.

Anyway, all is well. I'll just modify my .desktop file with the command line options. Thanks for helping me out.

1keewee2vRp63UWvPBynT55ZYw6SUCKDB
Carlton Banks
Legendary
*
Offline Offline

Activity: 3150
Merit: 2543



View Profile
July 30, 2016, 03:15:36 PM
 #7

a wise man once said: "if it doesn't work on the command line, it's broke" Smiley

Vires in numeris
Pages: [1]
  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!