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.

  1. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/request.py in run (self=<MoinMoin.request.RequestFastCGI object at 0x17626d0>)

    1. 1205 self.page.send_page(self, msg=msg)
    2. 1206 else:
    3. 1207 handler(self.page.page_name, self)
    4. 1208
    5. 1209 # generate page footer (actions that do not want this footer use
    • handler = <function do_show at 0xab0b90>
    • self = <MoinMoin.request.RequestFastCGI object at 0x17626d0>
    • self.page = <MoinMoin.Page.Page instance at 0x1b860e0>
    • self.page.page_name = u'AbandonedPages'
  2. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/wikiaction.py in do_show (pagename=u'AbandonedPages', request=<MoinMoin.request.RequestFastCGI object at 0x17626d0>)

    1. 466 else:
    2. 467 request.cacheable = 1
    3. 468 Page(request, pagename).send_page(request, count_hit=1)
    4. 469
    5. 470
    • global Page = <class MoinMoin.Page.Page at 0xa4b5f0>
    • request = <MoinMoin.request.RequestFastCGI object at 0x17626d0>
    • pagename = u'AbandonedPages'
    • ).send_page undefined
    • count_hit undefined
  3. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x1d24c20>, request=<MoinMoin.request.RequestFastCGI object at 0x17626d0>, msg='', **keywords={'count_hit': 1})

    1. 1254 format_args=pi_formatargs,
    2. 1255 do_cache=do_cache,
    3. 1256 start_line=pi_lines)
    4. 1257
    5. 1258 # check for pending footnotes
    • start_line undefined
    • pi_lines = 5
  4. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x1d24c20>, request=<MoinMoin.request.RequestFastCGI object at 0x17626d0>, Parser=<class MoinMoin.parser.wiki.Parser at 0xdbe530>, 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': 5})

    1. 1345 try:
    2. 1346 code = self.loadCache(request)
    3. 1347 self.execute(request, parser, code)
    4. 1348 except Exception, e:
    5. 1349 if not is_cache_exception(e):
    • self = <MoinMoin.Page.Page instance at 0x1d24c20>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance at 0x1d24c20>>
    • request = <MoinMoin.request.RequestFastCGI object at 0x17626d0>
    • parser = <MoinMoin.parser.wiki.Parser instance at 0x1b7ca70>
    • code = <code object <module> at 0x22048a0, file "AbandonedPages", line 2>
  5. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance at 0x1d24c20>, request=<MoinMoin.request.RequestFastCGI object at 0x17626d0>, parser=<MoinMoin.parser.wiki.Parser instance at 0x1b7ca70>, code=<code object <module> at 0x22048a0, file "AbandonedPages", line 2>)

    1. 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1375 try:
    3. 1376 exec code
    4. 1377 except 'CacheNeedsUpdate':
    5. 1378 raise Exception('CacheNeedsUpdate')
    • code = <code object <module> at 0x22048a0, file "AbandonedPages", line 2>
  6. /nfs/www/pt/ubuntu-pt.org/wiki/AbandonedPages in ()

  7. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x1d24950>, macro_obj=<MoinMoin.wikimacro.Macro instance at 0x1d24128>, 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 at 0x1d24128>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance at 0x1d24128>>
    • name = u'AbandonedPages'
    • args = None
  8. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance at 0x1d24128>, 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 at 0xc6d0c8>
    • self = <MoinMoin.wikimacro.Macro instance at 0x1d24128>
    • args = None
  9. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/macro/AbandonedPages.py in execute (macro=<MoinMoin.wikimacro.Macro instance at 0x1d24128>, 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 '/nf...tu-pt.org/wiki/MoinMoin/macro/RecentChanges.pyc'>
    • RecentChanges.execute = <function execute at 0xd56668>
    • macro = <MoinMoin.wikimacro.Macro instance at 0x1d24128>
    • args = None
    • abandoned undefined
  10. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.wikimacro.Macro instance at 0x1d24128>, args=None, **kw={'abandoned': 1})

    1. 224 # handle abandoned keyword
    2. 225 if kw.get('abandoned', 0):
    3. 226 print_abandoned(macro, args, **kw)
    4. 227 return ''
    5. 228
    • global print_abandoned = <function print_abandoned at 0xdc9a28>
    • macro = <MoinMoin.wikimacro.Macro instance at 0x1d24128>
    • args = None
    • kw = {'abandoned': 1}
  11. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/macro/RecentChanges.py in print_abandoned (macro=<MoinMoin.wikimacro.Macro instance at 0x1d24128>, args=None, **kw={'abandoned': 1})

    1. 149 last_edits = []
    2. 150 for name in pages:
    3. 151 log = Page(request, name)._last_edited(request)
    4. 152 if log:
    5. 153 last_edits.append(log)
    • log = <MoinMoin.logfile.editlog.EditLogLine instance at 0x2194b48>
    • global Page = <class MoinMoin.Page.Page at 0xa4b5f0>
    • request = <MoinMoin.request.RequestFastCGI object at 0x17626d0>
    • name = u'MarcoSilva'
    • )._last_edited undefined
  12. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/Page.py in _last_edited (self=<MoinMoin.Page.Page instance at 0x2194320>, request=<MoinMoin.request.RequestFastCGI object at 0x17626d0>)

    1. 403 logfile = editlog.EditLog(request, self.getPagePath('edit-log', check_create=0, isfile=1))
    2. 404 logfile.to_end()
    3. 405 log = logfile.previous()
    4. 406 except StopIteration:
    5. 407 log = None
    • log undefined
    • logfile = <MoinMoin.logfile.editlog.EditLog instance at 0x2194950>
    • logfile.previous = <bound method EditLog.previous of <MoinMoin.logfile.editlog.EditLog instance at 0x2194950>>
  13. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/logfile/logfile.py in previous (self=<MoinMoin.logfile.editlog.EditLog instance at 0x2194950>)

    1. 287 while result == None:
    2. 288 while result == None:
    3. 289 result = self.__previous()
    4. 290 if self.filter and not self.filter(result):
    5. 291 result = None
    • result = None
    • self = <MoinMoin.logfile.editlog.EditLog instance at 0x2194950>
    • self.__previous undefined
  14. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/logfile/logfile.py in __previous (self=<MoinMoin.logfile.editlog.EditLog instance at 0x2194950>)

    1. 277 def __previous(self):
    2. 278 if self.peek(-1): raise StopIteration
    3. 279 return self.parser(self.__buffer.lines[self.__rel_index])
    4. 280
    5. 281 def previous(self):
    • self = <MoinMoin.logfile.editlog.EditLog instance at 0x2194950>
    • self.parser = <bound method EditLog.parser of <MoinMoin.logfile.editlog.EditLog instance at 0x2194950>>
    • self.__buffer undefined
    • self.__rel_index undefined
  15. /nfs/www/pt/ubuntu-pt.org/wiki/MoinMoin/logfile/editlog.py in parser (self=<MoinMoin.logfile.editlog.EditLog instance at 0x2194950>, 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...tp://www.video-s.blo.pl/ free chearleader porn v\n')

    1. 191 result.hostname = result.addr
    2. 192 result.pagename = wikiutil.unquoteWikiname(result.pagename.encode('ascii'))
    3. 193 result.ed_time_usecs = long(result.ed_time_usecs or '0') # has to be long for py 2.2.x
    4. 194 return result
    5. 195
    • result = <MoinMoin.logfile.editlog.EditLogLine instance at 0x21947e8>
    • 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\x001218679899000000'
    • 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\x001218679899000000', 0, 1, 'invalid decimal Unicode string')
  • encoding = 'decimal'
  • end = 1
  • message = ''
  • 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\x001218679899000000'
  • reason = 'invalid decimal Unicode string'
  • start = 0

System Details

  • Date: Sat, 11 Oct 2008 18:57:02 +0000
  • Platform: Linux jok 2.6.24-19-server #1 SMP Fri Jul 11 21:50:43 UTC 2008 x86_64
  • Python: Python 2.5.2 (/usr/bin/python)
  • MoinMoin: Release 1.5.9 (release)