#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 pjenvey):

 I'd also like to know what beaker.session.sha1 is in this environment,
 i.e. show me the output of something like:

 {{{
 Python 2.4.5 (#1, Apr 25 2008, 15:16:02)
 [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import pkg_resources
 >>> pkg_resources.get_distribution('Beaker').version
 '1.1.3'
 >>> import beaker.session
 >>> beaker.session.sha1
 <module 'sha' from
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /lib-dynload/sha.so'>
 >>> import hmac
 >>> hmac.new('test', 'test', beaker.session.sha1).hexdigest()
 '0c94515c15e5095b8a87a50ba0df3bf38ed05fe6'
 >>>
 }}}

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