<type 'exceptions.KeyError'>
Python 2.7.12: /usr/bin/python
Fri Oct 18 04:38:52 2019

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>)
    556         """Runs the handler, flushes the streams, and ends the request."""
    557         try:
=>  558             protocolStatus, appStatus = self.server.handler(self)
    559         except:
    560             traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object>>
 /usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)
   1116         try:
   1117             try:
=> 1118                 result = self.application(environ, start_response)
   1119                 try:
   1120                     for data in result:
result = None, self = <flup.server.fcgi.WSGIServer object>, self.application = <__main__.Abe instance>, environ = {'DOCUMENT_ROOT': '/usr/lib/cgi-bin/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_HOST': 'aurumblocks.cointech.net', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'PATH_INFO': '', 'PATH_TRANSLATED': '/usr/lib/cgi-bin//block/000000000000000c879b5d6134a0ab30a1f2ed2f54c1fe67be2aa704c549690f', ...}, start_response = <function start_response>
 /usr/local/lib/python2.7/dist-packages/Abe/abe.py in __call__(abe=<__main__.Abe instance>, env={'DOCUMENT_ROOT': '/usr/lib/cgi-bin/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_HOST': 'aurumblocks.cointech.net', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'PATH_INFO': '', 'PATH_TRANSLATED': '/usr/lib/cgi-bin//block/000000000000000c879b5d6134a0ab30a1f2ed2f54c1fe67be2aa704c549690f', ...}, start_response=<function start_response>)
    248                 abe.store.catch_up()
    249 
=>  250             handler(page)
    251         except PageNotFound:
    252             page['status'] = '404 Not Found'
handler = <bound method Abe.handle_block of <__main__.Abe instance>>, page = {'body': [], 'chain': None, 'content_type': 'text/html; charset=utf-8', 'dotdot': '../', 'env': {'DOCUMENT_ROOT': '/usr/lib/cgi-bin/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_HOST': 'aurumblocks.cointech.net', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'PATH_INFO': '', 'PATH_TRANSLATED': '/usr/lib/cgi-bin//block/000000000000000c879b5d6134a0ab30a1f2ed2f54c1fe67be2aa704c549690f', ...}, 'params': {}, 'start_response': <function start_response>, 'status': '200 OK', 'template': u'\n<!DOCTYPE html>\n<html lang="en">\n<head>\n <li...NATIONS_NMC)s">MOBI</a>\n </p>\n</body>\n</html>\n', 'template_vars': {'ABE_URL': 'https://github.com/bitcoin-abe/bitcoin-abe', 'APPNAME': u'AurumCoin Block Explorer- mobiblocks', 'CONTENT_TYPE': 'text/html; charset=utf-8', 'COPYRIGHT': 'Abe developers', 'COPYRIGHT_URL': 'https://github.com/bitcoin-abe', 'COPYRIGHT_YEARS': '2011', 'DONATIONS_BTC': u'16LR4RCMYQUxoXfG1usVWwTfD49DCtq5Rc', 'DONATIONS_NMC': u'17gyyw987jY1D1K2bURR1ztuZ8pSyJQ7Lx', 'HOMEPAGE': 'chains', 'STATIC_PATH': 'static/', ...}, ...}
 /usr/local/lib/python2.7/dist-packages/Abe/abe.py in handle_block(abe=<__main__.Abe instance>, page={'body': [], 'chain': None, 'content_type': 'text/html; charset=utf-8', 'dotdot': '../', 'env': {'DOCUMENT_ROOT': '/usr/lib/cgi-bin/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_HOST': 'aurumblocks.cointech.net', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'PATH_INFO': '', 'PATH_TRANSLATED': '/usr/lib/cgi-bin//block/000000000000000c879b5d6134a0ab30a1f2ed2f54c1fe67be2aa704c549690f', ...}, 'params': {}, 'start_response': <function start_response>, 'status': '200 OK', 'template': u'\n<!DOCTYPE html>\n<html lang="en">\n<head>\n <li...NATIONS_NMC)s">MOBI</a>\n </p>\n</body>\n</html>\n', 'template_vars': {'ABE_URL': 'https://github.com/bitcoin-abe/bitcoin-abe', 'APPNAME': u'AurumCoin Block Explorer- mobiblocks', 'CONTENT_TYPE': 'text/html; charset=utf-8', 'COPYRIGHT': 'Abe developers', 'COPYRIGHT_URL': 'https://github.com/bitcoin-abe', 'COPYRIGHT_YEARS': '2011', 'DONATIONS_BTC': u'16LR4RCMYQUxoXfG1usVWwTfD49DCtq5Rc', 'DONATIONS_NMC': u'17gyyw987jY1D1K2bURR1ztuZ8pSyJQ7Lx', 'HOMEPAGE': 'chains', 'STATIC_PATH': 'static/', ...}, ...})
    672             return
    673 
