Ticket #6554 (new defect)
trac-admin allows to init environment with errors
| Reported by: | techtonik@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | admin/console | Version: | 0.11b1 |
| Severity: | normal | Keywords: | mysql |
| Cc: |
Description
When using MySQL backend with the wrong collation the following warning are produced and it's likely that DB is created wrong. But Trac doesn't stop or bring attention to the warning. It should fail with a hint to convert MySQL table to UTF-8 collation as described in MySqlDb.
Creating and Initializing Project Installing default wiki pages /home/t/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/wiki/default-pages/TracBackup imported from TracBackup /home/t/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/db/util.py:50: Warning: Data truncated for column 'text' at row 1 return self.cursor.execute(sql_escape_percent(sql), args) /home/t/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/wiki/default-pages/TracInstall imported from TracInstall ... /home/t/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/wiki/default-pages/TracIni imported from TracIni /home/t/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/db/util.py:50: Warning: Data truncated for column 'text' at row 0 return self.cursor.execute(sql_escape_percent(sql), args) /home/t/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/wiki/default-pages/TracFastCgi imported from TracFastCgi ... Indexing repository /home/t/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/db/util.py:50: Warning: Data truncated for column 'message' at row 1 return self.cursor.execute(sql_escape_percent(sql), args) [1406]
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


