Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#6189 closed defect (invalid)

Problem with ascii codec

Reported by: matthieu[dot]godere[at]gmail[dot]com Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10.3
Severity: normal Keywords: needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hello,

I tried to install trac 0.10.3 on my local web server (Apache 2 on Debian Etch). I managed to get it 'running' (I see the main page) except that it generates me an internal error on all pages. Here is the associated python transcript:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 263, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "/var/lib/python-support/python2.4/trac/versioncontrol/api.py", line 73, in pre_process_request
    self.get_repository(req.authname) # triggers a sync if applicable
  File "/var/lib/python-support/python2.4/trac/versioncontrol/api.py", line 101, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py", line 262, in get_repository
    authz = SubversionAuthorizer(self.env, crepos, authname)
  File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_authz.py", line 41, in SubversionAuthorizer
    return RealSubversionAuthorizer(repos, authname, module_name, authz_file)
  File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_authz.py", line 78, in __init__
    self.groups = self._groups()
  File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_authz.py", line 114, in _groups
    if member == self.auth_name:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)

Do you know what could avoid this problem?

Attachments (0)

Change History (3)

comment:1 by Emmanuel Blot, 15 years ago

Keywords: needinfo added

Do you use non-ASCII login names ?

BTW, 0.10.3 is known to have several important issues than have been fixed in 0.10.4.

in reply to:  1 ; comment:2 by matthieu[dot]godere[at]gmail[dot]com , 15 years ago

Replying to eblot:

Do you use non-ASCII login names ?

BTW, 0.10.3 is known to have several important issues than have been fixed in 0.10.4.

Hello,

Thanks for your help.

As a first test, i used real simple login (only with letters without any accent). I'm not familiar with encoding things, but I think that should be ascii characters.

Also I will try the 0.10.4 version and will keep you posted.

Matthieu

in reply to:  2 comment:3 by anonymous, 15 years ago

Resolution: invalid
Status: newclosed

Replying to matthieu[dotgodere[at]gmail[dot]com ]:

Replying to eblot:

Do you use non-ASCII login names ?

BTW, 0.10.3 is known to have several important issues than have been fixed in 0.10.4.

Hello,

Thanks for your help.

As a first test, i used real simple login (only with letters without any accent). I'm not familiar with encoding things, but I think that should be ascii characters.

Also I will try the 0.10.4 version and will keep you posted.

Matthieu

In fact, I had in the list of login (not the one I was trying) an accented character. By replacing it, it worked. I'm sorry for the annoyance.

Matthieu

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.