Post
Topic
Board Armory
Re: Starting preliminary 0.94 testing - "Headless fullnode"
by
qertoip2
on 10/08/2015, 08:10:43 UTC
Try the latest commit with your damaged DB.

It fixed the issue, thank you so much!

Although there was a minor glitch during the recovery.

On the first run I got another error about missing headers, a suggestion to do a factory reset, and a forced close. I choose to not do a factory reset.

On the second run it fully recovered (very quickly).

The logs:

Code:
git pull origin ffreeze
make clean
make

Code:
➜  BitcoinArmory git:(ffreeze) python ArmoryQt.py
********************************************************************************
Loading Armory Engine:
   Armory Version:       0.93.99.1
   Armory Build:         a840b70352
   PyBtcWallet  Version: 1.35
Detected Operating system: Linux
   OS Variant            : ('LinuxMint', '17.1', 'rebecca')
   User home-directory   : /home/qertoip
   Satoshi BTC directory : /home/qertoip/.bitcoin/
   Armory home dir       : /home/qertoip/.armory/
   ArmoryDB directory     : /home/qertoip/.armory/databases
   Armory settings file  : /home/qertoip/.armory/ArmorySettings.txt
   Armory log file       : /home/qertoip/.armory/armorylog.txt
   Do wallet checking    : True
/home/qertoip/Projects/BitcoinArmory/armoryengine/Transaction.py:2675: SyntaxWarning: import * only allowed at module level
  def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals):
-INFO  - 1439193620: (BlockUtils.cpp:874) blkfile dir: /home/qertoip/.bitcoin/blocks
-INFO  - 1439193620: (BlockUtils.cpp:875) lmdb dir: /home/qertoip/.armory/databases
-INFO  - 1439193620: (lmdb_wrapper.cpp:446) Opening databases...
"sni-qt/19177" WARN  10:00:20.523 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
-INFO  - 1439193620: (BlockUtils.cpp:1231) Executing: doInitialSyncOnLoad
-INFO  - 1439193620: (BlockUtils.cpp:1315) Total number of blk*.dat files: 318
-INFO  - 1439193620: (BlockUtils.cpp:1316) Total blockchain bytes: 42,500,991,204
-INFO  - 1439193620: (BlockUtils.cpp:1837) Reading headers from db
(ERROR) announcefetch.py:312 - Could not verify data in signed message block
Traceback (most recent call last):
  File "/home/qertoip/Projects/BitcoinArmory/announcefetch.py", line 304, in __runFetchSequence
    sig, msg = readSigBlock(digestData)
  File "/home/qertoip/Projects/BitcoinArmory/jasvet.py", line 589, in readSigBlock
    name = r.split(BEGIN_MARKER)[1].split(DASHX5)[0]
