Modify ↓
      
        #5973 closed defect (fixed)
Cannot handle Trac databases with non-ascii (unable to save changes on any ticket containing non-ascii chars)
| Reported by: | anonymous | Owned by: | Björn Harrtell | 
|---|---|---|---|
| Priority: | normal | Component: | GridModifyPlugin | 
| Severity: | normal | Keywords: | |
| Cc: | sth@…, eduardo.jose.pereira@… | Trac Release: | 0.11 | 
Description
As soon as i changed a value in ticket list, the ajax request get a failure.
Details as follows:
Oops... Traceback (most recent call last):
File "build/bdist.linux-i686/egg/gridmod/web_ui.py", line 69, in process_request
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 22: ordinal not in range(128)
Attachments (0)
Change History (7)
comment:1 Changed 16 years ago by
| Cc: | eduardo.jose.pereira@… added | 
|---|
comment:3 Changed 16 years ago by
| Summary: | Fatal error while saving changes → Fatal error while saving changes (unicode encode error, i.e affects non-ascii users) | 
|---|
Verified now, reproducable only on tickets that have fields/data containing non-ascii characters.
Funny thing is, it's the debug logging that causes the problem. Commenting out debug log stuff in web_ui.py (specifically line 69) seem to fix the issue.
comment:4 Changed 16 years ago by
| Summary: | Fatal error while saving changes (unicode encode error, i.e affects non-ascii users) → Cannot handle Trac databases with non-ascii (unable to save changes on any ticket containing non-ascii chars) | 
|---|
Changed summary to better describe the problem
comment:5 Changed 15 years ago by
| Owner: | changed from Abbywinters.com WebDev to anonymous | 
|---|---|
| Status: | new → assigned | 
comment:6 Changed 15 years ago by
| Owner: | changed from anonymous to Björn Harrtell | 
|---|---|
| Status: | assigned → new | 
comment:7 Changed 15 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
Note: See
        TracTickets for help on using
        tickets.
    



Is there a workaround for this problem?