uhm. funny.
I just tested 
scheduler.py (or any model)

def queue_me():
     LOAD('default', 'test')
    

default.py controller

....
def test():
    db.auth_user.insert(first_name='foo')
    #just to see if it's db related
    return 1
....



and then verified that

def anotherindex():
    return queue_me()



returns correctly a "1" if run accessing /app/default/anotherindex (and 
adds a row to the auth_user table)

then I queued the "queue_me()" with the scheduler and is being executed 
correctly (adding a row in the auth_user table)

Can you try to reduce the code of your controller to something really 
simple and checking if it doesn't raise that exception ? if not, then 
identify what line in your controller is raising it....

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to