UnicodeError
The string '\xa0test.jpg' cannot be decoded.
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/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/request.py
in __init__
(self=<MoinMoin.request.RequestCGI object>, properties={})
- 1437
- 1438 self._setup_vars_from_std_env(os.environ)
- 1439 RequestBase.__init__(self, properties)
- 1440
- 1441 except Exception, err:
- global
RequestBase
= <class 'MoinMoin.request.RequestBase'>
- RequestBase.__init__
= <unbound method RequestBase.__init__>
- self
= <MoinMoin.request.RequestCGI object>
- properties
= {}
/home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/request.py
in __init__
(self=<MoinMoin.request.RequestCGI object>, properties={})
- 187
- 188 if not self.query_string.startswith('action=xmlrpc'):
- 189 self.args = self.form = self.setup_args()
- 190
- 191 rootname = u''
- self
= <MoinMoin.request.RequestCGI object>
- self.args
= {}
- self.form
= {}
- self.setup_args
= <bound method RequestCGI.setup_args of <MoinMoin.request.RequestCGI object>>
/home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/request.py
in setup_args
(self=<MoinMoin.request.RequestCGI object>, form=None)
- 979 return self._setup_args_from_cgi_form(form)
- 980 args = cgi.parse_qs(self.query_string, keep_blank_values=1)
- 981 return self.decodeArgs(args)
- 982
- 983 def _setup_args_from_cgi_form(self, form=None):
- self
= <MoinMoin.request.RequestCGI object>
- self.decodeArgs
= <bound method RequestCGI.decodeArgs of <MoinMoin.request.RequestCGI object>>
- args
= {'action': ['AttachFile'], 'do': ['view'], 'target': ['\xa0test.jpg']}
/home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/request.py
in decodeArgs
(self=<MoinMoin.request.RequestCGI object>, args={'action': ['AttachFile'], 'do': ['view'], 'target': ['\xa0test.jpg']})
- 1024 result[key] = decode(args[key], self.decode_charsets)
- 1025 else:
- 1026 result[key] = [decode(value, self.decode_charsets) for value in args[key]]
- 1027 return result
- 1028
- result
= {'action': [u'AttachFile'], 'do': [u'view']}
- key
= 'target'
- decode
= <function decodeUserInput>
- value
= '\xa0test.jpg'
- self
= <MoinMoin.request.RequestCGI object>
- self.decode_charsets
= ['utf-8']
- args
= {'action': ['AttachFile'], 'do': ['view'], 'target': ['\xa0test.jpg']}
/home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/wikiutil.py
in decodeUserInput
(s='\xa0test.jpg', charsets=['utf-8'])
- 93 except UnicodeError:
- 94 pass
- 95 raise UnicodeError('The string %r cannot be decoded.' % s)
- 96
- 97
- builtin
UnicodeError
= <type 'exceptions.UnicodeError'>
- s
= '\xa0test.jpg'
UnicodeError
The string '\xa0test.jpg' cannot be decoded.
- args = (r"The string '\xa0test.jpg' cannot be decoded.",)
- message = r"The string '\xa0test.jpg' cannot be decoded."
System Details
- Date: Thu, 28 Mar 2024 20:27:56 +0000
- Platform: Linux sfp-ioweb82-1.v30.lw.sourceforge.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
- Python: Python 2.7.5 (/bin/python)
- MoinMoin: Release 1.5.8 (release)