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.

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.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to