=>  674         abe._show_block(page, '', None, block_hash=block_hash)
    675 
    676     def handle_tx(abe, page):
abe = <__main__.Abe instance>, abe._show_block = <bound method Abe._show_block of <__main__.Abe instance>>, page = {'body': [], 'chain': None, 'content_type': 'text/html; charset=utf-8', 'dotdot': '../', 'env': {'DOCUMENT_ROOT': '/usr/lib/cgi-bin/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_HOST': 'aurumblocks.cointech.net', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'PATH_INFO': '', 'PATH_TRANSLATED': '/usr/lib/cgi-bin//block/000000000000000c879b5d6134a0ab30a1f2ed2f54c1fe67be2aa704c549690f', ...}, 'params': {}, 'start_response': <function start_response>, 'status': '200 OK', 'template': u'\n<!DOCTYPE html>\n<html lang="en">\n<head>\n <li...NATIONS_NMC)s">MOBI</a>\n </p>\n</body>\n</html>\n', 'template_vars': {'ABE_URL': 'https://github.com/bitcoin-abe/bitcoin-abe', 'APPNAME': u'AurumCoin Block Explorer- mobiblocks', 'CONTENT_TYPE': 'text/html; charset=utf-8', 'COPYRIGHT': 'Abe developers', 'COPYRIGHT_URL': 'https://github.com/bitcoin-abe', 'COPYRIGHT_YEARS': '2011', 'DONATIONS_BTC': u'16LR4RCMYQUxoXfG1usVWwTfD49DCtq5Rc', 'DONATIONS_NMC': u'17gyyw987jY1D1K2bURR1ztuZ8pSyJQ7Lx', 'HOMEPAGE': 'chains', 'STATIC_PATH': 'static/', ...}, ...}, builtin None = None, block_hash = '000000000000000c879b5d6134a0ab30a1f2ed2f54c1fe67be2aa704c549690f'
 /usr/local/lib/python2.7/dist-packages/Abe/abe.py in _show_block(abe=<__main__.Abe instance>, page={'body': [], 'chain': None, 'content_type': 'text/html; charset=utf-8', 'dotdot': '../', 'env': {'DOCUMENT_ROOT': '/usr/lib/cgi-bin/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_HOST': 'aurumblocks.cointech.net', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'PATH_INFO': '', 'PATH_TRANSLATED': '/usr/lib/cgi-bin//block/000000000000000c879b5d6134a0ab30a1f2ed2f54c1fe67be2aa704c549690f', ...}, 'params': {}, 'start_response': <function start_response>, 'status': '200 OK', 'template': u'\n<!DOCTYPE html>\n<html lang="en">\n<head>\n <li...NATIONS_NMC)s">MOBI</a>\n </p>\n</body>\n</html>\n', 'template_vars': {'ABE_URL': 'https://github.com/bitcoin-abe/bitcoin-abe', 'APPNAME': u'AurumCoin Block Explorer- mobiblocks', 'CONTENT_TYPE': 'text/html; charset=utf-8', 'COPYRIGHT': 'Abe developers', 'COPYRIGHT_URL': 'https://github.com/bitcoin-abe', 'COPYRIGHT_YEARS': '2011', 'DONATIONS_BTC': u'16LR4RCMYQUxoXfG1usVWwTfD49DCtq5Rc', 'DONATIONS_NMC': u'17gyyw987jY1D1K2bURR1ztuZ8pSyJQ7Lx', 'HOMEPAGE': 'chains', 'STATIC_PATH': 'static/', ...}, ...}, dotdotblock='', chain=None, **kwargs={'block_hash': '000000000000000c879b5d6134a0ab30a1f2ed2f54c1fe67be2aa704c549690f'})
    536 
    537         try:
