Pages that were not edited since the beginning of history (literally); it's a listing of the oldest entries in the editlog.
--> -->
UnicodeEncodeError
'decimal' codec can't encode character u'\x00' in position 0: invalid decimal Unicode string
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.
/tmp/persistent/allegrogl/moin-1.5.6/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)
- 1172 pass
- 1173 except Exception, err:
- 1174 self.fail(err)
- 1175
- 1176 return self.finish()
- self = <MoinMoin.request.RequestCGI object>
- self.fail = <bound method RequestCGI.fail of <MoinMoin.request.RequestCGI object>>
- err = <exceptions.UnicodeEncodeError instance>
/tmp/persistent/allegrogl/moin-1.5.6/MoinMoin/wikiaction.py in do_show (pagename=u'AbandonedPages', request=<MoinMoin.request.RequestCGI object>)
- 466 else:
- 467 request.cacheable = 1
- 468 Page(request, pagename).send_page(request, count_hit=1)
- 469
- 470
- global Page = <class MoinMoin.Page.Page>
- request = <MoinMoin.request.RequestCGI object>
- pagename = u'AbandonedPages'
- ).send_page undefined
- count_hit undefined
/tmp/persistent/allegrogl/moin-1.5.6/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'count_hit': 1})
- 1251 format_args=pi_formatargs,
- 1252 do_cache=do_cache,
- 1253 start_line=pi_lines)
- 1254
- 1255 # check for pending footnotes
- start_line undefined
- pi_lines = 7
/tmp/persistent/allegrogl/moin-1.5.6/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI 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})
- 1345 except Exception, e:
- 1346 if not is_cache_exception(e):
- 1347 raise
- 1348 try:
- 1349 code = self.makeCache(request, parser)
/tmp/persistent/allegrogl/moin-1.5.6/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object ? at 0xb7d517e0, file "AbandonedPages", line 2>)
- 1373 exec code
- 1374 except 'CacheNeedsUpdate':
- 1375 raise Exception('CacheNeedsUpdate')
- 1376
- 1377 def loadCache(self, request):
- builtin Exception = <class exceptions.Exception>
/home/groups/a/al/allegrogl/cgi-bin/AbandonedPages in ?
/tmp/persistent/allegrogl/moin-1.5.6/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
/tmp/persistent/allegrogl/moin-1.5.6/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
/tmp/persistent/allegrogl/moin-1.5.6/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 '/tm...ogl/moin-1.5.6/MoinMoin/macro/RecentChanges.pyc'>
- RecentChanges.execute = <function execute>
- macro = <MoinMoin.wikimacro.Macro instance>
- args = None
- abandoned undefined
/tmp/persistent/allegrogl/moin-1.5.6/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=None, **kw={'abandoned': 1})
- 222 # handle abandoned keyword
- 223 if kw.get('abandoned', 0):
- 224 print_abandoned(macro, args, **kw)
- 225 return ''
- 226
- global print_abandoned = <function print_abandoned>
- macro = <MoinMoin.wikimacro.Macro instance>
- args = None
- kw = {'abandoned': 1}
/tmp/persistent/allegrogl/moin-1.5.6/MoinMoin/macro/RecentChanges.py in print_abandoned (macro=<MoinMoin.wikimacro.Macro instance>, args=None, **kw={'abandoned': 1})
- 147 last_edits = []
- 148 for name in pages:
- 149 log = Page(request, name)._last_edited(request)
- 150 if log:
- 151 last_edits.append(log)
- log = <MoinMoin.logfile.editlog.EditLogLine instance>
- global Page = <class MoinMoin.Page.Page>
- request = <MoinMoin.request.RequestCGI object>
- name = u'News/2007-07-22'
- )._last_edited undefined
/tmp/persistent/allegrogl/moin-1.5.6/MoinMoin/Page.py in _last_edited (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>)
- 402 log = logfile.previous()
- 403 except StopIteration:
- 404 log = None
- 405 return log
- 406
- log undefined
- builtin None = None
/tmp/persistent/allegrogl/moin-1.5.6/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
/tmp/persistent/allegrogl/moin-1.5.6/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
/tmp/persistent/allegrogl/moin-1.5.6/MoinMoin/logfile/editlog.py in parser (self=<MoinMoin.logfile.editlog.EditLog instance>, line=u'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...em.com/people/tqOZd4e ">www pornotube net</a> bb\n')
- 192 result.hostname = result.addr
- 193 result.pagename = wikiutil.unquoteWikiname(result.pagename.encode('ascii'))
- 194 result.ed_time_usecs = long(result.ed_time_usecs or '0') # has to be long for py 2.2.x
- 195 return result
- 196
- result = <MoinMoin.logfile.editlog.EditLogLine instance>
- result.ed_time_usecs = u'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001217786148000000'
- builtin long = <type 'long'>
UnicodeEncodeError
'decimal' codec can't encode character u'\x00' in position 0: invalid decimal Unicode string
- args = ('decimal', u'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001217786148000000', 0, 1, 'invalid decimal Unicode string')
- encoding = 'decimal'
- end = 1
- object = u'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x001217786148000000'
- reason = 'invalid decimal Unicode string'
- start = 0
System Details
- Date: Sun, 07 Sep 2008 19:01:08 +0000
- Platform: Linux sc8-pr-web10.sourceforge.net 2.6.24.2 #1 SMP Fri Feb 15 11:57:05 PST 2008 i686
- Python: Python 2.3.3 (/usr/bin/python)
- MoinMoin: Release 1.5.6 (release)
