--> -->
UnicodeDecodeError
'ascii' codec can't decode byte 0xc2 in position 3: ordinal not in range(128)
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.
/afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object>)
- 1302 self.page.send_page(msg=msg)
- 1303 else:
- 1304 handler(self.page.page_name, self)
- 1305
- 1306 # every action that didn't use to raise MoinMoinNoFooter must call this now:
- handler = <function execute>
- self = <MoinMoin.request.request_cgi.Request object>
- self.page = <MoinMoin.Page.Page object>
- self.page.page_name = u'FindPage'
/afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/action/diff.py in execute (pagename=u'FindPage', request=<MoinMoin.request.request_cgi.Request object>)
- 53 currentrev = currentpage.current_rev()
- 54 if currentrev < 2:
- 55 currentpage.send_page(msg=_("No older revisions available!", formatted=False))
- 56 return
- 57
- currentpage = <MoinMoin.Page.Page object>
- currentpage.send_page = <bound method Page.send_page of <MoinMoin.Page.Page object>>
- msg undefined
- _ = <function <lambda>>
- formatted undefined
- builtin False = False
/afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, msg='No older revisions available!', **keywords={})
- 1179 format_args=pi['formatargs'],
- 1180 do_cache=do_cache,
- 1181 start_line=pi['lines'])
- 1182
- 1183 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 7}
/afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_cgi.Request object>, body=u'\n<<AdvancedSearch>>\n\nYou can use regular express...* SiteNavigation: a longer list of things to try\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 7})
- 1267 try:
- 1268 code = self.loadCache(request)
- 1269 self.execute(request, parser, code)
- 1270 except Exception, e:
- 1271 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page object>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page object>>
- request = <MoinMoin.request.request_cgi.Request object>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
- code = <code object <module> at 0x7fcdc88554b0, file "FindPage", line 2>
/afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_cgi.Request object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>, code=<code object <module> at 0x7fcdc88554b0, file "FindPage", line 2>)
- 1298 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1299 try:
- 1300 exec code
- 1301 except "CacheNeedsUpdate": # convert the exception
- 1302 raise Exception("CacheNeedsUpdate")
- code = <code object <module> at 0x7fcdc88554b0, file "FindPage", line 2>
/afs/cc.monash.edu.au/users/s/a/sangus/WWW/cgi-bin/FindPage in
() /afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.macro.Macro instance>, name=u'AdvancedSearch', args=None, markup=u'<<AdvancedSearch>>')
- 306 # call the macro
- 307 try:
- 308 return macro_obj.execute(name, args)
- 309 except ImportError, err:
- 310 errmsg = unicode(err)
- macro_obj = <MoinMoin.macro.Macro instance>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance>>
- name = u'AdvancedSearch'
- args = None
/afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance>, macro_name=u'AdvancedSearch', args=None)
- 114 else:
- 115 raise ImportError("Cannot load macro %s" % macro_name)
- 116 return execute(self, args)
- 117
- 118 def _m_lang(self, text):
- execute = <function execute>
- self = <MoinMoin.macro.Macro instance>
- args = None
/afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/macro/AdvancedSearch.py in execute (macro=<MoinMoin.macro.Macro instance>, needle=None)
- 187
- 188 def execute(macro, needle):
- 189 # for now, just show the advanced ui
- 190 return advanced_ui(macro)
- 191
- global advanced_ui = <function advanced_ui>
- macro = <MoinMoin.macro.Macro instance>
/afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/macro/AdvancedSearch.py in advanced_ui (macro=<MoinMoin.macro.Macro instance>)
- 140 (_('Categories', formatted=False), unicode(c_select), ''),
- 141 (_('Language', formatted=False), unicode(lang_select), ''),
- 142 (_('File Type', formatted=False), unicode(mt_select), ''),
- 143 ('', html.INPUT(type='checkbox', name='titlesearch',
- 144 value='1', checked=form_get(request, 'titlesearch', escaped=True),
- _ = <function <lambda>>
- formatted undefined
- builtin False = False
- builtin unicode = <type 'unicode'>
- mt_select = <MoinMoin.widget.html.SELECT instance>
/afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/widget/html.py in __unicode__ (self=<MoinMoin.widget.html.SELECT instance>)
- 120 childout = []
- 121 for c in self.children:
- 122 co = unicode(c)
- 123 childout.append(co)
- 124 return "<%s>%s</%s>" % (
- co = u'<option value="application/gzip">*.gz - application/gzip</option>'
- builtin unicode = <type 'unicode'>
- c = <MoinMoin.widget.html.OPTION instance>
/afs/cc.monash.edu.au/users/s/a/sangus/moin164libs/lib/python2.4/site-packages/MoinMoin/widget/html.py in __unicode__ (self=<MoinMoin.widget.html.OPTION instance>)
- 120 childout = []
- 121 for c in self.children:
- 122 co = unicode(c)
- 123 childout.append(co)
- 124 return "<%s>%s</%s>" % (
- co undefined
- builtin unicode = <type 'unicode'>
- c = <MoinMoin.widget.html.Text instance>
UnicodeDecodeError
'ascii' codec can't decode byte 0xc2 in position 3: ordinal not in range(128)
- args = ('ascii', '*.g\xc2\xb3 - application/vnd.geocube+xml', 3, 4, 'ordinal not in range(128)')
- encoding = 'ascii'
- end = 4
- message = ''
- object = '*.g\xc2\xb3 - application/vnd.geocube+xml'
- reason = 'ordinal not in range(128)'
- start = 3
System Details
- Date: Wed, 08 May 2024 03:55:39 +0000
- Platform: Linux is-web09-v02.its.monash.edu 3.10.0-1160.114.2.el7.x86_64 #1 SMP Sun Mar 3 08:18:39 EST 2024 x86_64
- Python: Python 2.7.5 (/usr/bin/python)
- MoinMoin: Release 1.6.4 (release)