Chris dy20lqh02-at-sneakemail.com |TracMailingList| wrote:
> I would like to run trac as a windows service.
> 
> I'm running 
>   trac 0.10.3.1
>   tracd
>   windows 2k
> 
> I found an article about this at Trac-hacks.org
> (http://www.trac-hacks.org/wiki/WindowsServiceScript). I downloaded
> the script, and the patch to update the script to 0.10.
> 
> I can install the service and it shows up as a windows service. When
> I try to start the service, it fails, with this message in the event
> log:
> 
> The instance's SvcRun() method failed 
>   File "C:\Program 
> Files\Python24\Lib\site-packages\win32\lib\win32serviceutil.py", line 785, in 
> SvcRun
>     self.SvcDoRun()
>   File "C:\Program Files\Python24\Scripts\tracservice.py", line 94, in 
> SvcDoRun
>     self.httpd = self.trac_init()
>   File "C:\Program Files\Python24\Scripts\tracservice.py", line 143, in 
> trac_init
>     wsgi_app = TracEnvironMiddleware(dispatch_request, 
> exceptions.NameError: global name 'dispatch_request' is not defined 
> 
> Any ideas as to what this means?
> 
> Or any suggestions for other ways to do this?

This turned out to be an editing error on my part, when manually applying the 
patch. This script does work as advertised...

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to