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(): [url=http://ieovelpx.com/bobz/gval.html]My homepage[/url] | [url=http://tonuints.com/apyk/pnyj.html]Cool site[/url]"

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.

  1. /var/lib/python-support/python2.4/MoinMoin/request.py in run (self=<MoinMoin.request.RequestFastCGI object>)

    1. 1152 # Visit pagename
    2. 1153 self.page = Page(self, pagename)
    3. 1154 self.page.send_page(self, count_hit=1)
    4. 1155
    5. 1156 # generate page footer (actions that do not want this footer
    • self = <MoinMoin.request.RequestFastCGI object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
    • count_hit undefined
  2. /var/lib/python-support/python2.4/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, msg='', **keywords={'count_hit': 1})

    1. 1234 format_args=pi_formatargs,
    2. 1235 do_cache=do_cache,
    3. 1236 start_line=pi_lines)
    4. 1237
    5. 1238 # check for pending footnotes
    • start_line undefined
    • pi_lines = 7
  3. /var/lib/python-support/python2.4/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI 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})

    1. 1317 try:
    2. 1318 code = self.loadCache(request)
    3. 1319 self.execute(request, parser, code)
    4. 1320 except 'CacheNeedsUpdate':
    5. 1321 try:
    • self = <MoinMoin.Page.Page instance>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestFastCGI object>
    • parser = <MoinMoin.parser.wiki.Parser instance>
    • code = <code object ? at 0x2aaaab766c70, file "AbandonedPages", line 2>
  4. /var/lib/python-support/python2.4/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object ? at 0x2aaaab766c70, file "AbandonedPages", line 2>)

    1. 1341 if hasattr(MoinMoin, '__loader__'):
    2. 1342 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    3. 1343 exec code
    4. 1344
    5. 1345 def loadCache(self, request):
    • code = <code object ? at 0x2aaaab766c70, file "AbandonedPages", line 2>
  5. /var/lib/apache2/fastcgi/AbandonedPages in ?

  6. /var/lib/python-support/python2.4/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'AbandonedPages', args=None)

    1. 288 def macro(self, macro_obj, name, args):
    2. 289 # call the macro
    3. 290 return macro_obj.execute(name, args)
    4. 291
    5. 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
  7. /var/lib/python-support/python2.4/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'AbandonedPages', args=None)

    1. 118 else:
    2. 119 raise ImportError("Cannot load macro %s" % macro_name)
    3. 120 return execute(self, args)
    4. 121
    5. 122 def _m_lang(self, text):
    • execute = <function execute>
    • self = <MoinMoin.wikimacro.Macro instance>
    • args = None
  8. /var/lib/python-support/python2.4/MoinMoin/macro/AbandonedPages.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=None)

    1. 13 from MoinMoin.macro import RecentChanges
    2. 14
    3. 15 def execute(macro, args):
    4. 16 return RecentChanges.execute(macro, args, abandoned=1)
    5. 17
    • global RecentChanges = <module 'MoinMoin.macro.RecentChanges' from '/va...port/python2.4/MoinMoin/macro/RecentChanges.pyc'>
    • RecentChanges.execute = <function execute>
    • macro = <MoinMoin.wikimacro.Macro instance>
    • args = None
    • abandoned undefined
  9. /var/lib/python-support/python2.4/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=None, **kw={'abandoned': 1})

    1. 222 # handle abandoned keyword
    2. 223 if kw.get('abandoned', 0):
    3. 224 print_abandoned(macro, args, **kw)
    4. 225 return ''
    5. 226
    • global print_abandoned = <function print_abandoned>
    • macro = <MoinMoin.wikimacro.Macro instance>
    • args = None
    • kw = {'abandoned': 1}
  10. /var/lib/python-support/python2.4/MoinMoin/macro/RecentChanges.py in print_abandoned (macro=<MoinMoin.wikimacro.Macro instance>, args=None, **kw={'abandoned': 1})

    1. 147 last_edits = []
    2. 148 for name in pages:
    3. 149 log = Page(request, name)._last_edited(request)
    4. 150 if log:
    5. 151 last_edits.append(log)
    • log = None
    • global Page = <class MoinMoin.Page.Page>
    • request = <MoinMoin.request.RequestFastCGI object>
    • name = u'RobertParkes'
    • )._last_edited undefined
  11. /var/lib/python-support/python2.4/MoinMoin/Page.py in _last_edited (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>)

    1. 396 logfile = editlog.EditLog(request, self.getPagePath('edit-log', check_create=0, isfile=1))
    2. 397 logfile.to_end()
    3. 398 log = logfile.previous()
    4. 399 except StopIteration:
    5. 400 log = None
    • log undefined
    • logfile = <MoinMoin.logfile.editlog.EditLog instance>
    • logfile.previous = <bound method EditLog.previous of <MoinMoin.logfile.editlog.EditLog instance>>
  12. /var/lib/python-support/python2.4/MoinMoin/logfile/logfile.py in previous (self=<MoinMoin.logfile.editlog.EditLog instance>)

    1. 292 while result == None:
    2. 293 while result == None:
    3. 294 result = self.__previous()
    4. 295 if self.filter and not self.filter(result):
    5. 296 result = None
    • result = None
    • self = <MoinMoin.logfile.editlog.EditLog instance>
    • self.__previous undefined
  13. /var/lib/python-support/python2.4/MoinMoin/logfile/logfile.py in __previous (self=<MoinMoin.logfile.editlog.EditLog instance>)

    1. 282 def __previous(self):
    2. 283 if self.peek(-1): raise StopIteration
    3. 284 return self.parser(self.__buffer.lines[self.__rel_index])
    4. 285
    5. 286 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
  14. /var/lib/python-support/python2.4/MoinMoin/logfile/editlog.py in parser (self=<MoinMoin.logfile.editlog.EditLog instance>, line=u'[url=http://ieovelpx.com/bobz/gval.html]My homep...p://tonuints.com/apyk/pnyj.html]Cool site[/url]"\n')

    1. 190 result.hostname = result.addr
    2. 191 result.pagename = wikiutil.unquoteWikiname(result.pagename.encode('ascii'))
    3. 192 result.ed_time_usecs = long(result.ed_time_usecs or '0') # has to be long for py 2.2.x
    4. 193 return result
    5. 194
    • result = <MoinMoin.logfile.editlog.EditLogLine instance>
    • result.ed_time_usecs = u'[url=http://ieovelpx.com/bobz/gval.html]My homep...tp://tonuints.com/apyk/pnyj.html]Cool site[/url]"'
    • builtin long = <type 'long'>

ValueError

invalid literal for long(): [url=http://ieovelpx.com/bobz/gval.html]My homepage[/url] | [url=http://tonuints.com/apyk/pnyj.html]Cool site[/url]"

  • args = ('invalid literal for long(): [url=http://ieovelpx...tp://tonuints.com/apyk/pnyj.html]Cool site[/url]"',)

System Details

  • Date: Wed, 07 Jan 2009 00:08:48 +0000
  • Platform: Linux levinux.poly9.net 2.6.18-6-vserver-amd64 #1 SMP Fri Jun 6 05:50:26 UTC 2008 x86_64
  • Python: Python 2.4.4 (/var/lib/apache2/fastcgi/)
  • MoinMoin: Release 1.5.3 (release)