Opened 16 years ago
Last modified 16 years ago
#2938 closed defect
Wiki upload attachment failur — at Initial Version
Reported by: | anonymous | Owned by: | Alec Thomas |
---|---|---|---|
Priority: | highest | Component: | TracHacks |
Severity: | blocker | Keywords: | attachment |
Cc: | sunyat@… | Trac Release: | 0.11 |
Description
cause:
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/api.py", line 339, in send_error
'text/html')
File "/usr/local/python2.5/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/chrome.py", line 704, in render_template
return stream.render(method, doctype=doctype)
File "/usr/local/python2.5/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg/genshi/core.py", line 154, in render
return encode(generator, method=method, encoding=encoding)
File "/usr/local/python2.5/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg/genshi/output.py", line 45, in encode
output = u.join(list(iterator))
File "/usr/local/python2.5/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg/genshi/output.py", line 274, in call
for kind, data, pos in stream:
File "/usr/local/python2.5/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg/genshi/output.py", line 519, in call
for kind, data, pos in stream:
File "/usr/local/python2.5/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg/genshi/output.py", line 688, in call
text = mjoin(textbuf, escape_quotes=False)
File "/usr/local/python2.5/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg/genshi/core.py", line 379, in join
for item in seq]))
File "/usr/local/python2.5/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg/genshi/core.py", line 405, in escape
text = unicode(text).replace('&', '&') \
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 1057: ordinal not in range(128)