Opened 8 years ago

Closed 6 years ago

#4377 closed defect (duplicate)

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

Reported by: k0s Owned by: k0s
Priority: normal Component: TracHoursPlugin
Severity: normal Keywords:
Cc: sergey.chervony@…, gunseg,…, 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 8 years ago by anonymous

  • Cc freakm4ster@… added

comment:2 Changed 8 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 7 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 6 years ago by AdrianFritz

  • Resolution set to duplicate
  • Status changed from new to closed

At #4420 k0s points:

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

Add Comment

Modify Ticket

as closed The owner will remain k0s.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.