Hi, my trac 0.96 env is set to UTF-8, and somehow another svn client added a commit message that's latin-1 or something. The post commit handler added the message to the corresponding ticket, and when I try to view the ticket I get this error:
Traceback (most recent call last):
File "C:\Python23\lib\site-packages\trac\web\modpython_frontend.py",
line 206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "C:\Python23\lib\site-packages\trac\web\main.py", line 139, in
dispatch_request
dispatcher.dispatch(req)
File "C:\Python23\lib\site-packages\trac\web\main.py", line 107, in
dispatch
resp = chosen_handler.process_request(req)
File "C:\Python23\lib\site-packages\trac\ticket\web_ui.py", line 211,
in process_request
self._insert_ticket_data(req, db, ticket, reporter_id)
File "C:\Python23\lib\site-packages\trac\ticket\web_ui.py", line 392,
in _insert_ticket_data
changelog = ticket.get_changelog(db=db)
File "C:\Python23\lib\site-packages\trac\ticket\model.py", line 272,
in get_changelog
"ORDER BY time", (self.id, str(self.id), self.id))
File "C:\Python23\lib\site-packages\trac\db.py", line 219, in execute
args or [])
File "C:\Python23\lib\site-packages\trac\db.py", line 211, in
_rollback_on_error
return function(self, *args, **kwargs)
OperationalError: Could not decode to UTF-8 column <unknown column name>
with text (... some text here...)
I guess this is because the trac db now contains non-UTF8 data. How
could I fix this? Kind regards,
- Christian
--
Christian Aust
Development mySAP Human Resources
Pecaso Deutschland
Im Breitspiel 5 - 69126 Heidelberg - Germany
Phone: +49 (0) 6221 3106-270 - Fax: +49 (0) 6221 3106-275
Mobile: +49 (0) 151 171 56 191
mailto:[EMAIL PROTECTED] - http://www.pecaso.com/
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
