Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#5106 closed defect (duplicate)

UnicodeDecodeError

Reported by: jiangn <jiangningde@…> Owned by: Christopher Lenz
Priority: normal Milestone:
Component: web frontend/mod_python Version: 0.10.3.1
Severity: normal Keywords: utf-8
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Traceback (most recent call last):

  File "C:\Python24\Lib\site-packages\trac\web\main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "C:\Python24\Lib\site-packages\trac\web\main.py", line 170, in dispatch
    if not req.path_info or req.path_info == '/':
  File "C:\Python24\Lib\site-packages\trac\web\api.py", line 219, in <lambda>
    path_info = property(fget=lambda self: self.environ.get('PATH_INFO', '').decode('utf-8'),
  File "C:\Python24\lib\encodings\utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa3 in position 15: unexpected code byte

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 18 years ago

Component: roadmapgeneral
Resolution: duplicate
Status: newclosed

See #3663. Please follow-up there and report:

  • the Apache version you're using
  • the mod_python version you're using

You'll also find a workaround there, in the last comment, which you can try and report if that worked for you as well.

Thanks for your feedback,

comment:2 by Christian Boos, 18 years ago

Component: generalmod_python frontend
Description: modified (diff)

comment:3 by jiangn <jiangningde@…>, 18 years ago

used mod_python . thanks !

Modify Ticket

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