#2250: [PATCH] Repoze.what cannot handle non-ascii error messages
-------------------------+--------------------------------------------------
 Reporter:  chrisz       |        Owner:  Gustavo 
     Type:  defect       |       Status:  reopened
 Priority:  high         |    Milestone:  2.0rc1  
Component:  TurboGears   |      Version:  2.0b6   
 Severity:  major        |   Resolution:          
 Keywords:  repoze.what  |  
-------------------------+--------------------------------------------------
Comment (by chrisz):

 Replying to [comment:4 Gustavo]:
 > Localized error messages are supported, the only problem is when they
 are logged in Py < 2.6.

 But by default they *are* logged in the TG2 development environment.

 And besides the logging, there is also another problem with the
 !ActionProtector class in repoze.what.pylons which contains the following
 code
 {{{
         except NotAuthorizedError, e:
             reason = unicode(e)
 }}}
 Without the patch, this fails for Py < 2.6.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2250#comment:5>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to