IndexError: list index out of range
-INFO  - 1439193626: (BlockUtils.cpp:1863) Found 369156 headers in db
-DEBUG - 1439193626: (Blockchain.cpp:214) Organizing chain w/ rebuild
-WARN  - 1439193627: (BlockUtils.cpp:1344) --- Fetching SSH summaries for 346 registered addresses
-INFO  - 1439193628: (BlockUtils.cpp:1357) Left off at file 316, offset 126056295
-INFO  - 1439193628: (BlockUtils.cpp:1360) Reading headers and building chain...
-INFO  - 1439193628: (BlockUtils.cpp:1361) Starting at block file 316 offset 126056295
-INFO  - 1439193628: (BlockUtils.cpp:1363) Block height 369133
-INFO  - 1439193628: (BlockUtils.cpp:345) parsing headers in file 316
-INFO  - 1439193628: (BlockUtils.cpp:345) parsing headers in file 317
-DEBUG - 1439193628: (Blockchain.cpp:214) Organizing chain w/ rebuild
-INFO  - 1439193629: (BlockUtils.cpp:1400) Looking for first unrecognized block
-INFO  - 1439193629: (BlockUtils.cpp:1404) Updating Headers in DB
-INFO  - 1439193629: (BlockUtils.cpp:1691) Loading block data... file 316 offset 126056295
-INFO  - 1439193629: (BlockUtils.cpp:395) reading blocks from file 316
-INFO  - 1439193629: (BlockUtils.cpp:395) reading blocks from file 317
-INFO  - 1439193629: (BlockUtils.cpp:1418) Wrote blocks to DB in 0.100643s
-WARN  - 1439193629: (BlockUtils.cpp:1114) Scanning from 368991 to 369213
-ERROR - 1439193629: (BlockWriteBatcher.cpp:359) Header heigh&dup is not in BLKDATA DB
-ERROR - 1439193629: (BlockWriteBatcher.cpp:359) Header heigh&dup is not in BLKDATA DB
-ERROR - 1439193629: (BlockWriteBatcher.cpp:360) (368993, 0)
-ERROR - 1439193629: (BlockWriteBatcher.cpp:359) Header heigh&dup is not in BLKDATA DB
-ERROR - 1439193629: (BlockWriteBatcher.cpp:360) (368991, 0)
-ERROR - 1439193629: (BlockWriteBatcher.cpp:360) (368992, 0)
-ERROR - 1439193629: (BlockWriteBatcher.cpp:359) Header heigh&dup is not in BLKDATA DB
-ERROR - 1439193629: (BlockWriteBatcher.cpp:360) (368994, 0)
-ERROR - 1439193629: (BlockWriteBatcher.cpp:2175) hit interruption marker from pull threads
-INFO  - 1439193629: (BlockUtils.cpp:1458) checking scan integrity
-WARN  - 1439193629: (BlockUtils.cpp:1463) Top scanned block does not match top block header
-WARN  - 1439193629: (BlockUtils.cpp:1567) Issue is significant, attempting repairs
-INFO  - 1439193629: (BlockUtils.cpp:1579) Checking dupIDs from block 368992 onward

(python:19177): Gtk-CRITICAL **: IA__gtk_progress_configure: assertion 'value >= min && value <= max' failed
-ERROR - 1439193631: (lmdb_wrapper.cpp:1585) Block height exceeds DupID lookup table
-ERROR - 1439193631: (BlockUtils.cpp:1618) missing 1 block headers
-ERROR - 1439193631: (BDM_mainthread.cpp:430) BDM thread failed: Missing headers! This is unexpected, Armory will have to close. If the error persists, do a factory reset.

(python:19177): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed

(python:19177): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed


➜  BitcoinArmory git:(ffreeze) python ArmoryQt.py
********************************************************************************
Loading Armory Engine:
   Armory Version:       0.93.99.1
   Armory Build:         a840b70352
   PyBtcWallet  Version: 1.35
Detected Operating system: Linux
   OS Variant            : ('LinuxMint', '17.1', 'rebecca')
   User home-directory   : /home/qertoip
   Satoshi BTC directory : /home/qertoip/.bitcoin/
   Armory home dir       : /home/qertoip/.armory/
   ArmoryDB directory     : /home/qertoip/.armory/databases
   Armory settings file  : /home/qertoip/.armory/ArmorySettings.txt
   Armory log file       : /home/qertoip/.armory/armorylog.txt
   Do wallet checking    : True
-INFO  - 1439193687: (BlockUtils.cpp:874) blkfile dir: /home/qertoip/.bitcoin/blocks
-INFO  - 1439193687: (BlockUtils.cpp:875) lmdb dir: /home/qertoip/.armory/databases
-INFO  - 1439193687: (lmdb_wrapper.cpp:446) Opening databases...
-INFO  - 1439193687: (BlockUtils.cpp:1231) Executing: doInitialSyncOnLoad
"sni-qt/19238" WARN  10:01:27.265 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
-INFO  - 1439193687: (BlockUtils.cpp:1315) Total number of blk*.dat files: 318
-INFO  - 1439193687: (BlockUtils.cpp:1316) Total blockchain bytes: 42,500,991,204
-INFO  - 1439193687: (BlockUtils.cpp:1837) Reading headers from db
(ERROR) announcefetch.py:312 - Could not verify data in signed message block
Traceback (most recent call last):
  File "/home/qertoip/Projects/BitcoinArmory/announcefetch.py", line 304, in __runFetchSequence
    sig, msg = readSigBlock(digestData)
  File "/home/qertoip/Projects/BitcoinArmory/jasvet.py", line 589, in readSigBlock
    name = r.split(BEGIN_MARKER)[1].split(DASHX5)[0]
