Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7790 closed defect (fixed)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xf3 in position 30: ordinal not in range(128)

Reported by: martinib@… Owned by: Christian Boos
Priority: normal Milestone: 0.11.2
Component: version control Version: 0.11.1
Severity: trivial Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

i think the problem is that subversion is returning an error in spanish and for that is the unicode error.

How to Reproduce

While doing a GET operation on /wiki, Trac issued an internal error.

(please provide additional details here)

User Agent was: Opera/9.62 (Windows NT 5.1; U; es-ES) Presto/2.1.1

System Information

Trac 0.11.1
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c7
SQLite 3.3.4
pysqlite 2.3.2
Genshi 0.5.1
mod_python 3.3.1
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\trac\web\main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "C:\Python25\Lib\site-packages\trac\web\main.py", line 173, in dispatch
    chosen_handler)
  File "C:\Python25\Lib\site-packages\trac\web\main.py", line 286, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "C:\Python25\Lib\site-packages\trac\versioncontrol\api.py", line 86, in pre_process_request
    self.get_repository(req.authname).sync()
  File "C:\Python25\Lib\site-packages\trac\versioncontrol\api.py", line 142, in get_repository
    error=connector.error))
  File "C:\Python25\Lib\site-packages\trac\util\translation.py", line 25, in gettext_noop
    retval %= kwargs
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf3 in position 30: ordinal not in range(128)

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 16 years ago

Component: generalversion control
Milestone: 0.11.2
Owner: set to Christian Boos
Severity: normaltrivial

Well spotted, I'll add a to_unicode there.

comment:2 by Christian Boos, 16 years ago

Resolution: fixed
Status: newclosed

Reproduced, fixed in [7655] and verified.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos 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.