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