Went close with the LOAD('controller', 'yourfunction'), but fell at the
environment when trying to write to the sql.log i.e.
Traceback (most recent call last):
File "C:\web2py19\gluon\scheduler.py", line 237, in executor
result = dumps(_function(*args, **vars))
File "applications\xml2\models\scheduler.py", line 31, in p2
LOAD('process1', 'updateFILES')
File "C:\web2py19\gluon\compileapp.py", line 217, in LOAD
page = run_controller_in(c, f, other_environment)
File "C:\web2py19\gluon\compileapp.py", line 598, in run_controller_in
restricted(code, environment, filename)
File "C:\web2py19\gluon\restricted.py", line 225, in restricted
raise RestrictedError(layer, code, output, environment)
RestrictedError: <type 'exceptions.IOError'> [Errno 2] No such file or
directory: 'applications\\xml2\\databases\\sql.log'
--
---
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.