A list of pages no other page links to:
--> -->UnicodeDecodeError
'utf8' codec can't decode byte 0x80 in position 0: unexpected code byte
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.
/usr/local/lib/python2.5/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object at 0x4e38eb4c>)
- 1205 self.page.send_page(self, msg=msg)
- 1206 else:
- 1207 handler(self.page.page_name, self)
- 1208
- 1209 # generate page footer (actions that do not want this footer use
- handler = <function do_show at 0x49e2287c>
- self = <MoinMoin.request.RequestModPy object at 0x4e38eb4c>
- self.page = <MoinMoin.Page.Page instance at 0x4cf5d6ac>
- self.page.page_name = u'OrphanedPages'
/usr/local/lib/python2.5/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'OrphanedPages', request=<MoinMoin.request.RequestModPy object at 0x4e38eb4c>)
- 466 else:
- 467 request.cacheable = 1
- 468 Page(request, pagename).send_page(request, count_hit=1)
- 469
- 470
- global Page = <class MoinMoin.Page.Page at 0x49b8408c>
- request = <MoinMoin.request.RequestModPy object at 0x4e38eb4c>
- pagename = u'OrphanedPages'
- ).send_page undefined
- count_hit undefined
/usr/local/lib/python2.5/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x4e4206cc>, request=<MoinMoin.request.RequestModPy object at 0x4e38eb4c>, msg='', **keywords={'count_hit': 1})
- 1254 format_args=pi_formatargs,
- 1255 do_cache=do_cache,
- 1256 start_line=pi_lines)
- 1257
- 1258 # check for pending footnotes
- start_line undefined
- pi_lines = 1
/usr/local/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x4e4206cc>, request=<MoinMoin.request.RequestModPy object at 0x4e38eb4c>, Parser=<class MoinMoin.parser.wiki.Parser at 0x4ac3f11c>, body=u'A list of pages no other page links to: \n[[OrphanedPages]]\n', format_args='', do_cache=1, **kw={'start_line': 1})
- 1345 try:
- 1346 code = self.loadCache(request)
- 1347 self.execute(request, parser, code)
- 1348 except Exception, e:
- 1349 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page instance at 0x4e4206cc>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance at 0x4e4206cc>>
- request = <MoinMoin.request.RequestModPy object at 0x4e38eb4c>
- parser = <MoinMoin.parser.wiki.Parser instance at 0x4e4203cc>
- code = <code object <module> at 0x4d101068, file "OrphanedPages", line 2>
/usr/local/lib/python2.5/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance at 0x4e4206cc>, request=<MoinMoin.request.RequestModPy object at 0x4e38eb4c>, parser=<MoinMoin.parser.wiki.Parser instance at 0x4e4203cc>, code=<code object <module> at 0x4d101068, file "OrphanedPages", line 2>)
- 1374 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1375 try:
- 1376 exec code
- 1377 except 'CacheNeedsUpdate':
- 1378 raise Exception('CacheNeedsUpdate')
- code = <code object <module> at 0x4d101068, file "OrphanedPages", line 2>
/OrphanedPages in
() /usr/local/lib/python2.5/site-packages/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x4e42056c>, macro_obj=<MoinMoin.wikimacro.Macro instance at 0x4e42094c>, name=u'OrphanedPages', 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 at 0x4e42094c>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance at 0x4e42094c>>
- name = u'OrphanedPages'
- args = None
/usr/local/lib/python2.5/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance at 0x4e42094c>, macro_name=u'OrphanedPages', 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 at 0x4c656df4>
- self = <MoinMoin.wikimacro.Macro instance at 0x4e42094c>
- args = None
/usr/local/lib/python2.5/site-packages/MoinMoin/macro/OrphanedPages.py in execute (macro=<MoinMoin.wikimacro.Macro instance at 0x4e42094c>, args=None)
- 22 orphaned.update(pages)
- 23 for page in pages.values():
- 24 links = page.getPageLinks(macro.request)
- 25 for link in links:
- 26 if link in orphaned:
- links = [u'', u'']
- page = <MoinMoin.Page.Page instance at 0x4f7b762c>
- page.getPageLinks = <bound method Page.getPageLinks of <MoinMoin.Page.Page instance at 0x4f7b762c>>
- macro = <MoinMoin.wikimacro.Macro instance at 0x4e42094c>
- macro.request = <MoinMoin.request.RequestModPy object at 0x4e38eb4c>
/usr/local/lib/python2.5/site-packages/MoinMoin/Page.py in getPageLinks (self=<MoinMoin.Page.Page instance at 0x4f7b762c>, request=<MoinMoin.request.RequestModPy object at 0x4e38eb4c>)
- 1534 cache.update('\n'.join(links) + '\n', True)
- 1535 return links
- 1536 return cache.content(True).split('\n')
- 1537
- 1538 def parsePageLinks(self, request):
- cache = <MoinMoin.caching.CacheEntry instance at 0x4f384a4c>
- cache.content = <bound method CacheEntry.content of <MoinMoin.caching.CacheEntry instance at 0x4f384a4c>>
- builtin True = True
- ).split undefined
/usr/local/lib/python2.5/site-packages/MoinMoin/caching.py in content (self=<MoinMoin.caching.CacheEntry instance at 0x4f384a4c>, decode=True)
- 110 self.request.log("Can't acquire read lock in %s" % self.lock_dir)
- 111 if decode:
- 112 data = data.decode(config.charset)
- 113 return data
- 114
- data = '\x80\x02]q\x01X\x06\x00\x00\x00JsEasyq\x02a.'
- data.decode = <built-in method decode of str object at 0x4e482fb0>
- global config = <module 'MoinMoin.config' from '/usr/local/lib/python2.5/site-packages/MoinMoin/config.pyc'>
- config.charset = 'utf-8'
/usr/local/lib/python2.5/encodings/utf_8.py in decode (input='\x80\x02]q\x01X\x06\x00\x00\x00JsEasyq\x02a.', errors='strict')
- 14
- 15 def decode(input, errors='strict'):
- 16 return codecs.utf_8_decode(input, errors, True)
- 17
- 18 class IncrementalEncoder(codecs.IncrementalEncoder):
- global codecs = <module 'codecs' from '/usr/local/lib/python2.5/codecs.pyc'>
- codecs.utf_8_decode = <built-in function utf_8_decode>
- input = '\x80\x02]q\x01X\x06\x00\x00\x00JsEasyq\x02a.'
- errors = 'strict'
- builtin True = True
UnicodeDecodeError
'utf8' codec can't decode byte 0x80 in position 0: unexpected code byte
- args = ('utf8', '\x80\x02]q\x01X\x06\x00\x00\x00JsEasyq\x02a.', 0, 1, 'unexpected code byte')
- encoding = 'utf8'
- end = 1
- message = ''
- object = '\x80\x02]q\x01X\x06\x00\x00\x00JsEasyq\x02a.'
- reason = 'unexpected code byte'
- start = 0
System Details
- Date: Sat, 22 Nov 2008 22:32:32 +0000
- Platform: FreeBSD host.woodpecker.org.cn 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Feb 26 03:52:58 CST 2008 delphij@host.woodpecker.org.cn:/usr/obj/usr/src/sys/WOODPECKER i386
- Python: Python 2.5.2 (/usr/local/bin/python)
- MoinMoin: Release 1.5.8 (release)