http://trac.turbogears.org/turbogears/wiki/DeployAsWindowsService
has been very helpful, up to the point that it doesnt start.
Now it says the script has been tested on TG0.96a
I am currently running TG0.89 and I have an application which needs to
run and cannot be rewriten in time for deployment.
The Service seems to install correctly with the script, on Starting it
shuts down right away.
The Event Log tells me:
The instance's SvcRun() method failed
File "C:\Python24\Lib\site-packages\win32\lib\win32serviceutil.py",
line 715, in SvcRun
self.SvcDoRun()
File "c:\home\martin\python\order\service.py", line 105, in SvcDoRun
self.tg_init()
File "c:\home\martin\python\order\service.py", line 138, in tg_init
turbogears.update_config(configfile="dev.cfg",
exceptions.AttributeError: 'module' object has no attribute
'update_config'
which seems to indicate a version incompatibility. Is there a work
around?
Please, please advise.
SRVANY.EXE that is
The last Thread and the cool code snippet with tutorial at
http://trac.turbogears.org/turbogears/wiki/DeployAsWindowsService
has been very helpful, up to the point that it doesnt start.
Now it says the script has been tested on TG0.96a
I am currently running TG0.89 and I have an application which needs to
run and cannot be rewriten in time for deployment.
The Service seems to install correctly with the script, on Starting it
shuts down right away.
which seems to indicate a version incompatibility. Is there a work
around?