Modify

Opened 10 years ago

Closed 10 years ago

#2938 closed defect (invalid)

Wiki upload attachment failur

Reported by: anonymous Owned by: Alec Thomas
Priority: highest Component: TracHacks
Severity: blocker Keywords: attachment
Cc: sunyat@… Trac Release: 0.11

Description (last modified by Alec Thomas)

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)

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Alec Thomas

Description: modified (diff)
Resolution: invalid
Status: newclosed

TracHacks isn't using 0.11 or Genshi. Huh?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.