--> -->
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.
C:\wiki\Python24\lib\site-packages\MoinMoin\request.py in run (self=<MoinMoin.request.RequestModPy object>)
- 1149 from MoinMoin.wikiaction import getHandler
- 1150 handler = getHandler(self, action)
- 1151 handler(self.page.page_name, self)
- 1152
- 1153 # generate page footer (actions that do not want this footer use
- handler = <function do_show>
- self = <MoinMoin.request.RequestModPy object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'ConversionWarnings'
C:\wiki\Python24\lib\site-packages\MoinMoin\wikiaction.py in do_show (pagename=u'ConversionWarnings', 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'ConversionWarnings'
- ).send_page undefined
- count_hit undefined
C:\wiki\Python24\lib\site-packages\MoinMoin\Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy 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 = 0
C:\wiki\Python24\lib\site-packages\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'[[FullSearch(linkto:ConversionWarnings -t:"Conve...t:"ConversionWarnings")]]\n\n----\nmore (WikiNodes)\n', format_args='', do_cache=1, **kw={'start_line': 0})
- 1342 try:
- 1343 code = self.loadCache(request)
- 1344 self.execute(request, parser, code)
- 1345 except Exception, e:
- 1346 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page instance>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestModPy object>
- parser = <MoinMoin.parser.wiki.Parser instance>
- code = <code object ? at 07BA5DE0, file "ConversionWarnings", line 2>
C:\wiki\Python24\lib\site-packages\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 07BA5DE0, file "ConversionWarnings", line 2>)
- 1371 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1372 try:
- 1373 exec code
- 1374 except 'CacheNeedsUpdate':
- 1375 raise Exception('CacheNeedsUpdate')
- code = <code object ? at 07BA5DE0, file "ConversionWarnings", line 2>
C:\wiki\Apache2\ConversionWarnings in ?
C:\wiki\Python24\lib\site-packages\MoinMoin\formatter\base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'FullSearch', args=u'linkto:ConversionWarnings -t:"ConversionWarnings" -t:"ConversionWarnings"')
- 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'FullSearch'
- args = u'linkto:ConversionWarnings -t:"ConversionWarnings" -t:"ConversionWarnings"'
C:\wiki\Python24\lib\site-packages\MoinMoin\wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'FullSearch', args=u'linkto:ConversionWarnings -t:"ConversionWarnings" -t:"ConversionWarnings"')
- 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 = u'linkto:ConversionWarnings -t:"ConversionWarnings" -t:"ConversionWarnings"'
C:\wiki\Python24\lib\site-packages\MoinMoin\macro\FullSearch.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, needle=u'linkto:ConversionWarnings -t:"ConversionWarnings" -t:"ConversionWarnings"')
- 56 # Search the pages and return the results
- 57 query = search.QueryParser().parse_query(needle)
- 58 results = search.searchPages(request, query)
- 59 results.sortByPagename()
- 60
- results undefined
- global search = <module 'MoinMoin.search' from 'C:\wiki\Python24\lib\site-packages\MoinMoin\search.pyc'>
- search.searchPages = <function searchPages>
- request = <MoinMoin.request.RequestModPy object>
- query = <MoinMoin.search.AndExpression instance>
C:\wiki\Python24\lib\site-packages\MoinMoin\search.py in searchPages (request=<MoinMoin.request.RequestModPy object>, query=<MoinMoin.search.AndExpression instance>, **kw={})
- 1265 @rtype: SearchResults instance
- 1266 @return: search results
- 1267 """
- 1268 return Search(request, query).run()
- 1269
- global Search = <class MoinMoin.search.Search>
- request = <MoinMoin.request.RequestModPy object>
- query = <MoinMoin.search.AndExpression instance>
- ).run undefined
C:\wiki\Python24\lib\site-packages\MoinMoin\search.py in run (self=<MoinMoin.search.Search instance>)
- 1166 hits = self._lupySearch()
- 1167 else:
- 1168 hits = self._moinSearch()
- 1169
- 1170 # important - filter deleted pages or pages the user may not read!
- hits undefined
- self = <MoinMoin.search.Search instance>
- self._moinSearch = <bound method Search._moinSearch of <MoinMoin.search.Search instance>>
C:\wiki\Python24\lib\site-packages\MoinMoin\search.py in _moinSearch (self=<MoinMoin.search.Search instance>, pages=[(u'Archicad 10/Project Migration/File and project sizes', ''), (u'KeyboardShortcuts', ''), (u'Archicad 10/Project Migration/Title Type name in PM is longer than 27 characters', ''), (u'HardwareTechNotes', ''), (u'ProjectCacheData', ''), (u'TechNotes/How do I offset a line/polyline/wall', ''), (u'CategoryInputOutput', ''), (u'WIBU-Key', ''), (u'ErrorMessages', ''), (u'TechNotes/OLE limits from Word', ''), (u'Bugs/Door-Window Sill Height cannot be greater than Head Height', ''), (u'Zone Stamp', ''), (u'WikiHomePage', ''), (u'Bugs/Bug in ArchiCAD Student verson', ''), (u'TechNotes/Reviewer Requirements', ''), (u'TechNotes/Copying Selections Between Floor Plan and 3D Window', ''), (u'AutoText', ''), (u'TechNotes/Exporting only parts of the project', ''), (u'Bugs/blank 3D window', ''), (u'LibraryBugs', ''), ...])
- 1227 hits.append((page, attachment, None))
- 1228 else:
- 1229 match = self.query.search(page)
- 1230 if match:
- 1231 hits.append((page, attachment, match))
- match undefined
- self = <MoinMoin.search.Search instance>
- self.query = <MoinMoin.search.AndExpression instance>
- self.query.search = <bound method AndExpression.search of <MoinMoin.search.AndExpression instance>>
- page = <MoinMoin.Page.Page instance>
C:\wiki\Python24\lib\site-packages\MoinMoin\search.py in search (self=<MoinMoin.search.AndExpression instance>, page=<MoinMoin.Page.Page instance>)
- 160 matches = []
- 161 for term in self._subterms:
- 162 result = term.search(page)
- 163 if not result:
- 164 return None
- result = [<MoinMoin.search.Match object>]
- term = <MoinMoin.search.LinkSearch instance>
- term.search = <bound method LinkSearch.search of <MoinMoin.search.LinkSearch instance>>
- page = <MoinMoin.Page.Page instance>
C:\wiki\Python24\lib\site-packages\MoinMoin\search.py in search (self=<MoinMoin.search.LinkSearch instance>, page=<MoinMoin.Page.Page instance>)
- 398 Found = True
- 399
- 400 for link in page.getPageLinks(page.request):
- 401 if ((self.static and self.pattern == link) or
- 402 (not self.static and self.search_re.match(link))):
- link undefined
- page = <MoinMoin.Page.Page instance>
- page.getPageLinks = <bound method Page.getPageLinks of <MoinMoin.Page.Page instance>>
- page.request = <MoinMoin.request.RequestModPy object>
C:\wiki\Python24\lib\site-packages\MoinMoin\Page.py in getPageLinks (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>)
- 1531 cache.update('\n'.join(links) + '\n', True)
- 1532 return links
- 1533 return cache.content(True).split('\n')
- 1534
- 1535 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
C:\wiki\Python24\lib\site-packages\MoinMoin\caching.py in content (self=<MoinMoin.caching.CacheEntry instance>, decode=True)
- 109 self.request.log("Can't acquire read lock in %s" % self.lock_dir)
- 110 if decode:
- 111 data = data.decode(config.charset)
- 112 return data
- 113
- data = '\x80\x02]q\x01(X\n\x00\x00\x00LaszloNagyq\x02X\x02\x00\x00\x00BRq\x03X\t\x00\x00\x00PlotMakerq\x04X\x13\x00\x00\x00CategoryPerformanceq\x05X\r\x00\x00\x00CategorySetupq\x06e.'
- data.decode = <built-in method decode of str object>
- global config = <module 'MoinMoin.config' from 'C:\wiki\Python24\lib\site-packages\MoinMoin\config.pyc'>
- config.charset = 'utf-8'
C:\wiki\Python24\Lib\encodings\utf_8.py in decode (input='\x80\x02]q\x01(X\n\x00\x00\x00LaszloNagyq\x02X\x02\x00\x00\x00BRq\x03X\t\x00\x00\x00PlotMakerq\x04X\x13\x00\x00\x00CategoryPerformanceq\x05X\r\x00\x00\x00CategorySetupq\x06e.', errors='strict')
- 14
- 15 def decode(input, errors='strict'):
- 16 return codecs.utf_8_decode(input, errors, True)
- 17
- 18 class StreamWriter(codecs.StreamWriter):
- global codecs = <module 'codecs' from 'C:\wiki\Python24\Lib\codecs.pyc'>
- codecs.utf_8_decode = <built-in function utf_8_decode>
- input = '\x80\x02]q\x01(X\n\x00\x00\x00LaszloNagyq\x02X\x02\x00\x00\x00BRq\x03X\t\x00\x00\x00PlotMakerq\x04X\x13\x00\x00\x00CategoryPerformanceq\x05X\r\x00\x00\x00CategorySetupq\x06e.'
- errors = 'strict'
- builtin True = True
UnicodeDecodeError
'utf8' codec can't decode byte 0x80 in position 0: unexpected code byte
- args = ('utf8', '\x80\x02]q\x01(X\n\x00\x00\x00LaszloNagyq\x02X\x02\x00\x00\x00BRq\x03X\t\x00\x00\x00PlotMakerq\x04X\x13\x00\x00\x00CategoryPerformanceq\x05X\r\x00\x00\x00CategorySetupq\x06e.', 0, 1, 'unexpected code byte')
- encoding = 'utf8'
- end = 1
- object = '\x80\x02]q\x01(X\n\x00\x00\x00LaszloNagyq\x02X\x02\x00\x00\x00BRq\x03X\t\x00\x00\x00PlotMakerq\x04X\x13\x00\x00\x00CategoryPerformanceq\x05X\r\x00\x00\x00CategorySetupq\x06e.'
- reason = 'unexpected code byte'
- start = 0
System Details
- Date: Wed, 20 Aug 2008 12:06:35 +0000
- Platform: win32 (nt)
- Python: Python 2.4.3 (C:\wiki\Apache2\bin\Apache.exe)
- MoinMoin: Release 1.5.6 (release)
