Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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/pymodules/python2.6/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/pymodules/python2.6/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': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,he-IL;q=0.6,he;q=0.4', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'blockexplorer.sytes.net', 'HTTP_REFERER': 'http://blockexplorer.sytes.net/chain/Namecoin/q', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/...TML, like Gecko) Chrome/14.0.835.187 Safari/535.1', ...}, start_response = <function start_response>
- /usr/local/lib/python2.6/dist-packages/Abe/abe.py in __call__(abe=<__main__.Abe instance>, env={'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,he-IL;q=0.6,he;q=0.4', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'blockexplorer.sytes.net', 'HTTP_REFERER': 'http://blockexplorer.sytes.net/chain/Namecoin/q', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/...TML, like Gecko) Chrome/14.0.835.187 Safari/535.1', ...}, start_response=<function start_response>)
- 219 abe.store.catch_up()
- 220
- 221 handler(page)
- 222 except PageNotFound:
- 223 status = '404 Not Found'
- handler = <bound method Abe.handle_chain of <__main__.Abe instance>>, page = {'body': [], 'content_type': 'text/html', 'dotdot': '../../../', 'env': {'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,he-IL;q=0.6,he;q=0.4', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'blockexplorer.sytes.net', 'HTTP_REFERER': 'http://blockexplorer.sytes.net/chain/Namecoin/q', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/...TML, like Gecko) Chrome/14.0.835.187 Safari/535.1', ...}, 'params': {}, 'start_response': <function start_response>, 'template': '\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 St...ONATIONS_NMC)s">NMC</a>\n </p>\n</body>\n</html>\n', 'title': ['Abe', ' ', '0.7pre']}
- /usr/local/lib/python2.6/dist-packages/Abe/abe.py in handle_chain(abe=<__main__.Abe instance>, page={'body': [], 'content_type': 'text/html', 'dotdot': '../../../', 'env': {'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,he-IL;q=0.6,he;q=0.4', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'blockexplorer.sytes.net', 'HTTP_REFERER': 'http://blockexplorer.sytes.net/chain/Namecoin/q', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/...TML, like Gecko) Chrome/14.0.835.187 Safari/535.1', ...}, 'params': {}, 'start_response': <function start_response>, 'template': '\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 St...ONATIONS_NMC)s">NMC</a>\n </p>\n</body>\n</html>\n', 'title': ['Abe', ' ', '0.7pre']})
- 362 raise Redirect()
- 363 if cmd == 'q':
- 364 return abe.handle_q(page, chain=chain)
- 365 if cmd is not None:
- 366 raise PageNotFound()
- abe = <__main__.Abe instance>, abe.handle_q = <bound method Abe.handle_q of <__main__.Abe instance>>, page = {'body': [], 'content_type': 'text/html', 'dotdot': '../../../', 'env': {'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,he-IL;q=0.6,he;q=0.4', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'blockexplorer.sytes.net', 'HTTP_REFERER': 'http://blockexplorer.sytes.net/chain/Namecoin/q', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/...TML, like Gecko) Chrome/14.0.835.187 Safari/535.1', ...}, 'params': {}, 'start_response': <function start_response>, 'template': '\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 St...ONATIONS_NMC)s">NMC</a>\n </p>\n</body>\n</html>\n', 'title': ['Abe', ' ', '0.7pre']}, chain = {'address_version': '4', 'code3': 'NMC', 'id': Decimal('3'), 'last_block_id': Decimal('480469'), 'name': 'Namecoin'}
- /usr/local/lib/python2.6/dist-packages/Abe/abe.py in handle_q(abe=<__main__.Abe instance>, page={'body': [], 'content_type': 'text/html', 'dotdot': '../../../', 'env': {'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,he-IL;q=0.6,he;q=0.4', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'blockexplorer.sytes.net', 'HTTP_REFERER': 'http://blockexplorer.sytes.net/chain/Namecoin/q', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/...TML, like Gecko) Chrome/14.0.835.187 Safari/535.1', ...}, 'params': {}, 'start_response': <function start_response>, 'template': '\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 St...ONATIONS_NMC)s">NMC</a>\n </p>\n</body>\n</html>\n', 'title': ['Abe', ' ', '0.7pre']}, chain={'address_version': '4', 'code3': 'NMC', 'id': Decimal('3'), 'last_block_id': Decimal('480469'), 'name': 'Namecoin'})
- 1293 raise PageNotFound()
- 1294
- 1295 abe.do_raw(page, func(page, chain))
- 1296
- 1297 def q(abe, page):
- abe = <__main__.Abe instance>, abe.do_raw = <bound method Abe.do_raw of <__main__.Abe instance>>, page = {'body': [], 'content_type': 'text/html', 'dotdot': '../../../', 'env': {'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,he-IL;q=0.6,he;q=0.4', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'blockexplorer.sytes.net', 'HTTP_REFERER': 'http://blockexplorer.sytes.net/chain/Namecoin/q', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/...TML, like Gecko) Chrome/14.0.835.187 Safari/535.1', ...}, 'params': {}, 'start_response': <function start_response>, 'template': '\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 St...ONATIONS_NMC)s">NMC</a>\n </p>\n</body>\n</html>\n', 'title': ['Abe', ' ', '0.7pre']}, func = <bound method Abe.q_getblockcount of <__main__.Abe instance>>, chain = {'address_version': '4', 'code3': 'NMC', 'id': Decimal('3'), 'last_block_id': Decimal('480469'), 'name': 'Namecoin'}
- /usr/local/lib/python2.6/dist-packages/Abe/abe.py in q_getblockcount(abe=<__main__.Abe instance>, page={'body': [], 'content_type': 'text/html', 'dotdot': '../../../', 'env': {'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,he-IL;q=0.6,he;q=0.4', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'blockexplorer.sytes.net', 'HTTP_REFERER': 'http://blockexplorer.sytes.net/chain/Namecoin/q', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/...TML, like Gecko) Chrome/14.0.835.187 Safari/535.1', ...}, 'params': {}, 'start_response': <function start_response>, 'template': '\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 St...ONATIONS_NMC)s">NMC</a>\n </p>\n</body>\n</html>\n', 'title': ['Abe', ' ', '0.7pre']}, chain={'address_version': '4', 'code3': 'NMC', 'id': Decimal('3'), 'last_block_id': Decimal('480469'), 'name': 'Namecoin'})
- 1318 return 'Shows the greatest block height in CHAIN.\n' \
- 1319 '/chain/CHAIN/q/getblockcount\n'
- 1320 return abe.get_max_block_height(chain)
- 1321
- 1322 def q_translate_address(abe, page, chain):
- abe = <__main__.Abe instance>, abe.get_max_block_height = <bound method Abe.get_max_block_height of <__main__.Abe instance>>, chain = {'address_version': '4', 'code3': 'NMC', 'id': Decimal('3'), 'last_block_id': Decimal('480469'), 'name': 'Namecoin'}
- /usr/local/lib/python2.6/dist-packages/Abe/abe.py in get_max_block_height(abe=<__main__.Abe instance>, chain={'address_version': '4', 'code3': 'NMC', 'id': Decimal('3'), 'last_block_id': Decimal('480469'), 'name': 'Namecoin'})
- 1311 # "getblockcount" traditionally returns max(block_height),
- 1312 # which is one less than the actual block count.
- 1313 return abe.store.get_block_number(chain['id'])
- 1314
- 1315 def q_getblockcount(abe, page, chain):
- abe = <__main__.Abe instance>, abe.store = <Abe.DataStore.DataStore object>, abe.store.get_block_number undefined, chain = {'address_version': '4', 'code3': 'NMC', 'id': Decimal('3'), 'last_block_id': Decimal('480469'), 'name': 'Namecoin'}
- <type 'exceptions.AttributeError'>: 'DataStore' object has no attribute 'get_block_number'
- args = ("'DataStore' object has no attribute 'get_block_number'",)
- message = "'DataStore' object has no attribute 'get_block_number'"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement