#2469: Python2.4 issue when the uuid package is not installed
------------------------+---------------------------------------------------
 Reporter:  lmacken     |       Owner:                  
     Type:  defect      |      Status:  new             
 Priority:  normal      |   Milestone:  __unclassified__
Component:  TurboGears  |     Version:  trunk           
 Severity:  normal      |    Keywords:                  
------------------------+---------------------------------------------------
 On python2.4 setups, without the uuid module, we resort to trying to
 base64 encode the secret cookie, which fails:

 {{{
 Traceback (most recent call last):
   File "/home/lmacken/geo/tg2env/bin/paster", line 7, in ?
     sys.exit(
   File "/home/lmacken/geo/tg2env/lib/python2.4/site-
 packages/PasteScript-1.7.3-py2.4.egg/paste/script/command.py", line 84, in
 run
     invoke(command, command_name, options, args[1:])
   File "/home/lmacken/geo/tg2env/lib/python2.4/site-
 packages/PasteScript-1.7.3-py2.4.egg/paste/script/command.py", line 123,
 in invoke
     exit_code = runner.run(args)
   File "/home/lmacken/geo/tg2env/lib/python2.4/site-
 packages/PasteScript-1.7.3-py2.4.egg/paste/script/command.py", line 218,
 in run
     result = self.command()
   File "/home/lmacken/geo/tgdevtools-dev/devtools/commands/quickstart.py",
 line 212, in command
     self.cookiesecret =
 base64.b64encode(base64(random.randrange(2**32))).strip()
 TypeError: 'module' object is not callable
 }}}

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2469>
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