Bitcoin Forum
September 17, 2024, 10:14:43 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Project Development / InternalError: right sibling's left-link doesn't match on: June 16, 2014, 08:19:32 PM
I'm loading Abe with the bitcoin blockchain into Abe using postgres, but it quits at the same point every time with an error.

I've tried running Abe with "--rescan" and it quits at the same point. I also ran "bitcoind -reindex" to reindex my copy of the blockchain, but Abe still quits at the same block.

Short of dropping the database and starting over, does anyone have any other suggestions?

The error message is:
Quote
InternalError: right sibling's left-link doesn't match: block 54203 links to 247894 instead of expected 123135 in index "tx_tx_hash_key"

The full error output is:
Code:
$ python -m Abe.abe --config .abe/abe.conf --commit-bytes 100000 --no-serve
no chain_id
catch_up_rpc: abort
Opened /home/user/.bitcoin/blocks/blk00055.dat
Exception at 49123557
Failed to catch up {'blkfile_offset': 49065373, 'blkfile_number': 100055, 'chain_id': None, 'loader': None, 'dirname': '/home/user/.bitcoin', 'id': Decimal('1')}
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2518, in catch_up
    store.catch_up_dir(dircfg)
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2778, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2910, in import_blkdat
    store.import_block(b, chain = chain)
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 1054, in import_block
    tx['tx_id'] = store.import_tx(tx, pos == 0, chain)
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 1785, in import_tx
    store.intin(tx['lockTime']), tx['size']))
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 250, in sql
    store._sql.sql(stmt, params)
  File "/usr/local/lib/python2.7/dist-packages/Abe/SqlAbstraction.py", line 457, in sql
    sql._execute(cached, params)
  File "/usr/local/lib/python2.7/dist-packages/Abe/SqlAbstraction.py", line 438, in _execute
    sql.cursor().execute(stmt, params)
InternalError: right sibling's left-link doesn't match: block 54203 links to 247894 instead of expected 123135 in index "tx_tx_hash_key"
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!