Modify

Opened 7 years ago

Closed 7 years ago

#1451 closed defect (fixed)

UnicodeDecodeError : unable displaying a branche name with accent

Reported by: sdouche@… Owned by: eblot
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 7 years ago by eblot

  • Status changed from new to assigned

Fix for milestone:0.10 available in [2177].

comment:2 Changed 7 years ago by eblot

  • Resolution set to fixed
  • Status changed from assigned to closed
  • Trac Release changed from 0.10 to 0.11

Fixed in [2178] for Trac 0.11.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from eblot. Next status will be '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.