incorrect string values setting environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
trac (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Binary package hint: trac
Ubuntu server, running 7.10
Trac version:
apt-cache policy trac
trac:
Installed: 0.10.4-2
Candidate: 0.10.4-2
Not sure if these are a problem or not:
Creating and Initializing Project
Installing default wiki pages
/usr/share/
/usr/share/
/var/lib/
return self.cursor.
/usr/share/
/usr/share/
/var/lib/
return self.cursor.
/usr/share/
/usr/share/
<workin stuff>
/var/lib/
[9/var/
return self.cursor.
Changed in trac: | |
importance: | Undecided → Low |
Hi, thanks for using Trac.
This is an install (or maybe docs) issue. Trac requires UTF-8 databases (that's what those byte sequences are), and those warnings come from mysql. If you use sqlite (like it defaults to) there are no issues like this (so most users won't hit this). The ones that do haven't read http:// trac.edgewall. org/wiki/ MySqlDb# MySQL in which is stated:
> In order to avoid several issues with unicode and international characters
> throughout Trac (e.g., international characters turning into question marks
> with mysterious "Incorrect string value" errors logged), we strongly advise
> MySQL users to only use databases having the utf8 character set...
I tested on 7.10 and by following the proper CREATE TABLE statement (from that link) things work fine. Leaving it at the default (latin1 on my system), the warnings appear.