--> -->
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.
/home/eqsource/.local/lib/python2.7/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object>)
- 1309 self.page.send_page()
- 1310 else:
- 1311 handler(self.page.page_name, self)
- 1312
- 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function do_print>
- self = <MoinMoin.request.request_wsgi.Request object>
- self.page = <MoinMoin.Page.Page object>
- self.page.page_name = u'FindPage'
/home/eqsource/.local/lib/python2.7/site-packages/MoinMoin/action/__init__.py in do_print (pagename=u'FindPage', request=<MoinMoin.request.request_wsgi.Request object>)
- 275 def do_print(pagename, request):
- 276 """ same as do_show, but with print_mode set """
- 277 do_show(pagename, request, print_mode=1)
- 278
- 279 def do_recall(pagename, request):
- global do_show = <function do_show>
- pagename = u'FindPage'
- request = <MoinMoin.request.request_wsgi.Request object>
- print_mode undefined
/home/eqsource/.local/lib/python2.7/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'FindPage', request=<MoinMoin.request.request_wsgi.Request object>, content_only=0, count_hit=1, cacheable=1, print_mode=1)
- 251 count_hit=count_hit,
- 252 print_mode=print_mode,
- 253 content_only=content_only,
- 254 )
- 255
- content_only = 0
/home/eqsource/.local/lib/python2.7/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 1})
- 1198 format_args=pi['formatargs'],
- 1199 do_cache=do_cache,
- 1200 start_line=pi['lines'])
- 1201
- 1202 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 7}
/home/eqsource/.local/lib/python2.7/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_wsgi.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})
- 1292 try:
- 1293 code = self.loadCache(request)
- 1294 self.execute(request, parser, code)
- 1295 except Exception, e:
- 1296 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_wsgi.Request object>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance>
- code = <code object <module> at 0x7f1dd25c74b0, file "FindPage", line 2>
/home/eqsource/.local/lib/python2.7/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object>, request=<MoinMoin.request.request_wsgi.Request object>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance>, code=<code object <module> at 0x7f1dd25c74b0, file "FindPage", line 2>)
- 1323 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1324 try:
- 1325 exec code
- 1326 except "CacheNeedsUpdate": # convert the exception
- 1327 raise Exception("CacheNeedsUpdate")
- code = <code object <module> at 0x7f1dd25c74b0, file "FindPage", line 2>
/home/eqsource/FindPage in
() /home/eqsource/.local/lib/python2.7/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>>')
- 308 # call the macro
- 309 try:
- 310 return macro_obj.execute(name, args)
- 311 except ImportError, err:
- 312 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
/home/eqsource/.local/lib/python2.7/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance>, macro_name=u'AdvancedSearch', args=None)
- 127 else:
- 128 raise ImportError("Cannot load macro %s" % macro_name)
- 129 return execute(self, args)
- 130
- 131 def _m_lang(self, text):
- execute = <function execute>
- self = <MoinMoin.macro.Macro instance>
- args = None
/home/eqsource/.local/lib/python2.7/site-packages/MoinMoin/macro/AdvancedSearch.py in execute (macro=<MoinMoin.macro.Macro instance>, needle=None)
- 186
- 187 def execute(macro, needle):
- 188 # for now, just show the advanced ui
- 189 return advanced_ui(macro)
- 190
- global advanced_ui = <function advanced_ui>
- macro = <MoinMoin.macro.Macro instance>
/home/eqsource/.local/lib/python2.7/site-packages/MoinMoin/macro/AdvancedSearch.py in advanced_ui (macro=<MoinMoin.macro.Macro instance>)
- 139 (_('Categories'), unicode(c_select), ''),
- 140 (_('Language'), unicode(lang_select), ''),
- 141 (_('File Type'), unicode(mt_select), ''),
- 142 ('', html.INPUT(type='checkbox', name='titlesearch',
- 143 value='1', checked=form_get(request, 'titlesearch', escaped=True),
- _ = <function <lambda>>
- builtin unicode = <type 'unicode'>
- mt_select = <MoinMoin.widget.html.SELECT instance>
/home/eqsource/.local/lib/python2.7/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>
/home/eqsource/.local/lib/python2.7/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, 27 Nov 2024 09:43:47 +0000
- Platform: Linux opal6.opalstack.com 3.10.0-1160.119.1.el7.tuxcare.els4.x86_64 #1 SMP Sat Aug 31 06:58:57 UTC 2024 x86_64
- Python: Python 2.7.5 (/usr/bin/python)
- MoinMoin: Release 1.8.8 (release)