Modify ↓
Opened 15 years ago
Closed 15 years ago
#6812 closed defect (fixed)
Localization Problem
Reported by: | Owned by: | Malcolm Studd | |
---|---|---|---|
Priority: | normal | Component: | ExtendedVersionPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
UnicodeEncodeError raises when a milestone containing non-ascii characters in its name, submitted with version value change.
Details:
TracInternalError: 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/main.py", line 444, in _dispatch_request # File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 175, in dispatch # File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 295, in _pre_process_request # File "build/bdist.linux-i686/egg/extendedversion/milestone.py", line 38, in pre_process_request # File "build/bdist.linux-i686/egg/extendedversion/milestone.py", line 71, in _delete_milestone_version
Problem arises from the print statements in milestone.py 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)
Change History (2)
Changed 15 years ago by
Attachment: | milestone.py.patch added |
---|
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Localization bug workaround fix.