Setting Language in UserPreferences to English will allow you to receive emails from the wiki in English. |
| 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.
/var/lib/python-support/python2.4/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_modpython.Request object>)
- 1281 self.page.send_page(msg=msg)
- 1282 else:
- 1283 handler(self.page.page_name, self)
- 1284
- 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'
/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)
- 239 count_hit=count_hit,
- 240 print_mode=print_mode,
- 241 content_only=content_only,
- 242 )
- 243
- content_only = 0
/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})
- 1179 format_args=pi['formatargs'],
- 1180 do_cache=do_cache,
- 1181 start_line=pi['lines'])
- 1182
- 1183 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 5}
/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})
- 1267 try:
- 1268 code = self.loadCache(request)
- 1269 self.execute(request, parser, code)
- 1270 except Exception, e:
- 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>
/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>)
- 1298 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1299 try:
- 1300 exec code
- 1301 except "CacheNeedsUpdate": # convert the exception
- 1302 raise Exception("CacheNeedsUpdate")
- code = <code object ? at 0xb1115de0, file "RecentChanges", line 2>
/RecentChanges in ?
/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>>')
- 306 # call the macro
- 307 try:
- 308 return macro_obj.execute(name, args)
- 309 except ImportError, err:
- 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
/var/lib/python-support/python2.4/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance>, macro_name=u'RecentChanges', args=None)
- 114 else:
- 115 raise ImportError("Cannot load macro %s" % macro_name)
- 116 return execute(self, args)
- 117
- 118 def _m_lang(self, text):
- execute = <function execute>
- self = <MoinMoin.macro.Macro instance>
- args = None
/var/lib/python-support/python2.4/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.macro.Macro instance>, args=None, **kw={})
- 359
- 360 for p in pages:
- 361 request.write(format_page_edits(macro, p, bookmark_usecs))
- 362
- 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
/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)
- 55 line = lines[0]
- 56 pagename = line.pagename
- 57 rev = int(line.rev)
- 58 tnow = time.time()
- 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)