Opened 15 years ago

Closed 14 years ago

#4377 closed defect (duplicate)

Trachours won't function with non-ascii chars in database fields.

Reported by: Jeff Hammel Owned by: Jeff Hammel
Priority: normal Component: TracHoursPlugin
Severity: normal Keywords:
Cc: sergey.chervony@…, Gunther Seghers,…, freakm4ster@… Trac Release: 0.11


The plugin terminates and trac shows an internal error when we have tickets with german umlauts in relevant fields:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1: ordinal not in range(128)

Here is some general information on this issue from the edgewall wiki.

This is a moved ticket. The original ticket and all comments can be found at

Attachments (0)

Change History (4)

comment:1 Changed 15 years ago by anonymous

Cc: freakm4ster@… added

comment:2 Changed 15 years ago by olaf.meeuwissen@…

Experienced the same symptoms when accessing the /hours tab after I had written some hours on the sole ticket in a test setup. The /hours tab displayed fine before I added the ticket and before I wrote hours to the ticket.

The test environment was served with tracd from a shell environment with a mixed bag of locale settings. Changing LC_TIME to C made the problem go away, at the expense on non-localised times in the /hours tab.

LC_TIME=C tracd [options] <env>

comment:3 Changed 15 years ago by y.kerleguer@…

Experienced the same symptoms when adding hours during some months on a french installation : F'evrier, Aout and D'ecembre.

comment:4 Changed 14 years ago by Adrian Fritz

Resolution: duplicate
Status: newclosed

At #4420 k0s points:

(In [5374]) use to_unicode helper function; hopefully fixes #4420

Modify Ticket

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