Bug in MoinMoin on http://wiki.debian.org/ (idem)
Hi,
Same error like Jonas Stein (but on french page)
Now it's Ok, but someone can make a diagnostic ?
Best regards
Salokine.
---------- Message transmis ----------
Sujet : error on http://wiki.debian.org
Date : dimanche 11 novembre 2007
De : Salokine Terata <salokine.terata@free.fr>
À : debian-admin@debian.org
Hi,
Sorry, we have an error on http://wiki.debian.org/ModificationsRécentes
Can we help us ?
Best regards
Salokine
--
Homepage http://www.salokine.org
La diversité est une richesse, protègeons-là.
ModificationsRécentes
Tip: you can add your favorite pages to your navibar. See your Quicklinks list in UserPreferences.
Placer un signet (aucun signet n'a été défini)
Voir 1 | 2 | 3 | 7 | 14 | 30 | 60 | 90 jours.
--> -->
ValueErrorinvalid literal for long(): (Presentation -> Introduction) Please include this information in your bug reports!:
Python Python 2.3.5: /usr/bin/python
Linux rietz 2.6.18.3 #1 SMP Sat Nov 25 14:44:48 PST 2006 x86_64
MoinMoin Release 1.3.4 [Revision 1.3.4 release]
Sun Nov 11 21:47:10 2007
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.3/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestModPy instance>)
863 if self.cfg.allow_extended_names:
864 self.page = Page(self, pagename)
865 self.page.send_page(self, count_hit=1)
866 else:
867 # TODO: kill this. Why disable allow extended names?
self = <MoinMoin.request.RequestModPy instance>, self.page = <MoinMoin.Page.Page instance>, self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>, count_hit undefined
/usr/lib/python2.3/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy instance>, msg='', **keywords={'count_hit': 1})
1143 else:
1144 # parse the text and send the page content
1145 self.send_page_content(request, Parser, body, format_args=pi_formatargs, do_cache=do_cache)
1146
1147 # check for pending footnotes
self = <MoinMoin.Page.Page instance>, self.send_page_content = <bound method Page.send_page_content of <MoinMoin.Page.Page instance>>, request = <MoinMoin.request.RequestModPy instance>, Parser = <class MoinMoin.parser.wiki.Parser>, body = u'||<tablewidth="100%" #FFFFA0> [[RandomQuote()]]|...wikis, consulter OpenWiki:WikiSites/Aggregation.\n', format_args undefined, pi_formatargs = u'', do_cache = 1
/usr/lib/python2.3/site-packages/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy instance>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'||<tablewidth="100%" #FFFFA0> [[RandomQuote()]]|...wikis, consulter OpenWiki:WikiSites/Aggregation.\n', needsupdate=0, format_args=u'', do_cache=1)
1306 __file__ = os.path.join(moinmodule.__loader__.archive, 'dummy')
1307
1308 exec code
1309 except 'CacheNeedsUpdate':
1310 # if something goes wrong, try without caching
code = <code object ? at 0xf74aeea0, file "ModificationsRécentes", line 2>
/ModificationsRécentes
/usr/lib/python2.3/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)
226 def macro(self, macro_obj, name, args):
227 # call the macro
228 return macro_obj.execute(name, args)
229
230 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.3/site-packages/MoinMoin/wikimacro.py in execute(self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'RecentChanges', args=None)
99 macro = wikiutil.importPlugin(self.request.cfg, 'macro', macro_name)
100 if macro:
101 return macro(self, args)
102
103 builtins = vars(self.__class__)
macro = <function execute>, self = <MoinMoin.wikimacro.Macro instance>, args = None
/usr/lib/python2.3/site-packages/MoinMoin/macro/RecentChanges.py in execute(macro=<MoinMoin.wikimacro.Macro instance>, args=None, **kw={})
279 day_count = 0
280
281 for line in log.reverse():
282
283 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.3/site-packages/MoinMoin/logfile/logfile.py in reverse(self=<MoinMoin.logfile.editlog.EditLog instance>)
89 while 1:
90 try:
91 result = self.previous()
92 except StopIteration:
93 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.3/site-packages/MoinMoin/logfile/logfile.py in previous(self=<MoinMoin.logfile.editlog.EditLog instance>)
262 while result == None:
263 while result == None:
264 result = self.__previous()
265 if self.filter and not self.filter(result):
266 result = None
result = None, self = <MoinMoin.logfile.editlog.EditLog instance>, self.__previous undefined
/usr/lib/python2.3/site-packages/MoinMoin/logfile/logfile.py in __previous(self=<MoinMoin.logfile.editlog.EditLog instance>)
252 def __previous(self):
253 if self.peek(-1): raise StopIteration
254 return self.parser(self.__buffer.lines[self.__rel_index])
255
256 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.3/site-packages/MoinMoin/logfile/editlog.py in parser(self=<MoinMoin.logfile.editlog.EditLog instance>, line=u' (Presentation -> Introduction)\n')
140 result.hostname = result.addr
141 result.pagename = wikiutil.unquoteWikiname(result.pagename.encode('ascii'))
142 result.ed_time_usecs = long(result.ed_time_usecs or '0') # has to be long for py 2.2.x
143 return result
144
result = <MoinMoin.logfile.editlog.EditLogLine instance>, result.ed_time_usecs = u'(Presentation -> Introduction)', long undefined
ValueError: invalid literal for long(): (Presentation -> Introduction)
__doc__ = 'Inappropriate argument value (of correct type).'
__getitem__ = <bound method ValueError.__getitem__ of <exceptions.ValueError instance>>
__init__ = <bound method ValueError.__init__ of <exceptions.ValueError instance>>
__module__ = 'exceptions'
__str__ = <bound method ValueError.__str__ of <exceptions.ValueError instance>>
args = ('invalid literal for long(): (Presentation -> Introduction)',)
Reply to: