I did the change at line 732 and the error continues to show up (immediate=True). Besides there is another problem i forgot to mention earlier :
the scheduler_task and scheduler_run tables are not updated properly. what i do is run a python script using the requests and threading module to perform app stress tests. every time i run this script, it's supposed to queue 100 new tasks and delegate work to the workers. first time i run the script new tasks are added to the tables as they should but not the second,third....times. With the change you suggested script may return HTTP errors 500 which is something new
if you or someone else could tell me
how to start a python-rq worker within web2py i'd like to give it a try, otherwise what would be the workaround if any?
https://groups.google.com/forum/#!msg/web2py/kAG2Y_tDoUE/ycJAdjj1hsgJhttps://groups.google.com/forum/#!msg/web2py/js0VAKK6Dlw/CJ46I-0wT0wJfrom Bruno Rocha's receipt: this doesn't seem to work (sh file to start a rq worker):
cd /pathTo/web2py
sudo python web2py.py -S myapp -M -R w2p-rqworker.py