Ticket #4377 (closed defect: duplicate)

Opened 3 years ago

Last modified 2 years ago

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

Reported by: k0s Assigned to: k0s
Priority: normal Component: TracHoursPlugin
Severity: normal Keywords:
Cc: sergey.chervony@gmail.com, gunseg@yahoo.com, lars+openplans.org@gatekeeper.vernetzt.org, freakm4ster@web.de Trac Release: 0.11

Description

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 http://trac.openplans.org/hours/ticket/12

Attachments

Change History

01/04/09 17:38:14 changed by anonymous

  • cc changed from sergey.chervony@gmail.com, gunseg@yahoo.com, lars+openplans.org@gatekeeper.vernetzt.org to sergey.chervony@gmail.com, gunseg@yahoo.com, lars+openplans.org@gatekeeper.vernetzt.org, freakm4ster@web.de.

06/24/09 06:08:46 changed by olaf.meeuwissen@avasys.jp

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>

08/27/09 14:02:53 changed by y[DOT]kerleguer[AT]laposte[DOT]net

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

08/10/10 04:35:41 changed by AdrianFritz

  • status changed from new to closed.
  • resolution set to duplicate.

At #4420 k0s points:

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


Add/Change #4377 (Trachours won't function with non-ascii chars in database fields.)




Change Properties
Action