Edgewall Software
Modify

Ticket #5106 (closed defect: duplicate)

Opened 5 years ago

Last modified 5 years ago

UnicodeDecodeError

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

Description (last modified by cboos) (diff)

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

Change History

comment:1 Changed 5 years ago by cboos

  • Component changed from roadmap to general
  • Resolution set to duplicate
  • Status changed from new to closed

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 Changed 5 years ago by cboos

  • Component changed from general to mod_python frontend
  • Description modified (diff)

comment:3 Changed 5 years ago by jiangn <jiangningde@…>

used mod_python . thanks !

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.