[Trac] PYTHONPATH issue when setting up project environment

Justin Palmer trac at isolated-designs.net
Sun Mar 6 17:26:18 EST 2005


Hi,
  I've run into a problem setting up a project environment using the 
trac-admin.
  I have set my PYTHONPATH to D:/Python23/Libs --the location of Python 
on my Windows machine, but trac-admin
  uses /F:\PYTHON23 /and totally ignores this setting.
  Have I missed something here, is there other places I need to set the 
Python path for trac?
 

My Specs:
  -Python 2.3
  -Trac 0.8.1
  -Windows XP Home
  - Apache/2.0.50 (Win32) SVN/1.1./3


/  *A log of what i'm doing below:*
/  C:\Documents and Settings\Caged>python D:\Python23\Scripts\trac-admin 
D:\svn\mod
Gen.db
Welcome to trac-admin 0.8.1
Interactive Trac adminstration console.
Copyright (c) 2004 Edgewall Software

Type:  '?' or 'help' for help on commands.

Trac [D:\svn\modGen.db]> initdb
Creating a new Trac environment at D:\svn\modGen.db

Trac will first ask a few questions about your environment
in order to initalize and prepare the project database.

 Please enter the name of your project.
 This name will be used in page titles and descriptions.

Project Name [My Project]> modGen

 Please specify the absolute path to the project Subversion repository.
 Repository must be local, and trac-admin requires read+write
 permission to initialize the Trac database.

Path to repository [/var/svn/test]> D:\svn\modGen2

 Please enter location of Trac page templates.
 Default is the location of the site-wide templates installed with Trac.

Templates directory [F:\PYTHON23\share\trac\templates]> 
D:\Python23\share\trac\t
emplates
Creating and Initializing Project
 Inserting default data
 Configuring Project
  trac.repository_dir
  trac.templates_dir
  project.name
 Installing wiki pages
Failed to initialize database. [Errno 3] The system cannot find the path 
specifi
ed: 'F:\\PYTHON23\\share\\trac\\wiki-default/*.*'/

C:\Documents and Settings\Caged>


Thanks, -Justin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.edgewall.com/archive/trac/attachments/20050306/8eb0137a/attachment.html


More information about the Trac mailing list