Post
Topic
Board Project Development
Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff
by
John Tobey
on 28/03/2014, 13:38:09 UTC
This is what I get after block with a lot of tranasactions:
Code:
/usr/local/lib/python2.7/dist-packages/Abe/abe.py in handle_chain(abe=<__main__.Abe instance>, page={'body': ['

Search by address, block .........}, 'title': u'AuroraCoin'})
    486             seconds = int(seconds)
    487             satoshis = int(satoshis)
=>  488             ss = int(ss)
    489             total_ss = int(total_ss)
    490
ss = None, builtin int =


You can edit Abe/abe.py and replace "int(ss)" with "None if ss is None else int(ss)" and similarly for "int(total_ss)".

I hesitate to apply this change in the master branch, since the error indicates a bug elsewhere.  "ss" is not supposed to be None there.  I suspect database corruption resulting from parallel loading processes.  The root cause is Abe's failure to specify "transaction isolation level serializable" when loading.  I would like to fix it, but it would take some effort, and meanwhile, my advice is to have all but one process use --no-load at any given time.