[web2py] Re: scheduler task is queued but not running

2014-01-08 Thread peter
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

[web2py] Re: scheduler task is queued but not running

2014-01-08 Thread Niphlod
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

[web2py] Re: scheduler task is queued but not running

2014-01-08 Thread Niphlod
whoops. my bad. definitely it should not give errors on import. The scheduler needs dal, utils and Storage so the only way to run it is from inside the gluon folder, along with the rest of the framework. Also, please post the contents of your scheduler_task and scheduler_worker tables, so we