#3226: Windows trac-admin initenv fails (no such file or directory / File
exists)
----------------------------------------------------------+-----------------
Reporter: ivan.boscolo | Owner:
daniel
Type: defect | Status:
reopened
Priority: high | Milestone:
Component: trac-admin | Version:
0.9.5
Severity: major | Resolution:
Keywords: trac-admin no such file or directory initenv |
----------------------------------------------------------+-----------------
Changes (by anonymous):
* resolution: worksforme =>
* status: closed => reopened
Comment:
I am getting the same error I am trying:
G:\Python23>python scripts/trac-admin G:/svnrepos/repo1
Welcome to trac-admin 0.9.6
Interactive Trac adminstration console.
Copyright (c) 2003-2006 Edgewall Software
Type: '?' or 'help' for help on commands.
Trac [G:\svnrepos\repo1]> initenv
Creating a new Trac environment at G:\svnrepos\repo1
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]> Repo1
Please specify the connection string for the database to use.
By default, a local SQLite database is created in the environment
directory. It is also possible to use an already existing
PostgreSQL database (check the Trac documentation for the exact
connection string syntax).
Database connection string [sqlite:db/trac.db]>
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]> G:/svnrepos/repo1
Please enter location of Trac page templates.
Default is the location of the site-wide templates installed with Trac.
Templates directory [G:\Python23\share\trac\templates]>
Creating and Initializing Project
Failed to create environment. [Errno 2] No such file or directory:
'G:\\svnrepos
\\repo1'
--
Ticket URL: <http://trac.edgewall.org/ticket/3226>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets