Modify

Opened 18 years ago

Closed 18 years ago

#1451 closed defect (fixed)

UnicodeDecodeError : unable displaying a branche name with accent

Reported by: sdouche Owned by: Emmanuel Blot
Priority: normal Component: RevtreePlugin
Severity: major Keywords: unicode
Cc: Trac Release: 0.11

Description

When you use a branche name with the character 'é', I have this :

Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "build/bdist.linux-i686/egg/revtree/web_ui.py", line 186, in process_request File "build/bdist.linux-i686/egg/revtree/web_ui.py", line 288, in _process_revtree File "build/bdist.linux-i686/egg/revtree/svgview.py", line 879, in create File "build/bdist.linux-i686/egg/revtree/svgview.py", line 362, in init File "build/bdist.linux-i686/egg/revtree/svgview.py", line 409, in _get_color File "build/bdist.linux-i686/egg/revtree/svgview.py", line 79, in init File "build/bdist.linux-i686/egg/revtree/svgview.py", line 122, in from_name

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 9: ordinal not in range(128)

Attachments (0)

Change History (2)

comment:1 Changed 18 years ago by Emmanuel Blot

Status: newassigned

Fix for milestone:0.10 available in [2177].

comment:2 Changed 18 years ago by Emmanuel Blot

Resolution: fixed
Status: assignedclosed
Trac Release: 0.100.11

Fixed in [2178] for Trac 0.11.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.