Pages:
Author

Topic: Armory hangs on "Organizing Blockchain" (>12h). Grateful for any help. - page 2. (Read 1461 times)

legendary
Activity: 2338
Merit: 5297
Self-proclaimed Genius
Any help or pointers would be most appreciated!
The pointers should be in the logs like goatpig requested in the previous replies.

"armorycpplog.txt" is in Armory's datadir; default paths: btcarmory.com/docs/pathing#armorydb
newbie
Activity: 16
Merit: 0
Hi,

I am experiencing a similar problem: Armory hangs apparently endlessly in the "organizing blockchain"
stage, and never completes despite being run all day.

I am running BitcoinCore 0.21.1 and Armory 0.96.5.

This combination worked fine for me previously, but now something somewhere must have changed.
(I am thinking maybe from sudo apt-get update and upgrade etc.)

The only new clue (perhaps) as to what has changed is I get a new error message when I try
to quit the hung instance of Armory. This new error message says:

"ArmoryQt.py is not responding"
 
Any help or pointers would be most appreciated!

Thanks much,
Cobbler7
newbie
Activity: 14
Merit: 0
-ERROR - 1455537157: (BlockWriteBatcher.cpp:980) No block in DB at height 195803
-INFO  - 1455537160: (BlockUtils.cpp:1518) Scanned Block range in 411.828s

That's your error. Your copy of the blockchain is corrupt, you need to redownload it.

Just to say this worked, and everything is good now. Thanks a lot for your help.
newbie
Activity: 14
Merit: 0
OK.  Have deleted (actually moved) contents of .bitcoin folder - assuming will all be recreated when restart bitcoin-qt.  Rebuilding now and looks like it's going ok. 

Thanks a lot for your help.

legendary
Activity: 3640
Merit: 1345
Armory Developer
-ERROR - 1455537157: (BlockWriteBatcher.cpp:980) No block in DB at height 195803
-INFO  - 1455537160: (BlockUtils.cpp:1518) Scanned Block range in 411.828s

That's your error. Your copy of the blockchain is corrupt, you need to redownload it.
newbie
Activity: 14
Merit: 0
I have deleted contents of .armory/databases/, and restarted Armory.  Currently "organizing blockchain" as before.

The armorycpplog.txt is here:  http://pastebin.com/ruuVVeNK.

Thanks a lot for your help.
legendary
Activity: 3640
Merit: 1345
Armory Developer
Again these log lines are irrelevant. You should clean up your armorycpplog.txt or all personal info and pastebin it so I can look at it. In the mean time, delete the content of Armory's database folder and try again.
newbie
Activity: 14
Merit: 0
Thanks.  Have done as you said:
  • Started Bitcoin-qt directly
  • Blockchain seemed synced, looking at the block height and activity.
  • Started Armory first in offline mode, and unchecked box to stop Armory managing bitcoind
  • Shutdown and restarted Armory in normal mode (leaving bitcoin-qt running). Now only 2 progress bars rather than 3
  • Result appears the same - hanging on "Organizing Blockchain" - though so far it's only been 20 min
  • Stuff in logs appears same as before, to my inexpert eye


(Noticed this in log, fwiw):
2016-02-14 16:38 (ERROR) -- ArmoryQt.py:1323 - 8 attempts to load blockchain failed.  Remove mempool.bin.
2016-02-14 16:38 (ERROR) -- ArmoryQt.py:1328 - File mempool.bin does not exist. Nothing deleted.

legendary
Activity: 3640
Merit: 1345
Armory Developer
None of these lines are relevant to your issue. You should start BitcoinQt manually and let it fully sync. In Armory, turn off auto bitcoind management then start it after BitcoinQt. Report what happens here.
newbie
Activity: 14
Merit: 0
I'm trying to install Armory in Ubuntu 15.04, using the version at https://github.com/goatpig/BitcoinArmory/releases/tag/v0.93.3.  I have a few wallets already, from an installation on a laptop I had stolen.  So I'm trying to get these coins back.

Dashboard shows "Synchronizing with Network" complete.  It has finished "reading block headers", but now hangs on Organizing Blockchain.  It's been that way for maybe 18h overall (with a couple of attempted restarts in between).

Might be relevant:  I tried to give the new install a headstart by copying over some of the database files from a backup I had of the old installation (and also to the .bitcoin installation).

