> I don't have a python 2.5 Mind that web2py requires 2.5 unless you run the binary distribution. we do not gurantee things work with 2.4 or 2.6.
Massimo On Feb 22, 10:19 am, Iceberg <iceb...@21cn.com> wrote: > On Feb22, 8:37pm, AchipA <attila.cs...@gmail.com> wrote: > > > > > I think I know what's causing the issue, try the following as your > > web2py.py instead of the original one: > > > #!/usr/bin/python > > # -*- coding: utf-8 -*- > > > import os > > import sys > > > path = os.path.dirname(os.path.abspath(__file__)) > > if not path in sys.path: > > sys.path.append(path) > > os.chdir(path) > > > import gluon.import_all > > from gluon.widget import start > > > # Starts cron daemon > > cron = gluon.contrib.cron.hardcron() > > cron.start() > > > # Start Web2py ! > > start() > > Hi Achipa, when comparing your patch with the web2py.py of v1.56.3, I > noticed the current web2py.py is as below: > > from gluon.contrib.cron import hardcron > # Starts cron daemon > cron = hardcron() > cron.start() > > I don't really understand why they are different. Must be a very > tricky issue??? :-/ But if you insist, OK, I don't have a python 2.5 > machine at hand, will check this next week. On the other hand, since > you are quite confident, maybe Massimo can include it into the coming > soon 1.56.4 :-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---