<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
I've run into a problem setting up a project environment using the
trac-admin.<br>
I have set my PYTHONPATH to D:/Python23/Libs --the location of Python
on my Windows machine, but trac-admin <br>
uses <i>F:\PYTHON23 </i>and totally ignores this setting. <br>
Have I missed something here, is there other places I need to set the
Python path for trac?<br>
<br>
<br>
My Specs:<br>
-Python 2.3<br>
-Trac 0.8.1<br>
-Windows XP Home<br>
- Apache/2.0.50 (Win32) SVN/1.1.<i>3<br>
<br>
<br>
</i> <b>A log of what i'm doing below:</b><br>
<i> C:\Documents and Settings\Caged>python
D:\Python23\Scripts\trac-admin D:\svn\mod<br>
Gen.db<br>
Welcome to trac-admin 0.8.1<br>
Interactive Trac adminstration console.<br>
Copyright (c) 2004 Edgewall Software<br>
<br>
Type: '?' or 'help' for help on commands.<br>
<br>
Trac [D:\svn\modGen.db]> initdb<br>
Creating a new Trac environment at D:\svn\modGen.db<br>
<br>
Trac will first ask a few questions about your environment<br>
in order to initalize and prepare the project database.<br>
<br>
Please enter the name of your project.<br>
This name will be used in page titles and descriptions.<br>
<br>
Project Name [My Project]> modGen<br>
<br>
Please specify the absolute path to the project Subversion repository.<br>
Repository must be local, and trac-admin requires read+write<br>
permission to initialize the Trac database.<br>
<br>
Path to repository [/var/svn/test]> D:\svn\modGen2<br>
<br>
Please enter location of Trac page templates.<br>
Default is the location of the site-wide templates installed with Trac.<br>
<br>
Templates directory [F:\PYTHON23\share\trac\templates]>
D:\Python23\share\trac\t<br>
emplates<br>
Creating and Initializing Project<br>
Inserting default data<br>
Configuring Project<br>
trac.repository_dir<br>
trac.templates_dir<br>
project.name<br>
Installing wiki pages<br>
Failed to initialize database. [Errno 3] The system cannot find the
path specifi<br>
ed: 'F:\\PYTHON23\\share\\trac\\wiki-default/*.*'</i><br>
<br>
C:\Documents and Settings\Caged><br>
<br>
<br>
Thanks, -Justin<br>
<br>
</body>
</html>