Also:  when I quit, it hangs on "Preparing to shut down", and I have to quit again.  When that happens I get the following repeated many times in  .armory/armorylog.txt:

2016-02-14 09:52 (WARNING) -- SDM.py:768 - Overriding not-available state. This should happen 0-5 times


Heres the cpplog.txt after re-starting, up to present moment where it hangs.

Log file opened at 1455443804: ~/.armory/armorycpplog.txt
-INFO  - 1455443847: (BlockUtils.cpp:918) blkfile dir: /home/gav/.bitcoin/blocks
-INFO  - 1455443847: (BlockUtils.cpp:919) lmdb dir: /home/gav/.armory/databases
-INFO  - 1455443847: (lmdb_wrapper.cpp:478) Opening databases...
-INFO  - 1455443847: (BlockUtils.cpp:1250) Executing: doInitialSyncOnLoad
-INFO  - 1455443847: (BlockUtils.cpp:1321) Total number of blk*.dat files: 444
-INFO  - 1455443847: (BlockUtils.cpp:1322) Total blockchain bytes: 59,390,537,918
-INFO  - 1455443847: (BlockUtils.cpp:1695) Reading headers from db
-WARN  - 1455443847: (lmdb_wrapper.cpp:1478) No headers in DB yet!
-INFO  - 1455443847: (BlockUtils.cpp:1721) Found 1 headers in db
-DEBUG - 1455443847: (Blockchain.cpp:211) Organizing chain w/ rebuild
-WARN  - 1455443847: (BlockUtils.cpp:1351) --- Fetching SSH summaries for 1342 registered addresses
-INFO  - 1455443847: (BlockUtils.cpp:1364) Left off at file 0, offset 0
-INFO  - 1455443847: (BlockUtils.cpp:1367) Reading headers and building chain...
-INFO  - 1455443847: (BlockUtils.cpp:1368) Starting at block file 0 offset 0
-INFO  - 1455443847: (BlockUtils.cpp:1370) Block height 0
-DEBUG - 1455444332: (Blockchain.cpp:211) Organizing chain w/ rebuild


And the last few lines of armorylog.txt

2016-02-14 09:56 (INFO) -- ArmoryQt.py:5887 - Dashboard switched to auto-InitSync
2016-02-14 09:57 (INFO) -- ArmoryQt.py:2525 - loadBlockchainIfNecessary
2016-02-14 09:57 (INFO) -- ArmoryQt.py:2546 - Setting netmode: 1
2016-02-14 09:57 (INFO) -- ArmoryQt.py:6010 - Dashboard switched to "Scanning" mode
2016-02-14 09:57 (INFO) -- Networking.py:65 - Connection initiated.  Start handshake
2016-02-14 09:57 (INFO) -- ArmoryQt.py:6010 - Dashboard switched to "Scanning" mode
2016-02-14 09:57 (INFO) -- Networking.py:156 - Received version message from peer:
2016-02-14 09:57 (INFO) -- Networking.py:157 -    Version:     70002
2016-02-14 09:57 (INFO) -- Networking.py:158 -    SubVersion:  /Satoshi:0.11.2/
2016-02-14 09:57 (INFO) -- Networking.py:159 -    TimeStamp:   1455443848
2016-02-14 09:57 (INFO) -- Networking.py:160 -    StartHeight: 398373
2016-02-14 09:57 (INFO) -- Networking.py:350 - Handshake finished, connection open!


Edit:  seems I get this error on starting from command line:

/usr/lib/armory/armoryengine/Transaction.py:2649: SyntaxWarning: import * only allowed at module level
  def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals):
(ERROR) announcefetch.py:287 - Unspecified error downloading URL
Traceback (most recent call last):
  File "/usr/lib/armory/announcefetch.py", line 277, in __fetchFile
    urlobj = urllib2.urlopen(url, timeout=CLI_OPTIONS.nettimeout)
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1240, in https_open
    context=self._context)
  File "/usr/lib/python2.7/urllib2.py", line 1200, in do_open
    r = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1127, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 453, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 409, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib/python2.7/socket.py", line 480, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/lib/python2.7/ssl.py", line 734, in recv
    return self.read(buflen)
  File "/usr/lib/python2.7/ssl.py", line 621, in read
    v = self._sslobj.read(len or 1024)
SSLError: ('The read operation timed out',)



Grateful for any help.
Pages:
Jump to: