#2118: UnicodeDecodeError when using unicode in URLs
-------------------------+--------------------------------------------------
Reporter: streawkceur | Owner: faide
Type: defect | Status: new
Priority: normal | Milestone: 1.1
Component: TurboGears | Version: 1.0.7
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by chrisz):
{{{
File "/Library/Python/2.5/site-
packages/TurboGears-1.0.7-py2.5.egg/turbogears/controllers.py", line 507,
in _cp_log_access
self.accesslog.info(s.encode('utf8'))
}}}
Seems you're working with a modified version of controllers.py already.
The original version has
{{{
self.accesslog.info(s)
}}}
here in line 507. This should not fail since it simply passes the byte
string as it is to the log. Can you try again with the unmodified
controllers.py?
--
Ticket URL: <http://trac.turbogears.org/ticket/2118#comment:3>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---