This is an index of all pages in this Wiki.
See also:
WordIndex -- a permuted index of all words occuring in titles
SiteNavigation -- other indexing schemes
--> -->
UnicodeDecodeError
'utf8' codec can't decode bytes in position 170-175: unsupported Unicode code range
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.
/var/lib/python-support/python2.5/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object at 0x93c3eac>)
- 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 0x94229cc>
- self = <MoinMoin.request.RequestModPy object at 0x93c3eac>
- self.page = <MoinMoin.Page.Page instance at 0x93dbe8c>
- self.page.page_name = u'TitleIndex'
/var/lib/python-support/python2.5/MoinMoin/wikiaction.py in do_show (pagename=u'TitleIndex', request=<MoinMoin.request.RequestModPy object at 0x93c3eac>)
- 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 0x93d3b0c>
- request = <MoinMoin.request.RequestModPy object at 0x93c3eac>
- pagename = u'TitleIndex'
- ).send_page undefined
- count_hit undefined
/var/lib/python-support/python2.5/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x94a6fac>, request=<MoinMoin.request.RequestModPy object at 0x93c3eac>, 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 = 5
/var/lib/python-support/python2.5/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x94a6fac>, request=<MoinMoin.request.RequestModPy object at 0x93c3eac>, Parser=<class MoinMoin.parser.wiki.Parser at 0x9578b0c>, body=u'This is an index of all pages in this Wiki. \n\nS... -- other indexing schemes\n\n----\n\n[[TitleIndex]]\n', format_args=u'', do_cache=1, **kw={'start_line': 5})
- 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 0x94a6fac>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance at 0x94a6fac>>
- request = <MoinMoin.request.RequestModPy object at 0x93c3eac>
- parser = <MoinMoin.parser.wiki.Parser instance at 0x957694c>
- code = <code object <module> at 0x957a9b0, file "TitleIndex", line 2>
/var/lib/python-support/python2.5/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance at 0x94a6fac>, request=<MoinMoin.request.RequestModPy object at 0x93c3eac>, parser=<MoinMoin.parser.wiki.Parser instance at 0x957694c>, code=<code object <module> at 0x957a9b0, file "TitleIndex", 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 0x957a9b0, file "TitleIndex", line 2>
/TitleIndex in
() /var/lib/python-support/python2.5/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x94df94c>, macro_obj=<MoinMoin.wikimacro.Macro instance at 0x95079cc>, name=u'TitleIndex', 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 0x95079cc>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance at 0x95079cc>>
- name = u'TitleIndex'
- args = None
/var/lib/python-support/python2.5/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance at 0x95079cc>, macro_name=u'TitleIndex', 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 = <unbound method Macro._macro_TitleIndex>
- self = <MoinMoin.wikimacro.Macro instance at 0x95079cc>
- args = None
/var/lib/python-support/python2.5/MoinMoin/wikimacro.py in _macro_TitleIndex (self=<MoinMoin.wikimacro.Macro instance at 0x95079cc>, args=None)
- 290 def filter(name):
- 291 return not wikiutil.isSystemPage(self.request, name)
- 292 pages = self.request.rootpage.getPageList(filter=filter)
- 293
- 294 # Sort ignoring case
- pages undefined
- self = <MoinMoin.wikimacro.Macro instance at 0x95079cc>
- self.request = <MoinMoin.request.RequestModPy object at 0x93c3eac>
- self.request.rootpage = <MoinMoin.Page.Page instance at 0x93ccaec>
- self.request.rootpage.getPageList = <bound method Page.getPageList of <MoinMoin.Page.Page instance at 0x93ccaec>>
- filter = <function filter at 0x9583ae4>
/var/lib/python-support/python2.5/MoinMoin/Page.py in getPageList (self=<MoinMoin.Page.Page instance at 0x93ccaec>, user=<MoinMoin.user.User at 0x93db5cc name:'' id:1268420740.82.65387 valid:0>, exists=1, filter=<function filter at 0x9583ae4>)
- 692
- 693 # Filter out page user may not read.
- 694 if user and not user.may.read(name):
- 695 continue
- 696
- user = <MoinMoin.user.User at 0x93db5cc name:'' id:1268420740.82.65387 valid:0>
- user.may = <MoinMoin.security.Permissions instance at 0x93db6cc>
- user.may.read = <function <lambda> at 0x965d684>
- name = u'WortIndex'
/var/lib/python-support/python2.5/MoinMoin/security.py in
(pagename=u'WortIndex', Page=<class MoinMoin.Page.Page at 0x93d3b0c>, request=<MoinMoin.request.RequestModPy object at 0x93c3eac>, attr='read') - 50 Page = self.Page
- 51 if attr in request.cfg.acl_rights_valid:
- 52 return lambda pagename, Page=Page, request=request, attr=attr: Page(request, pagename).getACL(request).may(request, self.name, attr)
- 53 else:
- 54 raise AttributeError, attr
- pagename = u'WortIndex'
- Page = <class MoinMoin.Page.Page at 0x93d3b0c>
- request = <MoinMoin.request.RequestModPy object at 0x93c3eac>
- attr = 'read'
- ).getACL undefined
- ).may undefined
- self = <MoinMoin.security.Permissions instance at 0x93db6cc>
- self.name = ''
/var/lib/python-support/python2.5/MoinMoin/Page.py in getACL (self=<MoinMoin.Page.Page instance at 0x957ec0c>, request=<MoinMoin.request.RequestModPy object at 0x93c3eac>)
- 1621 aclRevision, acl = None, None
- 1622 if aclRevision != currentRevision:
- 1623 acl = self.parseACL()
- 1624 request.cfg._acl_cache[key] = (currentRevision, acl)
- 1625 request.clock.stop('getACL')
- acl = None
- self = <MoinMoin.Page.Page instance at 0x957ec0c>
- self.parseACL = <bound method Page.parseACL of <MoinMoin.Page.Page instance at 0x957ec0c>>
/var/lib/python-support/python2.5/MoinMoin/Page.py in parseACL (self=<MoinMoin.Page.Page instance at 0x957ec0c>)
- 1634 import wikiacl
- 1635 if self.exists() and self.rev == 0:
- 1636 return wikiacl.parseACL(self.request, self.get_raw_body())
- 1637 try:
- 1638 lastRevision = self.getRevList()[0]
- wikiacl = <module 'MoinMoin.wikiacl' from '/var/lib/python-support/python2.5/MoinMoin/wikiacl.pyc'>
- wikiacl.parseACL = <function parseACL at 0x94a56f4>
- self = <MoinMoin.Page.Page instance at 0x957ec0c>
- self.request = <MoinMoin.request.RequestModPy object at 0x93c3eac>
- self.get_raw_body = <bound method Page.get_raw_body of <MoinMoin.Page.Page instance at 0x957ec0c>>
/var/lib/python-support/python2.5/MoinMoin/Page.py in get_raw_body (self=<MoinMoin.Page.Page instance at 0x957ec0c>)
- 797 # read file content and make sure it is closed properly
- 798 try:
- 799 text = file.read()
- 800 text = self.decodeTextMimeType(text)
- 801 self.set_raw_body(text)
- text undefined
- file = <closed file '/var/tech/data/pages/WortIndex/revisions/00000001', mode 'rb' at 0x9572f50>
- file.read = <bound method StreamReaderWriter.read of <closed...dex/revisions/00000001', mode 'rb' at 0x9572f50>>
/usr/lib/python2.5/codecs.py in read (self=<closed file '/var/tech/data/pages/WortIndex/revisions/00000001', mode 'rb' at 0x9572f50>, size=-1)
- 616 def read(self, size=-1):
- 617
- 618 return self.reader.read(size)
- 619
- 620 def readline(self, size=None):
- self = <closed file '/var/tech/data/pages/WortIndex/revisions/00000001', mode 'rb' at 0x9572f50>
- self.reader = <closed file '/var/tech/data/pages/WortIndex/revisions/00000001', mode 'rb' at 0x9572f50>
- self.reader.read = <bound method StreamReader.read of <closed file ...dex/revisions/00000001', mode 'rb' at 0x9572f50>>
- size = -1
/usr/lib/python2.5/codecs.py in read (self=<closed file '/var/tech/data/pages/WortIndex/revisions/00000001', mode 'rb' at 0x9572f50>, size=-1, chars=-1, firstline=False)
- 422 data = self.bytebuffer + newdata
- 423 try:
- 424 newchars, decodedbytes = self.decode(data, self.errors)
- 425 except UnicodeDecodeError, exc:
- 426 if firstline:
- newchars undefined
- decodedbytes undefined
- self = <closed file '/var/tech/data/pages/WortIndex/revisions/00000001', mode 'rb' at 0x9572f50>
- self.decode = <built-in function utf_8_decode>
- data = '##language:de\n##master-page:WordIndex\n##master-d... Index\n * Aktuelle\xc4nderungen\n\n----\n[[WordIndex]]\n'
- self.errors = 'strict'
UnicodeDecodeError
'utf8' codec can't decode bytes in position 170-175: unsupported Unicode code range
- args = ('utf8', '##language:de\n##master-page:WordIndex\n##master-d... Index\n * Aktuelle\xc4nderungen\n\n----\n[[WordIndex]]\n', 170, 176, 'unsupported Unicode code range')
- encoding = 'utf8'
- end = 176
- message = ''
- object = '##language:de\n##master-page:WordIndex\n##master-d... Index\n * Aktuelle\xc4nderungen\n\n----\n[[WordIndex]]\n'
- reason = 'unsupported Unicode code range'
- start = 170
System Details
- Date: Fri, 12 Mar 2010 19:05:40 +0000
- Platform: Linux morticia 2.6.24-19-server #1 SMP Wed Jun 4 17:16:58 UTC 2008 i686
- Python: Python 2.5.2 (/usr/bin/python)
- MoinMoin: Release 1.5.8 (release)
