Re: Python 2.3 deployment

2007-10-19 Thread Malcolm Tredinnick
On Fri, 2007-10-19 at 13:29 +0100, Chris Hoeppner wrote: > Huh I lied. The django update only forced me to call that view with > POST, and now that I'm doing, it's throwing the same traceback. I'm not > sure what this might be. I'll check again with the system admins. When you tested at the inter

Re: Python 2.3 deployment

2007-10-19 Thread Chris Hoeppner
Hi guys! Thanks for those responses. So, the random.randint function does exist: # python Python 2.3.5 (#1, Aug 25 2005, 09:17:44) [GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import random >>> random.randint > A

Re: Python 2.3 deployment

2007-10-19 Thread Thomas Guettler
> File > "/usr/lib/python2.3/site-packages/django/contrib/sessions/models.py", line > 19, in get_new_session_key session_key = md5.new("%s%s%s%s" % > (random.randint(0, sys.maxint - 1), os.getpid(), time.time(), > settings.SECRET_KEY)).hexdigest() > > AttributeError: 'module' object has no attri

Re: Python 2.3 deployment

2007-10-19 Thread Chris Hoeppner
Huh I lied. The django update only forced me to call that view with POST, and now that I'm doing, it's throwing the same traceback. I'm not sure what this might be. I'll check again with the system admins. El vie, 19-10-2007 a las 21:12 +1000, Malcolm Tredinnick escribi�: > On Fri, 2007-10-19 at

Re: Python 2.3 deployment

2007-10-19 Thread Chris Hoeppner
Thanks, Malcolm! For some reason, updating django to trunk solved it. My system admins told me kindly that it's not their problem. Very nice indeed. El vie, 19-10-2007 a las 21:12 +1000, Malcolm Tredinnick escribi�: > On Fri, 2007-10-19 at 11:56 +0100, Chris Hoeppner wrote: > > Hey guys! > > >

Re: Python 2.3 deployment

2007-10-19 Thread Malcolm Tredinnick
On Fri, 2007-10-19 at 11:56 +0100, Chris Hoeppner wrote: > Hey guys! > > I have no choice but deploy to this server, running CentOS 4.4, with no > option to upgrade python beyond 2.3, and I'm getting this: > > Mod_python error: "PythonHandler django.core.handlers.modpython" > > Traceback (most