#370 closed defect (invalid)
Windows Install - Init Env.
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.6.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
It is not possible to run the
trac-admin initenv
command in windows, so the environment is not initialized
Attachments (0)
Change History (4)
comment:1 by , 21 years ago
Milestone: | → 0.7 |
---|
comment:2 by , 21 years ago
This is the result:
D:\Python23\Scripts>trac-admin D:\progra~1\TRAC initenv 'trac-admin' is not recognized as an internal or external command, operable program or batch file.
In Windows, you can't run trac-admin from the command-line - it has to be preceeded by "python":
D:\Python23\Scripts>python trac-admin D:\progra~1\TRAC initenv *** Unknown syntax: initenv
But even then it doesn't work… So I tried it from within the TRAC command-line:
D:\Python23\Scripts>python trac-admin d:\svn\trac.db Welcome to trac-admin 0.6.1 Interactive Trac adminstration console. Copyright (c) 2004 Edgewall Software Type: '?' or 'help' for help on commands. Trac [d:\svn\trac.db]> d:\progra~1\TRAC initenv *** Unknown syntax: d:\progra~1\TRAC initenv Trac [d:\svn\trac.db]>
comment:3 by , 21 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Ok, my fault. You're using Trac 0.6.1. The "initenv" command was introduced first in Trac version 0.7.rc1.
The documentation on this site is for the development version of Trac. The "INSTALL" file in the source distribution contains instructions for the version you downloaded.
D:\Python23\Scripts>python trac-admin d:\somewhere\project.db initdb
Is the way to initialize a project database in Trac 0.6.1
Did you try:
?