Opened 8 years ago

Closed 8 years ago

#6812 closed defect (fixed)

Localization Problem

Reported by: abekkine@… Owned by: Malcolm Studd
Priority: normal Component: ExtendedVersionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


UnicodeEncodeError raises when a milestone containing non-ascii characters in its name, submitted with version value change.


UnicodeEncodeError: ('ascii', u'delete version for milestone Say\u0131', 32, 33, 'ordinal not in range(128)')

Most recent call last:

# File "/usr/lib/python2.6/dist-packages/trac/web/", line 444, in  _dispatch_request
# File "/usr/lib/python2.6/dist-packages/trac/web/", line 175, in dispatch
# File "/usr/lib/python2.6/dist-packages/trac/web/", line 295, in _pre_process_request
# File "build/bdist.linux-i686/egg/extendedversion/", line 38, in pre_process_request
# File "build/bdist.linux-i686/egg/extendedversion/", line 71, in _delete_milestone_version

Problem arises from the print statements in file. When these are commented out, it works properly. They may be replaced with trac logging mechanism. A patch providing a workaround fix is provided.

Attachments (1) (850 bytes) - added by abekkine@… 8 years ago.
Localization bug workaround fix.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by abekkine@…

Attachment: added

Localization bug workaround fix.

comment:1 Changed 8 years ago by Malcolm Studd

Resolution: fixed
Status: newclosed

(In [7782]) Fix #6812: Remove print statements left over from initial development/debugging.

Modify Ticket

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