so I wrote a module (test.py):
import time
try:
while 1:
time.sleep(60)
except Exception, e:
print e
and tried to run it:
web2py1.51> web2py.exe -S myapp -M -R applications\myapp\modules
\test.py
and got this error:
default applications appear to be installed already
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2008
Version 1.51 (2008-11-19 14:48:02)
Database drivers available: SQLite3, MySQL
Traceback (most recent call last):
File "web2py.py", line 5, in <module>
File "gluon\widget.pyc", line 383, in start
File "gluon\shell.pyc", line 104, in run
File "gluon\shell.pyc", line 74, in env
File "gluon\compileapp.pyc", line 139, in run_models_in
File "gluon\restricted.pyc", line 66, in restricted
gluon.restricted.RestrictedError: <gluon.restricted.RestrictedError
instance at
0x016160A8>
could someone let me know what i am doing wrong?
thanks in advance for your help!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---