=>  538             b = abe.store.export_block(chain, **kwargs)
    539         except DataStore.MalformedHash:
    540             body += ['<p class="error">Not in correct format.</p>']
b undefined, abe = <__main__.Abe instance>, abe.store = <Abe.DataStore.DataStore object>, abe.store.export_block = <bound method DataStore.export_block of <Abe.DataStore.DataStore object>>, chain = None, kwargs = {'block_hash': '000000000000000c879b5d6134a0ab30a1f2ed2f54c1fe67be2aa704c549690f'}
 /usr/local/lib/python2.7/dist-packages/Abe/DataStore.py in export_block(store=<Abe.DataStore.DataStore object>, chain=None, block_hash='000000000000000c879b5d6134a0ab30a1f2ed2f54c1fe67be2aa704c549690f', block_number=None)
   1610 
   1611         # Absent the chain argument, default to highest chain_id, preferring to avoid side chains.
=> 1612         cc = map(parse_cc, rows)
   1613 
   1614         # "chain" may be None, but "found_chain" will not.
cc undefined, builtin map = <built-in function map>, parse_cc = <function parse_cc>, rows = ((Decimal('1307531'), Decimal('1'), Decimal('1137932'), Decimal('225')),)
 /usr/local/lib/python2.7/dist-packages/Abe/DataStore.py in parse_cc(row=(Decimal('1307531'), Decimal('1'), Decimal('1137932'), Decimal('225')))
   1607         def parse_cc(row):
   1608             chain_id, in_longest = row[:2]
=> 1609             return { "chain": store.get_chain_by_id(chain_id), "in_longest": in_longest }
   1610 
   1611         # Absent the chain argument, default to highest chain_id, preferring to avoid side chains.
store = <Abe.DataStore.DataStore object>, store.get_chain_by_id = <bound method DataStore.get_chain_by_id of <Abe.DataStore.DataStore object>>, chain_id = Decimal('1307531'), in_longest = Decimal('1')
 /usr/local/lib/python2.7/dist-packages/Abe/DataStore.py in get_chain_by_id(store=<Abe.DataStore.DataStore object>, chain_id=Decimal('1307531'))
    501 
    502     def get_chain_by_id(store, chain_id):
=>  503         return store.chains_by.id[int(chain_id)]
    504 
    505     def get_chain_by_name(store, name):
store = <Abe.DataStore.DataStore object>, store.chains_by = <function <lambda>>, store.chains_by.id = {1: <Abe.Chain.Bitcoin.Bitcoin object>, 2: <Abe.Chain.Testnet.Testnet object>, 3: <Abe.Chain.Namecoin.Namecoin object>, 4: <Abe.Chain.Sha256Chain.Sha256Chain object>, 5: <Abe.Chain.Sha256Chain.Sha256Chain object>, 6: <Abe.Chain.Sha256Chain.Sha256Chain object>, 7: <Abe.Chain.Sha256Chain.Sha256Chain object>, 8: <Abe.Chain.Sha256Chain.Sha256Chain object>, 9: <Abe.Chain.NovaCoin.NovaCoin object>, 10: <Abe.Chain.CryptoCash.CryptoCash object>, ...}, builtin int = <type 'int'>, chain_id = Decimal('1307531')

<type 'exceptions.KeyError'>: 1307531
      args = (1307531,)
      message = 1307531