Having troubles installing web2py as a windows service. I'm running 2.0.9
windows exe. Note that I've never run it like this before until version
2.0.x.
File "gluon/winservice.py", line 157, in web2py_windows_service_handler
WindowsError: [Error 267] The directory name is invalid : 'E:\\ ...
web2py\\library.zip'
It starts fine without the -W Install option
relevant lines from winservice.py are:
def web2py_windows_service_handler(argv=None, opt_file='options'):
path = os.path.dirname(__file__)
web2py_path = up(path)
os.chdir(web2py_path) # --> This is line 157 <--
classstring = os.path.normpath(
os.path.join(web2py_path,'gluon.winservice.Web2pyService'))
--