Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users
Running Trac as a windows service
 

Index | Next | Previous | View Flat


dy20lqh02 at sneakemail

Apr 5, 2007, 6:25 AM


Views: 2576
Permalink
Running Trac as a windows service

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?

Thanks,

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Subject User Time
Running Trac as a windows service dy20lqh02 at sneakemail Apr 5, 2007, 6:25 AM
    Re: Running Trac as a windows service jmt4b04d4v at gmail Apr 5, 2007, 2:47 PM
    Re: Running Trac as a windows service dy20lqh02 at sneakemail Apr 6, 2007, 3:38 AM
        Re: Running Trac as a windows service boskoma at gmail Apr 10, 2007, 6:02 AM
    Re: Running Trac as a windows service hyugaricdeau at gmail Apr 10, 2007, 6:13 AM
    Re: Running Trac as a windows service boskoma at gmail Apr 10, 2007, 7:17 AM
    Re: Running Trac as a windows service hyugaricdeau at gmail Apr 11, 2007, 9:35 AM
    Re: Running Trac as a windows service boskoma at gmail Apr 11, 2007, 10:07 AM
    Re: Running Trac as a windows service hyugaricdeau at gmail Apr 11, 2007, 10:19 AM
    Re: Running Trac as a windows service boskoma at gmail May 28, 2007, 1:15 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.