Hint: get email notification when this page changes, by clicking Subscribe. |
2008-09-24 | |||||
Reflection IILecture/007 | 06:02 | adsl-76-203-125-226 | |||
2008-09-23 | |||||
Reflection IILecture/005 | 22:40 | planetexpress [1] sjfw1 [2] |
|||
Reflection IILecture/001 | 22:04 | sjfw1 | |||
2008-09-13 | |||||
Basics Lecture/024 | 10:04 | ajo [1] universal-hosting [2] |
|||
2008-04-30 | |||||
Goals Lecture/027 | 16:37 | 78 [1-3] |
ValueError
invalid literal for long() with base 10: '"'
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
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.6/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)
- 1205 self.page.send_page(self, msg=msg)
- 1206 else:
- 1207 handler(self.page.page_name, self)
- 1208
- 1209 # generate page footer (actions that do not want this footer use
- handler = <function do_print>
- self = <MoinMoin.request.RequestModPy object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'RecentChanges'
/usr/lib/python2.6/site-packages/MoinMoin/wikiaction.py in do_print (pagename=u'RecentChanges', request=<MoinMoin.request.RequestModPy object>)
- 486
- 487 def do_print(pagename, request):
- 488 do_show(pagename, request)
- 489
- 490
- global do_show = <function do_show>
- pagename = u'RecentChanges'
- request = <MoinMoin.request.RequestModPy object>
/usr/lib/python2.6/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'RecentChanges', request=<MoinMoin.request.RequestModPy object>)
- 466 else:
- 467 request.cacheable = 1
- 468 Page(request, pagename).send_page(request, count_hit=1)
- 469
- 470
- global Page = <class MoinMoin.Page.Page>
- request = <MoinMoin.request.RequestModPy object>
- pagename = u'RecentChanges'
- ).send_page undefined
- count_hit undefined
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, 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/lib/python2.6/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'\n||<tablestyle="width: 100%; background: #E6EAF0...his wiki.\nMore system information on SystemInfo.\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>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestModPy object>
- parser = <MoinMoin.parser.wiki.Parser instance>
- code = <code object <module> at 0x559d1932eb70, file "RecentChanges", line 2>
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object <module> at 0x559d1932eb70, file "RecentChanges", 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 0x559d1932eb70, file "RecentChanges", line 2>
/RecentChanges in
() /usr/lib/python2.6/site-packages/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'RecentChanges', args=None)
- 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>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>
- name = u'RecentChanges'
- args = None
/usr/lib/python2.6/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'RecentChanges', args=None)
- 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>
- self = <MoinMoin.wikimacro.Macro instance>
- args = None
/usr/lib/python2.6/site-packages/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=None, **kw={})
- 288 day_count = 0
- 289
- 290 for line in log.reverse():
- 291
- 292 if not request.user.may.read(line.pagename):
- line = <MoinMoin.logfile.editlog.EditLogLine instance>
- log = <MoinMoin.logfile.editlog.EditLog instance>
- log.reverse = <bound method EditLog.reverse of <MoinMoin.logfile.editlog.EditLog instance>>
/usr/lib/python2.6/site-packages/MoinMoin/logfile/logfile.py in reverse (self=<MoinMoin.logfile.editlog.EditLog instance>)
- 97 while 1:
- 98 try:
- 99 result = self.previous()
- 100 except StopIteration:
- 101 return
- result = <MoinMoin.logfile.editlog.EditLogLine instance>
- self = <MoinMoin.logfile.editlog.EditLog instance>
- self.previous = <bound method EditLog.previous of <MoinMoin.logfile.editlog.EditLog instance>>
/usr/lib/python2.6/site-packages/MoinMoin/logfile/logfile.py in previous (self=<MoinMoin.logfile.editlog.EditLog instance>)
- 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.editlog.EditLog instance>
- self.__previous undefined
/usr/lib/python2.6/site-packages/MoinMoin/logfile/logfile.py in __previous (self=<MoinMoin.logfile.editlog.EditLog instance>)
- 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.editlog.EditLog instance>
- self.parser = <bound method EditLog.parser of <MoinMoin.logfile.editlog.EditLog instance>>
- self.__buffer undefined
- self.__rel_index undefined
/usr/lib/python2.6/site-packages/MoinMoin/logfile/editlog.py in parser (self=<MoinMoin.logfile.editlog.EditLog instance>, line=u'"\t\n')
- 191 result.hostname = result.addr
- 192 result.pagename = wikiutil.unquoteWikiname(result.pagename.encode('ascii'))
- 193 result.ed_time_usecs = long(result.ed_time_usecs or '0') # has to be long for py 2.2.x
- 194 return result
- 195
- result = <MoinMoin.logfile.editlog.EditLogLine instance>
- result.ed_time_usecs = u'"'
- builtin long = <type 'long'>
ValueError
invalid literal for long() with base 10: '"'
- args = ('invalid literal for long() with base 10: \'"\'',)
- message = 'invalid literal for long() with base 10: \'"\''
System Details
- Date: Thu, 21 Nov 2024 19:57:00 +0000
- Platform: Linux graphics.stanford.edu 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
- Python: Python 2.6.6 (/usr/bin/python)
- MoinMoin: Release 1.5.8 (release)