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 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 = <function script_name_fixer>, environ = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/compwiki/public_html/wiki/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/home/compwiki/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'computing.ee.ethz.ch', ...}, start_response = <function start_response> |
/home/compwiki/public_html/wiki/moin.fcgi in script_name_fixer(env={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/compwiki/public_html/wiki/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/home/compwiki/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'computing.ee.ethz.ch', ...}, start=<function start_response>) |
49 def script_name_fixer(env, start):
|
50 env['SCRIPT_NAME'] = fix_script_name
|
=> 51 return app(env, start)
|
52 application = script_name_fixer
|
53
|
global app = <werkzeug.wsgi.SharedDataMiddleware object>, env = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/compwiki/public_html/wiki/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/home/compwiki/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'computing.ee.ethz.ch', ...}, start = <function start_response> |
/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py in __call__(self=<werkzeug.wsgi.SharedDataMiddleware object>, environ={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/compwiki/public_html/wiki/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/home/compwiki/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'computing.ee.ethz.ch', ...}, start_response=<function start_response>) |
764 break
|
765 if file_loader is None or not self.is_allowed(real_filename):
|
=> 766 return self.app(environ, start_response)
|
767
|
768 guessed_type = mimetypes.guess_type(real_filename)
|
self = <werkzeug.wsgi.SharedDataMiddleware object>, self.app = <MoinMoin.wsgiapp.Application object>, environ = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/compwiki/public_html/wiki/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/home/compwiki/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'computing.ee.ethz.ch', ...}, start_response = <function start_response> |
/usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in __call__(self=<MoinMoin.wsgiapp.Application object>, environ={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/compwiki/public_html/wiki/moin.fcgi/', 'CONTEXT_PREFIX': '/', 'DOCUMENT_ROOT': '/home/compwiki/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'computing.ee.ethz.ch', ...}, start_response=<function start_response>) |
262 context = init(request)
|
263 try:
|
=> 264 response = run(context)
|
265 finally:
|
266 context.clock.stop('total')
|
response undefined, global run = <function run>, context = <AllContext ['AllContext']> |
/usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py in dispatch(request=<AppRequest 7488 bytes [200 OK]>, context=<AllContext ['AllContext']>, action_name=u'info') |
135 # 2. handle action
|
136 else:
|
=> 137 response = handle_action(context, pagename, action_name)
|
138 if isinstance(response, Context):
|
139 response = response.request
|
response undefined, global handle_action = <function handle_action>, context = <AllContext ['AllContext']>, pagename = u'CategoryUXSC', action_name = u'info' |
/usr/lib/python2.7/dist-packages/MoinMoin/action/info.py in execute(pagename=u'CategoryUXSC', request=<AllContext ['AllContext']>) |
369 if show_hitcounts:
|
370 from MoinMoin.stats import hitcounts
|
=> 371 request.write(hitcounts.linkto(pagename, request, 'page=' + wikiutil.url_quote(pagename)))
|
372 elif show_general:
|
373 general(page, pagename, request)
|
request = <AllContext ['AllContext']>, request.write = <bound method AllContext.write of <AllContext ['AllContext']>>, hitcounts = <module 'MoinMoin.stats.hitcounts' from '/usr/li...n2.7/dist-packages/MoinMoin/stats/hitcounts.pyc'>, hitcounts.linkto = <function linkto>, pagename = u'CategoryUXSC', global wikiutil = <module 'MoinMoin.wikiutil' from '/usr/lib/python2.7/dist-packages/MoinMoin/wikiutil.pyc'>, wikiutil.url_quote = <function url_quote> |
/usr/lib/python2.7/dist-packages/MoinMoin/stats/hitcounts.py in text(pagename=u'CategoryUXSC', request=<AllContext ['AllContext']>, params='page=CategoryUXSC') |
152 filterpage = request.values['page']
|
153
|
=> 154 days, views, edits = get_data(pagename, request, filterpage)
|
155
|
156 hits = TupleDataset()
|
days undefined, views undefined, edits undefined, global get_data = <function get_data>, pagename = u'CategoryUXSC', request = <AllContext ['AllContext']>, filterpage = u'CategoryUXSC' |
/usr/lib/python2.7/dist-packages/MoinMoin/stats/hitcounts.py in get_data(pagename=u'CategoryUXSC', request=<AllContext ['AllContext']>, filterpage=u'CategoryUXSC') |
86 log.set_filter(['VIEWPAGE', 'SAVEPAGE'])
|
87 latest = None
|
=> 88 for event in log.reverse():
|
89 # don't use event_log.date()
|
90 if latest is None:
|
event = (1748008154473180L, u'VIEWPAGE', MultiDict([('pagename', u'mreimers'), ('HTTP_USE...m/gptbot)'), ('REMOTE_ADDR', u'20.171.207.129')])), log = <MoinMoin.logfile.eventlog.EventLog instance>, log.reverse = <bound method EventLog.reverse of <MoinMoin.logfile.eventlog.EventLog instance>> |
/usr/lib/python2.7/dist-packages/MoinMoin/logfile/__init__.py in reverse(self=<MoinMoin.logfile.eventlog.EventLog instance>) |
114 try:
|
115 logging.log(self.loglevel, "LogFile.reverse %s" % self.__filename)
|
=> 116 result = self.previous()
|
117 except StopIteration:
|
118 return
|
result = (1748008154473180L, u'VIEWPAGE', MultiDict([('pagename', u'mreimers'), ('HTTP_USE...m/gptbot)'), ('REMOTE_ADDR', u'20.171.207.129')])), self = <MoinMoin.logfile.eventlog.EventLog instance>, self.previous = <bound method EventLog.previous of <MoinMoin.logfile.eventlog.EventLog instance>> |
/usr/lib/python2.7/dist-packages/MoinMoin/logfile/eventlog.py in parser(self=<MoinMoin.logfile.eventlog.EventLog instance>, line=u'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...openai.com%2Fgptbot%29&REMOTE_ADDR=20.171.207.129') |
65 # badly formatted line in file, skip it
|
66 return None
|
=> 67 return long(time_usecs), eventtype, wikiutil.parseQueryString(kvpairs)
|
68
|
69 def set_filter(self, event_types=None):
|
builtin long = <type 'long'>, time_usecs = u'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001748008144895815', eventtype = u'VIEWPAGE', global wikiutil = <module 'MoinMoin.wikiutil' from '/usr/lib/python2.7/dist-packages/MoinMoin/wikiutil.pyc'>, wikiutil.parseQueryString = <function parseQueryString>, kvpairs = u'pagename=stroth&HTTP_USER_AGENT=Mozilla%2F5.0+Ap...openai.com%2Fgptbot%29&REMOTE_ADDR=20.171.207.129' |