Modify ↓
Opened 18 years ago
Closed 18 years ago
#497 closed defect (fixed)
UnicodeDecodeError
Reported by: | Owned by: | Emmanuel Blot | |
---|---|---|---|
Priority: | normal | Component: | TracFrenchTranslation |
Severity: | normal | Keywords: | |
Cc: | jouvin@… | Trac Release: | 0.10 |
Description
After starting french Trac with a Trac area not having the right permission (no write permission on Trac db for trac user, apache), I got the following error. Looks as something improperly handled...
/www/Web/servers/trac/0.10-french-1005/lib/python2.4/site-packages/trac/db/sqlite_backend.py in __init__(self=<trac.db.sqlite_backend.SQLiteConnection object>, path=u'/projects/trac-fr/Test/db/trac.db', params={}) 142 not os.access(dbdir, os.R_OK + os.W_OK): 143 from getpass import getuser 144 raise TracError, "L'utilisateur %s a besoin des permissions " \ 145 "en lecture _et_ en écriture sur la base de " \ 146 "données %s ainsi que sur le répertoire " \ global TracError = <class trac.core.TracError>, getuser = <function getuser>, path = u'/projects/trac-fr/Test/db/trac.db' UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 21: ordinal not in range(128) args = ('ascii', '%s ainsi que sur le r\xc3\xa9pertoire dans lequel elle est situ\xc3\xa9e.', 21, 22, 'ordinal not in range(128)') encoding = 'ascii' end = 22 object = '%s ainsi que sur le r\xc3\xa9pertoire dans lequel elle est situ\xc3\xa9e.' reason = 'ordinal not in range(128)' start = 21
Attachments (0)
Change History (3)
comment:1 Changed 18 years ago by
Component: | TracHacks → TracFrenchTranslation |
---|---|
Owner: | changed from Alec Thomas to Emmanuel Blot |
comment:2 Changed 18 years ago by
Status: | new → assigned |
---|
Note: See
TracTickets for help on using
tickets.
Can you check out [1014] to see whether it solves this issue? Thanks.