Modify

Opened 6 years ago

Closed 6 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

Description

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/main.py", line 424, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/local/lib/python2.4/site-packages/Trac-0.11.1.ja2-py2.4.egg/trac/web/main.py", line 174, in dispatch
  chosen_handler)
File "/usr/local/lib/python2.4/site-packages/Trac-0.11.1.ja2-py2.4.egg/trac/web/main.py", line 287, in _pre_process_request
  chosen_handler = filter_.pre_process_request(req, chosen_handler)
File "build/bdist.linux-i686/egg/announcerplugin/subscribers/watchers.py", line 147, in pre_process_request
File "build/bdist.linux-i686/egg/announcerplugin/subscribers/watchers.py", line 160, in render_watcher
File "build/bdist.linux-i686/egg/announcerplugin/subscribers/watchers.py", line 71, in is_watching

Attachments (0)

Change History (1)

comment:1 Changed 6 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

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.