A list of non-existing pages including a list of the pages where they are referred 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.
/home/moinwikis/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)
- 1179 pass
- 1180 except Exception, err:
- 1181 self.fail(err)
- 1182
- 1183 return self.finish()
- self = <MoinMoin.request.RequestModPy object>
- self.fail = <bound method RequestModPy.fail of <MoinMoin.request.RequestModPy object>>
- err = <exceptions.UnicodeDecodeError instance>
/home/moinwikis/MoinMoin/wikiaction.py in do_show (pagename=u'WantedPages', request=<MoinMoin.request.RequestModPy 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.RequestModPy object>
- pagename = u'WantedPages'
- ).send_page undefined
- count_hit undefined
/home/moinwikis/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, msg='', **keywords={'count_hit': 1})
- 1233 format_args=pi_formatargs,
- 1234 do_cache=do_cache,
- 1235 start_line=pi_lines)
- 1236
- 1237 # check for pending footnotes
- start_line undefined
- pi_lines = 9
/home/moinwikis/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'A list of non-existing pages including a list of...ages where they are referred to:\n[[WantedPages]]\n', format_args=u'', do_cache=1, **kw={'start_line': 9})
- 1319 except Exception, e:
- 1320 if not is_cache_exception(e):
- 1321 raise
- 1322 try:
- 1323 code = self.makeCache(request, parser)
/home/moinwikis/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object ? at 0xb6b7a3a0, file "WantedPages", line 2>)
- 1347 exec code
- 1348 except 'CacheNeedsUpdate':
- 1349 raise Exception('CacheNeedsUpdate')
- 1350
- 1351 def loadCache(self, request):
- builtin Exception = <class exceptions.Exception>
/WantedPages in ?
/home/moinwikis/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'WantedPages', 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'WantedPages'
- args = None
/home/moinwikis/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'WantedPages', 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
/home/moinwikis/MoinMoin/macro/WantedPages.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=None)
- 44
- 45 # Add links to pages which does not exists in pages dict
- 46 links = page.getPageLinks(request)
- 47 for link in links:
- 48 if not link in pages:
- links = [u'', u'']
- page = <MoinMoin.Page.Page instance>
- page.getPageLinks = <bound method Page.getPageLinks of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestModPy object>
/home/moinwikis/MoinMoin/Page.py in getPageLinks (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>)
- 1505 cache.update('\n'.join(links) + '\n', True)
- 1506 return links
- 1507 return cache.content(True).split('\n')
- 1508
- 1509 def parsePageLinks(self, request):
- cache = <MoinMoin.caching.CacheEntry instance>
- cache.content = <bound method CacheEntry.content of <MoinMoin.caching.CacheEntry instance>>
- builtin True = True
- ).split undefined
/home/moinwikis/MoinMoin/caching.py in content (self=<MoinMoin.caching.CacheEntry instance>, decode=True)
- 132 self.request.log("Can't acquire read lock in %s" % self.lock_dir)
- 133 if decode:
- 134 data = data.decode(config.charset)
- 135 return data
- 136
- data = '\x80\x02]q\x01.'
- data.decode = <built-in method decode of str object>
- global config = <module 'MoinMoin.config' from '/home/moinwikis/MoinMoin/config.py'>
- config.charset = 'utf-8'
UnicodeDecodeError
'utf8' codec can't decode byte 0x80 in position 0: unexpected code byte
- args = ('utf8', '\x80\x02]q\x01.', 0, 1, 'unexpected code byte')
- encoding = 'utf8'
- end = 1
- object = '\x80\x02]q\x01.'
- reason = 'unexpected code byte'
- start = 0
System Details
- Date: Mon, 06 Sep 2010 18:44:24 +0000
- Platform: Linux 3rootfiles.rootfiles.net 2.6.9-89.0.25.ELxenU #1 SMP Mon Apr 19 06:26:27 EDT 2010 i686
- Python: Python 2.3.4 (/usr/bin/python)
- MoinMoin: Release 1.5.5a (release)
