• Edit
  • View
  • Diffs
  • Info
  • Subscribe
  • Raw
  • Print

Setting Language in UserPreferences to English will allow you to receive emails from the wiki in English.

[RSS]

--> -->
2008-11-22

ValueError

invalid literal for int():

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/__init__.py in run (self=<MoinMoin.request.request_modpython.Request object>)

    1. 1281 self.page.send_page(msg=msg)
    2. 1282 else:
    3. 1283 handler(self.page.page_name, self)
    4. 1284
    5. 1285 # every action that didn't use to raise MoinMoinNoFooter must call this now:
    • handler = <function do_show>
    • self = <MoinMoin.request.request_modpython.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'RecentChanges'
  2. /var/lib/python-support/python2.4/MoinMoin/action/__init__.py in do_show (pagename=u'RecentChanges', request=<MoinMoin.request.request_modpython.Request object>, content_only=0, count_hit=1, cacheable=1, print_mode=0)

    1. 239 count_hit=count_hit,
    2. 240 print_mode=print_mode,
    3. 241 content_only=content_only,
    4. 242 )
    5. 243
    • content_only = 0
  3. /var/lib/python-support/python2.4/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, msg='', **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})

    1. 1179 format_args=pi['formatargs'],
    2. 1180 do_cache=do_cache,
    3. 1181 start_line=pi['lines'])
    4. 1182
    5. 1183 # check for pending footnotes
    • start_line undefined
    • pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 5}
  4. /var/lib/python-support/python2.4/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_modpython.Request object>, body=u'\n||<tablestyle="width: 99%; background: #E6EAF0;...sions of the problematic paragraphs together. ||\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 5})

    1. 1267 try:
    2. 1268 code = self.loadCache(request)
    3. 1269 self.execute(request, parser, code)
    4. 1270 except Exception, e:
    5. 1271 if not is_cache_exception(e):
    • self = <MoinMoin.Page.Page object>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page object>>
    • request = <MoinMoin.request.request_modpython.Request object>
    • parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
    • code = <code object ? at 0xb1115de0, file "RecentChanges", line 2>
  5. /var/lib/python-support/python2.4/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_modpython.Request object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>, code=<code object ? at 0xb1115de0, file "RecentChanges", line 2>)

    1. 1298 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1299 try:
    3. 1300 exec code
    4. 1301 except "CacheNeedsUpdate": # convert the exception
    5. 1302 raise Exception("CacheNeedsUpdate")
    • code = <code object ? at 0xb1115de0, file "RecentChanges", line 2>
  6. /RecentChanges in ?

  7. /var/lib/python-support/python2.4/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.macro.Macro instance>, name=u'RecentChanges', args=None, markup=u'<<RecentChanges>>')

    1. 306 # call the macro
    2. 307 try:
    3. 308 return macro_obj.execute(name, args)
    4. 309 except ImportError, err:
    5. 310 errmsg = unicode(err)
    • macro_obj = <MoinMoin.macro.Macro instance>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance>>
    • name = u'RecentChanges'
    • args = None
  8. /var/lib/python-support/python2.4/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance>, macro_name=u'RecentChanges', args=None)

    1. 114 else:
    2. 115 raise ImportError("Cannot load macro %s" % macro_name)
    3. 116 return execute(self, args)
    4. 117
    5. 118 def _m_lang(self, text):
    • execute = <function execute>
    • self = <MoinMoin.macro.Macro instance>
    • args = None
  9. /var/lib/python-support/python2.4/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.macro.Macro instance>, args=None, **kw={})

    1. 359
    2. 360 for p in pages:
    3. 361 request.write(format_page_edits(macro, p, bookmark_usecs))
    4. 362
    5. 363
    • request = <MoinMoin.request.request_modpython.Request object>
    • request.write = <bound method Request.write of <MoinMoin.request.request_modpython.Request object>>
    • global format_page_edits = <function format_page_edits>
    • macro = <MoinMoin.macro.Macro instance>
    • p = [<MoinMoin.logfile.editlog.EditLogLine instance>]
    • bookmark_usecs = 0
  10. /var/lib/python-support/python2.4/MoinMoin/macro/RecentChanges.py in format_page_edits (macro=<MoinMoin.macro.Macro instance>, lines=[<MoinMoin.logfile.editlog.EditLogLine instance>], bookmark_usecs=0)

    1. 55 line = lines[0]
    2. 56 pagename = line.pagename
    3. 57 rev = int(line.rev)
    4. 58 tnow = time.time()
    5. 59 is_new = lines[-1].action == 'SAVENEW'
    • rev undefined
    • builtin int = <type 'int'>
    • line = <MoinMoin.logfile.editlog.EditLogLine instance>
    • line.rev = ''

ValueError

invalid literal for int():

  • args = ('invalid literal for int(): ',)

System Details

  • Date: Sat, 22 Nov 2008 02:35:40 +0000
  • Platform: Linux mandoca 2.6.22-3-686 #1 SMP Tue Dec 4 02:25:59 UTC 2007 i686
  • Python: Python 2.4.4 (/usr/bin/python)
  • MoinMoin: Release 1.6.3 (release)