Opened 9 years ago

Closed 9 years ago

#4148 closed defect (fixed)

Error occures when wiki name contains non-ascii characters

Reported by: miau Owned by: Robert Corsaro
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


When I open wiki pages whose name contain non-ascii characters, the following error occurs.

Trac detected an internal error:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)

Most recent call last:
File "/usr/local/lib/python2.4/site-packages/Trac-0.11.1.ja2-py2.4.egg/trac/web/", line 424, in _dispatch_request
File "/usr/local/lib/python2.4/site-packages/Trac-0.11.1.ja2-py2.4.egg/trac/web/", line 174, in dispatch
File "/usr/local/lib/python2.4/site-packages/Trac-0.11.1.ja2-py2.4.egg/trac/web/", line 287, in _pre_process_request
  chosen_handler = filter_.pre_process_request(req, chosen_handler)
File "build/bdist.linux-i686/egg/announcerplugin/subscribers/", line 147, in pre_process_request
File "build/bdist.linux-i686/egg/announcerplugin/subscribers/", line 160, in render_watcher
File "build/bdist.linux-i686/egg/announcerplugin/subscribers/", line 71, in is_watching

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by Robert Corsaro

Resolution: fixed
Status: newclosed

(In [4904]) changed str casts to unicode casts. This fixes #4148.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Robert Corsaro.
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.