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.
/var/lib/python-support/python2.5/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object at 0x8bf5eac>)
- 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 0x8cea994>
- self = <MoinMoin.request.RequestModPy object at 0x8bf5eac>
- self.page = <MoinMoin.Page.Page instance at 0x8c0de8c>
- self.page.page_name = u'AbandonedPages'
/var/lib/python-support/python2.5/MoinMoin/wikiaction.py in do_show (pagename=u'AbandonedPages', request=<MoinMoin.request.RequestModPy object at 0x8bf5eac>)
- 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 0x8c05b6c>
- request = <MoinMoin.request.RequestModPy object at 0x8bf5eac>
- pagename = u'AbandonedPages'
- ).send_page undefined
- count_hit undefined
/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})
- 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 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})
- 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 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>
/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>)
- 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 0x8e3af98, file "AbandonedPages", line 2>
/AbandonedPages in
() /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)
- 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 0x8dcf9cc>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>>
- name = u'AbandonedPages'
- args = None
/var/lib/python-support/python2.5/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>, macro_name=u'AbandonedPages', 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 0x8e4ac34>
- self = <MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>
- args = None
/var/lib/python-support/python2.5/MoinMoin/macro/AbandonedPages.py in execute (macro=<MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>, args=None)
- 13 from MoinMoin.macro import RecentChanges
- 14
- 15 def execute(macro, args):
- 16 return RecentChanges.execute(macro, args, abandoned=1)
- 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
/var/lib/python-support/python2.5/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>, args=None, **kw={'abandoned': 1})
- 224 # handle abandoned keyword
- 225 if kw.get('abandoned', 0):
- 226 print_abandoned(macro, args, **kw)
- 227 return ''
- 228
- global print_abandoned = <function print_abandoned at 0x8e4ad84>
- macro = <MoinMoin.wikimacro.Macro instance at 0x8dcf9cc>
- args = None
- kw = {'abandoned': 1}
/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})
- 146 msg = None
- 147
- 148 pages = request.rootpage.getPageList()
- 149 last_edits = []
- 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>>
/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)
- 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 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'
/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') - 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 0x8c05b6c>
- request = <MoinMoin.request.RequestModPy object at 0x8bf5eac>
- attr = 'read'
- ).getACL undefined
- ).may undefined
- self = <MoinMoin.security.Permissions instance at 0x8c0d6cc>
- self.name = ''
/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>)
- 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 0x8d6fb4c>
- self.parseACL = <bound method Page.parseACL of <MoinMoin.Page.Page instance at 0x8d6fb4c>>
/var/lib/python-support/python2.5/MoinMoin/Page.py in parseACL (self=<MoinMoin.Page.Page instance at 0x8d6fb4c>)
- 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 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>>
/var/lib/python-support/python2.5/MoinMoin/Page.py in get_raw_body (self=<MoinMoin.Page.Page instance at 0x8d6fb4c>)
- 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 0x8e439f8>
- file.read = <bound method StreamReaderWriter.read of <closed...dex/revisions/00000001', mode 'rb' at 0x8e439f8>>
/usr/lib/python2.5/codecs.py in read (self=<closed file '/var/tech/data/pages/WortIndex/revisions/00000001', mode 'rb' at 0x8e439f8>, 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 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
/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)
- 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 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)
