right, there is not uuid module in Python2.4 You could make one that will satisfy web2py.
## uuid.py import random,time def uuid4(): return '%s%s" % (int(time.time()),random.randint(100000,999999)) ## end file On Oct 8, 9:17 am, "Tito Garrido" <[EMAIL PROTECTED]> wrote: > Is that possible? > > I tried to run but I receive: > python web2py.py > Warning: web2py requires Python 2.5 but, instead, you are running: > 2.4.2 (#1, Jan 10 2008, 18:06:58) > [GCC 4.1.2 20070115 (prerelease) (SUSE Linux)]web2py Enterprise Web > Framework > Created by Massimo Di Pierro, Copyright 2007-2008 > Version 1.43 (2008-09-22 11:22:03) > Traceback (most recent call last): > File "web2py.py", line 4, in ? > from gluon.widget import start > File "/opt/web2py/gluon/widget.py", line 35, in ? > from gluon.main import HttpServer, save_password > File "/opt/web2py/gluon/main.py", line 14, in ? > from restricted import RestrictedError > File "/opt/web2py/gluon/restricted.py", line 7, in ? > import sys, cStringIO, cPickle, traceback, copy, cgi, types, time, os, > uuid, datetime > ImportError: No module named uuid > > uuid is a python 2.5 module, right? > > Thanks, > > Tito > > -- > Linux User #387870 > .........____ > .... _/_õ|__| > ..º[ .-.___.-._| . . . . > .__( o)__( o).:_______ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

