Bitcoin Forum
May 24, 2024, 03:29:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: January 27, 2021, 09:41:07 PM
Hi all

I've been trying to get an instance of Abe up and running but have run into a bit of a snag.  Hoping someone can help me out here.  I am running MySQL 5.7.33 and everything seems to be OK on that side.  Abe is configured as below, and the data directory is working and reading blk*****.dat files seems to be fine.

Code:
dbtype MySQLdb
connect-args {"user":"abe1","db":"abe"}
upgrade
port 2750

I let it run on initial startup and everything seemed to be working as expected but I quickly ran into an error.  The snippet below is from trying to force a rescan, but the error itself is the same.

Code:
block 4175 already in chain 1
block 4176 already in chain 1
Exception at 969746
Failed to catch up {'blkfile_offset': 968753, 'blkfile_number': 100000, 'chain_id': 1, 'loader': u'blkfile', 'conf': None, 'dirname': 'G:/Users/****/Downloads/Bitcoin Database/Bitcoin', 'id': Decimal('1')}
Traceback (most recent call last):
  File "Abe\DataStore.py", line 2557, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe\DataStore.py", line 2855, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "Abe\DataStore.py", line 2977, in import_blkdat
    b = chain.ds_parse_block(ds)
  File "Abe\Chain\__init__.py", line 81, in ds_parse_block
    for i in xrange(nTransactions):
OverflowError: Python int too large to convert to C long


I found this in the config, but it doesn't seem to do anything. 

Code:
# Some databases have trouble with the large integers that Abe uses
# for statistics.  Setting int-type=str causes Abe to pass certain
# integers to the database as strings and cast them to floating point
# in SQL expressions that calculate statistics.  Try this if SQLite
# complains "OverflowError: long too big to convert".

int-type=str
int-type str

I've already tried deleting the database and rebuilding it, no luck.  I've also made sure I'm running 64bit python and not 32bit - heard there were issues with int lengths.  OS = Win 10

Any ideas on how to get this up and running?

Thanks in advance


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!