Edgewall Software

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#218 closed defect (invalid)

Trac-0.11b2 upload attachment error.

Reported by: anonymous Owned by: cmlenz
Priority: major Milestone:
Component: General Version: 0.4.4
Keywords: Cc:

Description

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 959: ordinal not in range(128)

Change History (1)

comment:1 Changed 16 years ago by cboos

  • Resolution set to invalid
  • Status changed from new to closed

That would be a Trac error. First upgrade to latest trunk, as a bug preventing the error page to be shown has been fixed since b2 (see #T6932).

Then, if the error persists, check if it's not already a duplicate (in particular #T6318 and #T3908).

Note: See TracTickets for help on using tickets.