I am starting the workers/sched processes with this :

python web2py.py -a 'password' -K appname,appname

and the tasks are queued in a controller function then . Tasks use module 
functions

As far as I understand

ret = db.validate_and_insert(fa='something',fb='somethingelse')

is not supposed to raise an exception otherwise what for to validate ?. If 
I run this command from a controller and there's already a key: 
fa='something' It fails silently as it should (no exception is raised) 

As said before If I run a single sched worker in the same conditions no 
exception occurs so if problem isn't double-workers related where does it 
come from ?.  If I run the exact same actions from a controller (no 
scheduler involved) I never get an exception

I'd really like to clarify this. The same instruction changing its behavior 
with circomstances is very confusing :(

-- 
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/d/optout.

Reply via email to