
Marcus.Widerberg at tetrapak
Oct 31, 2006, 12:33 AM
Post #2 of 4
(1397 views)
Permalink
|
Hello everyone, I reinstalled python, python-svn bindings and reran the trac-0.10-win32-install.py installation script, then the default templates directory setting was correct in initdev, and everything else seems to work fine too. Something just glitched when I ran the installer the first time, I think. /mawiu -----Original Message----- From: trac-users[at]googlegroups.com [mailto:trac-users[at]googlegroups.com] On Behalf Of Widerberg Marcus Sent: den 31 oktober 2006 08:59 To: trac-users[at]googlegroups.com Subject: [Trac] Installation problem on windows Hello, I need to run trac on windows. It has worked before, but this once I had to reinstall the machine and ran into trouble. First, I got apache, svn, python bindings (1.4) up and running. Installed Python 2.4.3. Ran the trac installer. (1) Got this error when running initdev, after answering all questions: Creating and Initializing Project Installing default wiki pages Failed to initialize environment. [Errno 3] The system cannot find the path spec ified: '/usr/share/trac/wiki-default/*.*' Traceback (most recent call last): File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\scripts\admin.py " , line 621, in do_initenv self._do_wiki_load(default_dir('wiki'), cursor) File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\scripts\admin.py " , line 807, in _do_wiki_load for page in os.listdir(dir): WindowsError: [Errno 3] The system cannot find the path specified: '/usr/share/t rac/wiki-default/*.*' (2) I noticed that the initdev questions used /usr/blabla as default for share / templates folder, which obviously doesn't work in windows. (3) When running tracd to test the project, it says it cannot find index.cs. I basically know nothing about how trac works, I do know a little about how to use it :-) Grateful for any help and tips. Best regards, /mawi PS Here is complete error as reported by tracd when running: ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 2911) Traceback (most recent call last): File "C:\Python24\lib\SocketServer.py", line 463, in process_request_thread self.finish_request(request, client_address) File "C:\Python24\lib\SocketServer.py", line 254, in finish_request self.RequestHandlerClass(request, client_address, self) File "C:\Python24\lib\SocketServer.py", line 521, in __init__ self.handle() File "c:\Python24\lib\BaseHTTPServer.py", line 316, in handle self.handle_one_request() File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\wsgi.py", lin e 174, in handle_one_request gateway.run(self.server.application) File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\wsgi.py", lin e 87, in run response = application(self.environ, self._start_response) File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\standalone.p y ", line 88, in __call__ return self.application(environ, start_response) File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\main.py", lin e 322, in dispatch_request env_paths) File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\main.py", lin e 435, in send_project_index req.display(template) File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\api.py", line 353, in display data = self.hdf.render(template) File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\clearsilver. p y", line 288, in render template.parseFile(filename) Error: Traceback (innermost last): File "csparse.c", line 293, in cs_parse_file() File "neo_hdf.c", line 1896, in hdf_search_path() NotFoundError: Path index.cs not found ---------------------------------------- localhost - - [31/Oct/2006 08:42:31] "GET /favicon.ico HTTP/1.1" 404 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 2913) Traceback (most recent call last): File "C:\Python24\lib\SocketServer.py", line 463, in process_request_thread self.finish_request(request, client_address) File "C:\Python24\lib\SocketServer.py", line 254, in finish_request self.RequestHandlerClass(request, client_address, self) File "C:\Python24\lib\SocketServer.py", line 521, in __init__ self.handle() File "c:\Python24\lib\BaseHTTPServer.py", line 316, in handle self.handle_one_request() File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\wsgi.py", lin e 174, in handle_one_request gateway.run(self.server.application) File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\wsgi.py", lin e 87, in run response = application(self.environ, self._start_response) File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\standalone.p y ", line 88, in __call__ return self.application(environ, start_response) File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\main.py", lin e 322, in dispatch_request env_paths) File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\main.py", lin e 435, in send_project_index req.display(template) File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\api.py", line 353, in display data = self.hdf.render(template) File "c:\python24\lib\site-packages\trac-0.10-py2.4.egg\trac\web\clearsilver. p y", line 288, in render template.parseFile(filename) Error: Traceback (innermost last): File "csparse.c", line 293, in cs_parse_file() File "neo_hdf.c", line 1896, in hdf_search_path() NotFoundError: Path index.cs not found --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
|