IndexError: list index out of range
-INFO  - 1439193689: (BlockUtils.cpp:1863) Found 369235 headers in db
-DEBUG - 1439193689: (Blockchain.cpp:214) Organizing chain w/ rebuild
-WARN  - 1439193691: (BlockUtils.cpp:1344) --- Fetching SSH summaries for 346 registered addresses
-INFO  - 1439193691: (BlockUtils.cpp:1357) Left off at file 317, offset 15768567
-INFO  - 1439193691: (BlockUtils.cpp:1360) Reading headers and building chain...
-INFO  - 1439193691: (BlockUtils.cpp:1361) Starting at block file 317 offset 15768567
-INFO  - 1439193691: (BlockUtils.cpp:1363) Block height 369213
-INFO  - 1439193691: (BlockUtils.cpp:345) parsing headers in file 317
-DEBUG - 1439193691: (Blockchain.cpp:214) Organizing chain w/ rebuild
-INFO  - 1439193692: (BlockUtils.cpp:1400) Looking for first unrecognized block
-INFO  - 1439193692: (BlockUtils.cpp:1404) Updating Headers in DB
-INFO  - 1439193692: (BlockUtils.cpp:1691) Loading block data... file 317 offset 15768567
-INFO  - 1439193692: (BlockUtils.cpp:395) reading blocks from file 317
-INFO  - 1439193692: (BlockUtils.cpp:1418) Wrote blocks to DB in 0.000427s
-WARN  - 1439193692: (BlockUtils.cpp:1114) Scanning from 368991 to 369213
-ERROR - 1439193692: (BlockWriteBatcher.cpp:359) Header heigh&dup is not in BLKDATA DB
-ERROR - 1439193692: (BlockWriteBatcher.cpp:360) (368992, 0)
-ERROR - 1439193692: (BlockWriteBatcher.cpp:359) Header heigh&dup is not in BLKDATA DB
-ERROR - 1439193692: (BlockWriteBatcher.cpp:360) (368993, 0)
-ERROR - 1439193692: (BlockWriteBatcher.cpp:359) Header heigh&dup is not in BLKDATA DB
-ERROR - 1439193692: (BlockWriteBatcher.cpp:360) (368994, 0)
-ERROR - 1439193692: (BlockWriteBatcher.cpp:359) Header heigh&dup is not in BLKDATA DB
-ERROR - 1439193692: (BlockWriteBatcher.cpp:360) (368991, 0)
-ERROR - 1439193692: (BlockWriteBatcher.cpp:2175) hit interruption marker from pull threads
-INFO  - 1439193692: (BlockUtils.cpp:1458) checking scan integrity
-WARN  - 1439193692: (BlockUtils.cpp:1463) Top scanned block does not match top block header
-WARN  - 1439193692: (BlockUtils.cpp:1567) Issue is significant, attempting repairs
-INFO  - 1439193692: (BlockUtils.cpp:1579) Checking dupIDs from block 368992 onward

(python:19238): Gtk-CRITICAL **: IA__gtk_progress_configure: assertion 'value >= min && value <= max' failed
-ERROR - 1439193694: (BlockUtils.cpp:1626) Missing block data, attempting to repair the DB
-INFO  - 1439193694: (BlockUtils.cpp:421) reading block file 317
-INFO  - 1439193694: (BlockUtils.cpp:421) reading block file 316
-INFO  - 1439193698: (BlockUtils.cpp:2298) BLKDATA DB was repaired successfully
-WARN  - 1439193698: (BlockUtils.cpp:1114) Scanning from 368992 to 369213
-INFO  - 1439193699: (BlockUtils.cpp:1458) checking scan integrity
-INFO  - 1439193699: (BlockUtils.cpp:1646) --- bwbDtor: 0s
-INFO  - 1439193699: (BlockUtils.cpp:1647) Scanned Block range in 9.09197s
-INFO  - 1439193699: (BlockUtils.cpp:1653) Finished loading at file 317, offset 15768567
-INFO  - 1439193699: (BlockDataViewer.cpp:157) Enabling zero-conf tracking