Following the book, trying to get web2py to work as service but
haven't gotten any luck so far.
Windows Server 2008 R2
C:\web2py> python web2py.py -W install
No handlers could be found for logger "web2py"
web2py Enterprise Web Framework
Created by Massimo Di Pierro, Copyright 2007-2011
Version 1.91.6 (2011-01-03 17:55:14)
Database drivers available: SQLite3, pymysql
Starting hardcron...
WARNING:web2py.cron:WEB2PY CRON: Disabled because no file locking
Traceback (most recent call last):
File "web2py.py", line 19, in <module>
gluon.widget.start(cron=True)
File "C:\web2py\gluon\widget.py", line 803, in start
web2py_windows_service_handler(['', options.winservice],
NameError: global name 'web2py_windows_service_handler' is not defined
start and stop are giving me the exact same message. What message
should I see if the service starts correctly?
A little confused about options.py too.
- options_std says numthreads is depreciated but in the book still
tells me to set it to 10.
- options not shown in the book such as interfaces, should I leave them there?
- ssl_xxx are also commented out in the options_std, should I set it
to blank value like the book suggests?