Opened 8 years ago

Closed 7 years ago

#4148 closed defect (fixed)

Error occures when wiki name contains non-ascii characters

Reported by: miau Owned by: doki_pen
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 7 years ago by doki_pen

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

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

Add Comment

Modify Ticket

as closed The owner will remain doki_pen.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.