#2133: AttributeError in beaker in tg2.0b2 python2.4
------------------------+---------------------------------------------------
 Reporter:  lszyba1     |        Owner:  faide   
     Type:  defect      |       Status:  reopened
 Priority:  high        |    Milestone:  2.0b5   
Component:  TurboGears  |      Version:  trunk   
 Severity:  normal      |   Resolution:          
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by lszyba1):

 same results..I've upgraded to a newer version to see if that has changed.

 {{{
 >>> import pkg_resources
 >>> pkg_resources.get_distribution('Beaker').version
 '1.2.1'
 >>> import beaker.session
 >>> beaker.session.sha1
 <built-in function openssl_sha1>
 >>> import hmac
 >>> hmac.new('test','test','beaker.session.sha1').hexdigest()
 Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "/usr/lib/python2.4/hmac.py", line 107, in new
     return HMAC(key, msg, digestmod)
   File "/usr/lib/python2.4/hmac.py", line 42, in __init__
     self.outer = digestmod.new()
 AttributeError: 'str' object has no attribute 'new'
 }}}

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