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/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/request.py
in run
(self=<MoinMoin.request.RequestModPy object at 0xb6e91aec>)
- 1170 self.page.send_page(self, msg=msg)
- 1171 else:
- 1172 handler(self.page.page_name, self)
- 1173
- 1174 # generate page footer (actions that do not want this footer use
- handler
= <function do_show at 0xb6d658ec>
- self
= <MoinMoin.request.RequestModPy object at 0xb6e91aec>
- self.page
= <MoinMoin.Page.Page instance at 0xb6f3640c>
- self.page.page_name
= u'EventStats/HitCounts'
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/wikiaction.py
in do_show
(pagename=u'EventStats/HitCounts', request=<MoinMoin.request.RequestModPy object at 0xb6e91aec>)
- 466 else:
- 467 request.cacheable = 1
- 468 Page(request, pagename).send_page(request, count_hit=1)
- 469
- 470
- global
Page
= <class MoinMoin.Page.Page at 0xb6e9f89c>
- request
= <MoinMoin.request.RequestModPy object at 0xb6e91aec>
- pagename
= u'EventStats/HitCounts'
- ).send_page undefined
- count_hit undefined
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/Page.py
in send_page
(self=<MoinMoin.Page.Page instance at 0xb6f5816c>, request=<MoinMoin.request.RequestModPy object at 0xb6e91aec>, msg='', **keywords={'count_hit': 1})
- 1254 format_args=pi_formatargs,
- 1255 do_cache=do_cache,
- 1256 start_line=pi_lines)
- 1257
- 1258 # check for pending footnotes
- start_line undefined
- pi_lines
= 7
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/Page.py
in send_page_content
(self=<MoinMoin.Page.Page instance at 0xb6f5816c>, request=<MoinMoin.request.RequestModPy object at 0xb6e91aec>, Parser=<class MoinMoin.parser.wiki.Parser at 0xb6d3659c>, body=u'[[StatsChart(hitcounts)]]\n', format_args=u'', do_cache=1, **kw={'start_line': 7})
- 1345 try:
- 1346 code = self.loadCache(request)
- 1347 self.execute(request, parser, code)
- 1348 except Exception, e:
- 1349 if not is_cache_exception(e):
- self
= <MoinMoin.Page.Page instance at 0xb6f5816c>
- self.execute
= <bound method Page.execute of <MoinMoin.Page.Page instance at 0xb6f5816c>>
- request
= <MoinMoin.request.RequestModPy object at 0xb6e91aec>
- parser
= <MoinMoin.parser.wiki.Parser instance at 0xb6e3b0ec>
- code
= <code object <module> at 0xb6e4c4e8, file "EventStats/HitCounts", line 2>
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/Page.py
in execute
(self=<MoinMoin.Page.Page instance at 0xb6f5816c>, request=<MoinMoin.request.RequestModPy object at 0xb6e91aec>, parser=<MoinMoin.parser.wiki.Parser instance at 0xb6e3b0ec>, code=<code object <module> at 0xb6e4c4e8, file "EventStats/HitCounts", line 2>)
- 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1375 try:
- 1376 exec code
- 1377 except 'CacheNeedsUpdate':
- 1378 raise Exception('CacheNeedsUpdate')
- code
= <code object <module> at 0xb6e4c4e8, file "EventStats/HitCounts", line 2>
/EventStats/HitCounts
in
()
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/formatter/base.py
in macro
(self=<MoinMoin.formatter.text_html.Formatter instance at 0xb6e3366c>, macro_obj=<MoinMoin.wikimacro.Macro instance at 0xb6e3b16c>, name=u'StatsChart', args=u'hitcounts')
- 288 def macro(self, macro_obj, name, args):
- 289 # call the macro
- 290 return macro_obj.execute(name, args)
- 291
- 292 def _get_bang_args(self, line):
- macro_obj
= <MoinMoin.wikimacro.Macro instance at 0xb6e3b16c>
- macro_obj.execute
= <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance at 0xb6e3b16c>>
- name
= u'StatsChart'
- args
= u'hitcounts'
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/wikimacro.py
in execute
(self=<MoinMoin.wikimacro.Macro instance at 0xb6e3b16c>, macro_name=u'StatsChart', args=u'hitcounts')
- 118 else:
- 119 raise ImportError("Cannot load macro %s" % macro_name)
- 120 return execute(self, args)
- 121
- 122 def _m_lang(self, text):
- execute
= <function execute at 0xb6e3f25c>
- self
= <MoinMoin.wikimacro.Macro instance at 0xb6e3b16c>
- args
= u'hitcounts'
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/macro/StatsChart.py
in execute
(macro=<MoinMoin.wikimacro.Macro instance at 0xb6e3b16c>, args=u'hitcounts', **kw={})
- 29 formatter.text(_('Bad chart type "%s"!') % args) +
- 30 formatter.sysmsg(0))
- 31
- 32 return func(macro.formatter.page.page_name, macro.request)
- 33
- func
= <function linkto at 0xb6e3f2cc>
- macro
= <MoinMoin.wikimacro.Macro instance at 0xb6e3b16c>
- macro.formatter
= <MoinMoin.formatter.text_html.Formatter instance at 0xb6e3366c>
- macro.formatter.page
= <MoinMoin.Page.Page instance at 0xb6f5816c>
- macro.formatter.page.page_name
= u'EventStats/HitCounts'
- macro.request
= <MoinMoin.request.RequestModPy object at 0xb6e91aec>
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/stats/hitcounts.py
in linkto
(pagename=u'EventStats/HitCounts', request=<MoinMoin.request.RequestModPy object at 0xb6e91aec>, params='')
- 27 if not request.cfg.chart_options:
- 28 request.formatter = Formatter(request)
- 29 return text(pagename, request, params)
- 30
- 31 if _debug:
- global
text
= <function text at 0xb6e3f294>
- pagename
= u'EventStats/HitCounts'
- request
= <MoinMoin.request.RequestModPy object at 0xb6e91aec>
- params
= ''
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/stats/hitcounts.py
in text
(pagename=u'EventStats/HitCounts', request=<MoinMoin.request.RequestModPy object at 0xb6e91aec>, params='')
- 147 filterpage = request.form['page'][0]
- 148
- 149 days, views, edits = get_data(pagename, request, filterpage)
- 150
- 151 hits = TupleDataset()
- days undefined
- views undefined
- edits undefined
- global
get_data
= <function get_data at 0xb6e3f1b4>
- pagename
= u'EventStats/HitCounts'
- request
= <MoinMoin.request.RequestModPy object at 0xb6e91aec>
- filterpage
= None
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/stats/hitcounts.py
in get_data
(pagename=u'EventStats/HitCounts', request=<MoinMoin.request.RequestModPy object at 0xb6e91aec>, filterpage=None)
- 82 if new_date is not None:
- 83 log.set_filter(['VIEWPAGE', 'SAVEPAGE'])
- 84 for event in log.reverse():
- 85 #print ">>>", wikiutil.escape(repr(event)), "<br>"
- 86
- event
= (1203085951284385L, u'VIEWPAGE', {'HTTP_REFERER': u'http://dz.prosyst.com/devzone/ProductsOverview', 'HTTP_USER_AGENT': u'Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12', 'REMOTE_ADDR': u'195.14.248.49', 'pagename': u'Home'})
- log
= <MoinMoin.logfile.eventlog.EventLog instance at 0xb6e4a86c>
- log.reverse
= <bound method EventLog.reverse of <MoinMoin.logfile.eventlog.EventLog instance at 0xb6e4a86c>>
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/logfile/logfile.py
in reverse
(self=<MoinMoin.logfile.eventlog.EventLog instance at 0xb6e4a86c>)
- 97 while 1:
- 98 try:
- 99 result = self.previous()
- 100 except StopIteration:
- 101 return
- result
= (1203085951284385L, u'VIEWPAGE', {'HTTP_REFERER': u'http://dz.prosyst.com/devzone/ProductsOverview', 'HTTP_USER_AGENT': u'Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12', 'REMOTE_ADDR': u'195.14.248.49', 'pagename': u'Home'})
- self
= <MoinMoin.logfile.eventlog.EventLog instance at 0xb6e4a86c>
- self.previous
= <bound method EventLog.previous of <MoinMoin.logfile.eventlog.EventLog instance at 0xb6e4a86c>>
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/logfile/logfile.py
in previous
(self=<MoinMoin.logfile.eventlog.EventLog instance at 0xb6e4a86c>)
- 287 while result == None:
- 288 while result == None:
- 289 result = self.__previous()
- 290 if self.filter and not self.filter(result):
- 291 result = None
- result
= None
- self
= <MoinMoin.logfile.eventlog.EventLog instance at 0xb6e4a86c>
- self.__previous undefined
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/logfile/logfile.py
in __previous
(self=<MoinMoin.logfile.eventlog.EventLog instance at 0xb6e4a86c>)
- 277 def __previous(self):
- 278 if self.peek(-1): raise StopIteration
- 279 return self.parser(self.__buffer.lines[self.__rel_index])
- 280
- 281 def previous(self):
- self
= <MoinMoin.logfile.eventlog.EventLog instance at 0xb6e4a86c>
- self.parser
= <bound method EventLog.parser of <MoinMoin.logfile.eventlog.EventLog instance at 0xb6e4a86c>>
- self.__buffer undefined
- self.__rel_index undefined
/usr/local/utopia/python-2.5.1/lib/python2.5/site-packages/MoinMoin/logfile/eventlog.py
in parser
(self=<MoinMoin.logfile.eventlog.EventLog instance at 0xb6e4a86c>, 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...070725+Firefox/2.0.0.6&REMOTE_ADDR=195.14.248.49\n')
- 52 # badly formatted line in file, skip it
- 53 return None
- 54 return long(time_usecs), eventtype, wikiutil.parseQueryString(kvpairs)
- 55
- 56 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\x001203085363859588'
- eventtype
= u'VIEWPAGE'
- global
wikiutil
= <module 'MoinMoin.wikiutil' from '/usr/local/uto...ib/python2.5/site-packages/MoinMoin/wikiutil.py'>
- wikiutil.parseQueryString
= <function parseQueryString at 0xb6dc90d4>
- kvpairs
= u'pagename=Home&HTTP_USER_AGENT=Mozilla/5.0+%28X11...0070725+Firefox/2.0.0.6&REMOTE_ADDR=195.14.248.49'