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

Mailing List Archive: Trac: Users

Installation problem on windows

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


Marcus.Widerberg at tetrapak

Oct 30, 2006, 11:59 PM

Post #1 of 4 (1439 views)
Permalink
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
-~----------~----~----~----~------~----~------~--~---


Marcus.Widerberg at tetrapak

Oct 31, 2006, 12:33 AM

Post #2 of 4 (1397 views)
Permalink
Re: Installation problem on windows [In reply to]

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
-~----------~----~----~----~------~----~------~--~---


redetin at luukku

Oct 31, 2006, 12:36 AM

Post #3 of 4 (1394 views)
Permalink
Re: Installation problem on windows [In reply to]

Widerberg Marcus kirjoitti:
> 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.

How you did run installer? Downloaded that exe/msi installer and
installed by running that?

--

Jani Tiainen

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---


txaggiese at gmail

Nov 22, 2006, 12:00 PM

Post #4 of 4 (1363 views)
Permalink
Re: Installation problem on windows [In reply to]

** NEWBIE WARNING **
Jani - WHICH INSTALLER?

I'm trying to follow:
http://trac.edgewall.org/wiki/TracOnWindows/Rewrite#Subversion

And I keep getting this "linux" path at the end for the path -
regardless of what or how I type it "/" vs "\" has no impact.

Here is what I did (Windows XP, C: drive)
1. Install python-2.4.4.msi
2. Modify the Autoexec.bat file as such:

SET APR_ICONV_PATH="C:\SUBVERSION\ICONV"
SET PATH C:\PYTHON24\;%PATH%

* Then reboot
* SetupTools Script
* EZ Setup Script is
[http://peak.telecommunity.com/dist/ez_setup.py
o Copy and pasted and RUN via Python IDLE
* Trac 0.10.2 Script
o Copied localy and pasted and RUN via Python IDLE, and the
sucker did run - found all sorts of stuff off the web, d/l and
installed.
* SVN install: svn-1.4.2-setup.exe (d/l and run)
* SVN Integration is handled via a script:
1. Go to the Scripts folder for Python (i.e.
c:\python24\scripts)
2. Then at the command line type this:

easy_install -Z
http://subversion.tigris.org/downloads/svn-python-1.4.2-py2.4.exe

* When this ran - no confirmation appeared...
* Create a Trac Project folder, and a SVN Project Folder:
C:\project1\svn1\

svnadmin create project1\svn1\project1

Help!

** newbie mode still on ! **


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


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