Modify

Opened 18 years ago

Closed 18 years ago

#497 closed defect (fixed)

UnicodeDecodeError

Reported by: jouvin@… 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 anonymous

Component: TracHacksTracFrenchTranslation
Owner: changed from Alec Thomas to Emmanuel Blot

comment:2 Changed 18 years ago by Emmanuel Blot

Status: newassigned

Can you check out [1014] to see whether it solves this issue? Thanks.

comment:3 Changed 18 years ago by anonymous

Resolution: fixed
Status: assignedclosed

Works fine. Thanks.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.