Opened 15 years ago

Last modified 12 years ago

#5373 new defect

UnicodeDecode Error on Categories creation — at Initial Version

Reported by: xavierT Owned by: Petr Škoda
Priority: normal Component: TracDownloaderPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hi,

here's a weird thing I'n getting when trying to add categories from Admin panel.

python2.5 Trac-0.11.1 PIL-1.1.6 py-clearsilver-0.10.4-1.3 PyCaptcha-0.4 TracDownloader-0.11


Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/trac/web/api.py", line 339, in send_error

'text/html')

File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 715, in render_template

return stream.render(method, doctype=doctype)

File "/var/lib/python-support/python2.5/genshi/core.py", line 179, in render

return encode(generator, method=method, encoding=encoding, out=out)

File "/var/lib/python-support/python2.5/genshi/output.py", line 60, in encode

return _encode(u.join(list(iterator)))

File "/var/lib/python-support/python2.5/genshi/output.py", line 311, in call

for kind, data, pos in stream:

File "/var/lib/python-support/python2.5/genshi/output.py", line 753, in call

for kind, data, pos in stream:

File "/var/lib/python-support/python2.5/genshi/output.py", line 592, in call

for kind, data, pos in stream:

File "/var/lib/python-support/python2.5/genshi/output.py", line 707, in call

text = mjoin(textbuf, escape_quotes=False)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1515: ordinal not in range(128)

Change History (0)

Note: See TracTickets for help on using tickets.