Pages that were not edited since the beginning of history (literally); it's a listing of the oldest entries in the editlog.

--> -->

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.

  1. /var/lib/python-support/python2.5/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object at 0x8bf5eac>)

    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 0x8cea994>
    • self = <MoinMoin.request.RequestModPy object at 0x8bf5eac>
    • self.page = <MoinMoin.Page.Page instance at 0x8c0de8c>
    • self.page.page_name = u'AbandonedPages'
  2. /var/lib/python-support/python2.5/MoinMoin/wikiaction.py in do_show (pagename=u'AbandonedPages', request=<MoinMoin.request.RequestModPy object at 0x8bf5eac>)

    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 0x8c05b6c>
    • request = <MoinMoin.request.RequestModPy object at 0x8bf5eac>
    • pagename = u'AbandonedPages'
    • ).send_page undefined
    • count_hit undefined
  3. /var/lib/python-support/python2.5/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x8d6ffac>, request=<MoinMoin.request.RequestModPy object at 0x8bf5eac>, 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. /var/lib/python-support/python2.5/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x8d6ffac>, request=<MoinMoin.request.RequestModPy object at 0x8bf5eac>, Parser=<class MoinMoin.parser.wiki.Parser at 0x8e41b3c>, 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 0x8d6ffac>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance at 0x8d6ffac>>
    • request = <MoinMoin.request.RequestModPy object at 0x8bf5eac>
    • parser = <MoinMoin.parser.wiki.Parser instance at 0x8e3f94c>
    • code = <code object <module> at 0x8e3af98, file "AbandonedPages", line 2>
  5. /var/lib/python-support/python2.5/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance at 0x8d6ffac>, request=<MoinMoin.request.RequestModPy object at 0x8bf5eac>, parser=<MoinMoin.parser.wiki.Parser instance at 0x8e3f94c>, code=<code object <module> at 0x8e3af98, 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 0x8e3af98, file "AbandonedPages", line 2>
  6. /AbandonedPages in ()

  7. /var/lib/python-support/python2.5/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x8da794c>, macro_obj=<MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>, 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 0x8dcf9cc>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>>
    • name = u'AbandonedPages'
    • args = None
  8. /var/lib/python-support/python2.5/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>, 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 0x8e4ac34>
    • self = <MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>
    • args = None
  9. /var/lib/python-support/python2.5/MoinMoin/macro/AbandonedPages.py in execute (macro=<MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>, 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 '/va...port/python2.5/MoinMoin/macro/RecentChanges.pyc'>
    • RecentChanges.execute = <function execute at 0x8e4adbc>
    • macro = <MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>
    • args = None
    • abandoned undefined
  10. /var/lib/python-support/python2.5/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>, 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 0x8e4ad84>
    • macro = <MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>
    • args = None
    • kw = {'abandoned': 1}
  11. /var/lib/python-support/python2.5/MoinMoin/macro/RecentChanges.py in print_abandoned (macro=<MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>, args=None, **kw={'abandoned': 1})

    1. 146 msg = None
    2. 147
    3. 148 pages = request.rootpage.getPageList()
    4. 149 last_edits = []
    5. 150 for name in pages:
    • pages undefined
    • request = <MoinMoin.request.RequestModPy object at 0x8bf5eac>
    • request.rootpage = <MoinMoin.Page.Page instance at 0x8bfeaec>
    • request.rootpage.getPageList = <bound method Page.getPageList of <MoinMoin.Page.Page instance at 0x8bfeaec>>
  12. /var/lib/python-support/python2.5/MoinMoin/Page.py in getPageList (self=<MoinMoin.Page.Page instance at 0x8bfeaec>, user=<MoinMoin.user.User at 0x8c0d5cc name:'' id:1337797301.32.568 valid:0>, exists=1, filter=None)

    1. 692
    2. 693 # Filter out page user may not read.
    3. 694 if user and not user.may.read(name):
    4. 695 continue
    5. 696
    • user = <MoinMoin.user.User at 0x8c0d5cc name:'' id:1337797301.32.568 valid:0>
    • user.may = <MoinMoin.security.Permissions instance at 0x8c0d6cc>
    • user.may.read = <function <lambda> at 0x8f70dbc>
    • name = u'WortIndex'
  13. /var/lib/python-support/python2.5/MoinMoin/security.py in (pagename=u'WortIndex', Page=<class MoinMoin.Page.Page at 0x8c05b6c>, request=<MoinMoin.request.RequestModPy object at 0x8bf5eac>, attr='read')

    1. 50 Page = self.Page
    2. 51 if attr in request.cfg.acl_rights_valid:
    3. 52 return lambda pagename, Page=Page, request=request, attr=attr: Page(request, pagename).getACL(request).may(request, self.name, attr)
    4. 53 else:
    5. 54 raise AttributeError, attr
    • pagename = u'WortIndex'
    • Page = <class MoinMoin.Page.Page at 0x8c05b6c>
    • request = <MoinMoin.request.RequestModPy object at 0x8bf5eac>
    • attr = 'read'
    • ).getACL undefined
    • ).may undefined
    • self = <MoinMoin.security.Permissions instance at 0x8c0d6cc>
    • self.name = ''
  14. /var/lib/python-support/python2.5/MoinMoin/Page.py in getACL (self=<MoinMoin.Page.Page instance at 0x8d6fb4c>, request=<MoinMoin.request.RequestModPy object at 0x8bf5eac>)

    1. 1621 aclRevision, acl = None, None
    2. 1622 if aclRevision != currentRevision:
    3. 1623 acl = self.parseACL()
    4. 1624 request.cfg._acl_cache[key] = (currentRevision, acl)
    5. 1625 request.clock.stop('getACL')
    • acl = None
    • self = <MoinMoin.Page.Page instance at 0x8d6fb4c>
    • self.parseACL = <bound method Page.parseACL of <MoinMoin.Page.Page instance at 0x8d6fb4c>>
  15. /var/lib/python-support/python2.5/MoinMoin/Page.py in parseACL (self=<MoinMoin.Page.Page instance at 0x8d6fb4c>)

    1. 1634 import wikiacl
    2. 1635 if self.exists() and self.rev == 0:
    3. 1636 return wikiacl.parseACL(self.request, self.get_raw_body())
    4. 1637 try:
    5. 1638 lastRevision = self.getRevList()[0]
    • wikiacl = <module 'MoinMoin.wikiacl' from '/var/lib/python-support/python2.5/MoinMoin/wikiacl.pyc'>
    • wikiacl.parseACL = <function parseACL at 0x8d6d684>
    • self = <MoinMoin.Page.Page instance at 0x8d6fb4c>
    • self.request = <MoinMoin.request.RequestModPy object at 0x8bf5eac>
    • self.get_raw_body = <bound method Page.get_raw_body of <MoinMoin.Page.Page instance at 0x8d6fb4c>>
  16. /var/lib/python-support/python2.5/MoinMoin/Page.py in get_raw_body (self=<MoinMoin.Page.Page instance at 0x8d6fb4c>)

    1. 797 # read file content and make sure it is closed properly
    2. 798 try:
    3. 799 text = file.read()
    4. 800 text = self.decodeTextMimeType(text)
    5. 801 self.set_raw_body(text)
    • text undefined
    • file = <closed file '/var/tech/data/pages/WortIndex/revisions/00000001', mode 'rb' at 0x8e439f8>
    • file.read = <bound method StreamReaderWriter.read of <closed...dex/revisions/00000001', mode 'rb' at 0x8e439f8>>
  17. /usr/lib/python2.5/codecs.py in read (self=<closed file '/var/tech/data/pages/WortIndex/revisions/00000001', mode 'rb' at 0x8e439f8>, size=-1)

    1. 616 def read(self, size=-1):
    2. 617
    3. 618 return self.reader.read(size)
    4. 619
    5. 620 def readline(self, size=None):
    • self = <closed file '/var/tech/data/pages/WortIndex/revisions/00000001', mode 'rb' at 0x8e439f8>
    • self.reader = <closed file '/var/tech/data/pages/WortIndex/revisions/00000001', mode 'rb' at 0x8e439f8>
    • self.reader.read = <bound method StreamReader.read of <closed file ...dex/revisions/00000001', mode 'rb' at 0x8e439f8>>
    • size = -1
  18. /usr/lib/python2.5/codecs.py in read (self=<closed file '/var/tech/data/pages/WortIndex/revisions/00000001', mode 'rb' at 0x8e439f8>, size=-1, chars=-1, firstline=False)

    1. 422 data = self.bytebuffer + newdata
    2. 423 try:
    3. 424 newchars, decodedbytes = self.decode(data, self.errors)
    4. 425 except UnicodeDecodeError, exc:
    5. 426 if firstline:
    • newchars undefined
    • decodedbytes undefined
    • self = <closed file '/var/tech/data/pages/WortIndex/revisions/00000001', mode 'rb' at 0x8e439f8>
    • 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: Wed, 23 May 2012 18:21:41 +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)