<!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>
&nbsp; I've run into a problem setting up a project environment using the
trac-admin.<br>
&nbsp; I have set my PYTHONPATH to D:/Python23/Libs --the location of Python
on my Windows machine, but trac-admin <br>
&nbsp; uses <i>F:\PYTHON23 </i>and totally ignores this setting. <br>
&nbsp; Have I missed something here, is there other places I need to set the
Python path for trac?<br>
&nbsp; <br>
<br>
My Specs:<br>
&nbsp; -Python 2.3<br>
&nbsp; -Trac 0.8.1<br>
&nbsp; -Windows XP Home<br>
&nbsp; - Apache/2.0.50 (Win32) SVN/1.1.<i>3<br>
<br>
<br>
</i>&nbsp; <b>A log of what i'm doing below:</b><br>
<i>&nbsp; C:\Documents and Settings\Caged&gt;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:&nbsp; '?' or 'help' for help on commands.<br>
<br>
Trac [D:\svn\modGen.db]&gt; 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>
&nbsp;Please enter the name of your project.<br>
&nbsp;This name will be used in page titles and descriptions.<br>
<br>
Project Name [My Project]&gt; modGen<br>
<br>
&nbsp;Please specify the absolute path to the project Subversion repository.<br>
&nbsp;Repository must be local, and trac-admin requires read+write<br>
&nbsp;permission to initialize the Trac database.<br>
<br>
Path to repository [/var/svn/test]&gt; D:\svn\modGen2<br>
<br>
&nbsp;Please enter location of Trac page templates.<br>
&nbsp;Default is the location of the site-wide templates installed with Trac.<br>
<br>
Templates directory [F:\PYTHON23\share\trac\templates]&gt;
D:\Python23\share\trac\t<br>
emplates<br>
Creating and Initializing Project<br>
&nbsp;Inserting default data<br>
&nbsp;Configuring Project<br>
&nbsp; trac.repository_dir<br>
&nbsp; trac.templates_dir<br>
&nbsp; project.name<br>
&nbsp;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&gt;<br>
<br>
<br>
Thanks, -Justin<br>
<br>
</body>
</html>