Pages that were not edited since the beginning of history (literally); it's a listing of the oldest entries in the editlog.
--> -->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 execute>
- self = <MoinMoin.request.RequestModPy object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'AbandonedPages'
/usr/lib/python2.6/site-packages/MoinMoin/action/SpellCheck.py in execute (pagename=u'AbandonedPages', request=<MoinMoin.request.RequestModPy object>)
- 221
- 222 if badwords:
- 223 page.send_page(request, msg=msg, hilite_re=badwords_re)
- 224 else:
- 225 page.send_page(request, msg=msg)
- page = <MoinMoin.Page.Page instance>
- page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestModPy object>
- msg = u'The following 16 words could not be found in the...lue="Add checked words to dictionary"></p></form>'
- hilite_re undefined
- badwords_re = <_sre.SRE_Pattern object>
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, msg=u'The following 16 words could not be found in the...lue="Add checked words to dictionary"></p></form>', **keywords={'hilite_re': <_sre.SRE_Pattern object>})
- 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'Pages that were not edited since the beginning o...dest entries in the editlog.\n\n[[AbandonedPages]]\n', format_args=u'', do_cache=1, **kw={'start_line': 7})
- 1341
- 1342 if not (do_cache and self.canUseCache(Parser)):
- 1343 self.format(parser)
- 1344 else:
- 1345 try:
- self = <MoinMoin.Page.Page instance>
- self.format = <bound method Page.format of <MoinMoin.Page.Page instance>>
- parser = <MoinMoin.parser.wiki.Parser instance>
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in format (self=<MoinMoin.Page.Page instance>, parser=<MoinMoin.parser.wiki.Parser instance>)
- 1362 def format(self, parser):
- 1363 """ Format and write page content without caching """
- 1364 parser.format(self.formatter)
- 1365
- 1366 def execute(self, request, parser, code):
- parser = <MoinMoin.parser.wiki.Parser instance>
- parser.format = <bound method Parser.format of <MoinMoin.parser.wiki.Parser instance>>
- self = <MoinMoin.Page.Page instance>
- self.formatter = <MoinMoin.formatter.text_html.Formatter instance>
/usr/lib/python2.6/site-packages/MoinMoin/parser/wiki.py in format (self=<MoinMoin.parser.wiki.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>)
- 1098
- 1099 # Scan line, format and write
- 1100 formatted_line = self.scan(scan_re, line)
- 1101 self.request.write(formatted_line)
- 1102
- formatted_line = u'<p class="line874"><strong class="highlight">Pag...ong> <strong class="highlight">editlog</strong>. '
- self = <MoinMoin.parser.wiki.Parser instance>
- self.scan = <bound method Parser.scan of <MoinMoin.parser.wiki.Parser instance>>
- scan_re = <_sre.SRE_Pattern object>
- line = u'[[AbandonedPages]] '
/usr/lib/python2.6/site-packages/MoinMoin/parser/wiki.py in scan (self=<MoinMoin.parser.wiki.Parser instance>, scan_re=<_sre.SRE_Pattern object>, line=u'[[AbandonedPages]] ')
- 874 self.in_table or self.in_list):
- 875 result.append(self.formatter.paragraph(1, css_class="line867"))
- 876 result.append(self.replace(match))
- 877 lastpos = match.end()
- 878
- result = ['<p class="line867">']
- result.append = <built-in method append of list object>
- self = <MoinMoin.parser.wiki.Parser instance>
- self.replace = <bound method Parser.replace of <MoinMoin.parser.wiki.Parser instance>>
- match = <_sre.SRE_Match object>
/usr/lib/python2.6/site-packages/MoinMoin/parser/wiki.py in replace (self=<MoinMoin.parser.wiki.Parser instance>, match=<_sre.SRE_Match object>)
- 903 # Get replace method and replece hit
- 904 replace = getattr(self, '_' + type + '_repl')
- 905 result.append(replace(hit))
- 906 return ''.join(result)
- 907 else:
- result = []
- result.append = <built-in method append of list object>
- replace = <bound method Parser._macro_repl of <MoinMoin.parser.wiki.Parser instance>>
- hit = u'[[AbandonedPages]]'
/usr/lib/python2.6/site-packages/MoinMoin/parser/wiki.py in _macro_repl (self=<MoinMoin.parser.wiki.Parser instance>, word=u'[[AbandonedPages]]')
- 848 if self.macro is None:
- 849 self.macro = wikimacro.Macro(self)
- 850 return self.formatter.macro(self.macro, macro_name, args)
- 851
- 852 def scan(self, scan_re, line):
- self = <MoinMoin.parser.wiki.Parser instance>
- self.formatter = <MoinMoin.formatter.text_html.Formatter instance>
- self.formatter.macro = <bound method Formatter.macro of <MoinMoin.formatter.text_html.Formatter instance>>
- self.macro = <MoinMoin.wikimacro.Macro instance>
- macro_name = u'AbandonedPages'
- args = None
/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'AbandonedPages', 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'AbandonedPages'
- args = None
/usr/lib/python2.6/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'AbandonedPages', 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/AbandonedPages.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=None)
- 13 from MoinMoin.macro import RecentChanges
- 14
- 15 def execute(macro, args):
- 16 return RecentChanges.execute(macro, args, abandoned=1)
- 17
- global RecentChanges = <module 'MoinMoin.macro.RecentChanges' from '/us...6/site-packages/MoinMoin/macro/RecentChanges.py'>
- RecentChanges.execute = <function execute>
- macro = <MoinMoin.wikimacro.Macro instance>
- args = None
- abandoned undefined
/usr/lib/python2.6/site-packages/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=None, **kw={'abandoned': 1})
- 224 # handle abandoned keyword
- 225 if kw.get('abandoned', 0):
- 226 print_abandoned(macro, args, **kw)
- 227 return ''
- 228
- global print_abandoned = <function print_abandoned>
- macro = <MoinMoin.wikimacro.Macro instance>
- args = None
- kw = {'abandoned': 1}
/usr/lib/python2.6/site-packages/MoinMoin/macro/RecentChanges.py in print_abandoned (macro=<MoinMoin.wikimacro.Macro instance>, args=None, **kw={'abandoned': 1})
- 149 last_edits = []
- 150 for name in pages:
- 151 log = Page(request, name)._last_edited(request)
- 152 if log:
- 153 last_edits.append(log)
- log = <MoinMoin.logfile.editlog.EditLogLine instance>
- global Page = <class MoinMoin.Page.Page>
- request = <MoinMoin.request.RequestModPy object>
- name = u'TextureLecture/002'
- )._last_edited undefined
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in _last_edited (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>)
- 403 logfile = editlog.EditLog(request, self.getPagePath('edit-log', check_create=0, isfile=1))
- 404 logfile.to_end()
- 405 log = logfile.previous()
- 406 except StopIteration:
- 407 log = None
- log undefined
- logfile = <MoinMoin.logfile.editlog.EditLog instance>
- logfile.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: Mon, 01 Jul 2024 03:25:27 +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)