are you running the scheduler from where ? it should be in the gluon folder along with the other files from the framework, and hence not erroring on import. If you're running from a standalone file then ok, with python2.6 you should have simplejson installed, and we'll fix in trunk to choose json over simplejson.
On Wednesday, January 8, 2014 3:56:17 PM UTC+1, peter wrote: > > I tried 'python scheduler.py -h' to get more information. > > it blew up with an error no module named simplejson. > > I have python2.6 after googling, I changed (in gluon/scheduler.py) > > try: > from gluon.contrib.simplejson import loads, dumps > except: > from simplejson import loads, dumps > > around line 84 to > > try: > from gluon.contrib.simplejson import loads, dumps > except: > from json import loads, dumps > > it now blows up with a different issue on 'python scheduler.py -h', > however the scheduler now seems to work. The only other thing I changed was > the write permission on web2py-scheduler-log. > > This is the first time I have had problems with web2py and python2.6 > > maybe the above should be changed to > > try: > from gluon.contrib.simplejson import loads, dumps > except: > try: > from simplejson import loads, dumps > except > from json import loads, dumps > > > Peter > > > On Wednesday, 8 January 2014 10:23:11 UTC, peter wrote: >> >> I have a scheduler task marked as queued. I have an active working with >> living heartbeats. They both have the same group name, the time for the >> task to run is in the past. The task is not being executed. Does anyone >> have any idea what might cause the problem. Web2py version 2.8.2 >> Thanks >> Peter >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.