Modify ↓
#1425 closed defect (invalid)
Error attempting to run WindowsServiceScript
Reported by: | anonymous | Owned by: | Florent |
---|---|---|---|
Priority: | normal | Component: | WindowsServiceScript |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
I would like to run trac as a windows service.
I'm running trac 0.10.3.1, tracd, WindowsServiceScript, and windows 2k.
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 and how to fix it?
Or any suggestions for other ways to do this?
Attachments (0)
Change History (2)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
You're right, this was an editing error on my part. Thanks for your help.
Note: See
TracTickets for help on using
tickets.
are u sure u did not forget to include statement:
(i never tried the patched script on 0.10)