Edgewall Software
Modify

Opened 21 years ago

Closed 21 years ago

Last modified 12 years ago

#370 closed defect (invalid)

Windows Install - Init Env.

Reported by: daragh@… 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 Jonas Borgström, 21 years ago

Milestone: 0.7

Did you try:

trac-admin c:\path\to\env initenv

?

comment:2 by daragh@…, 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 Jonas Borgström, 21 years ago

Resolution: invalid
Status: newclosed

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

comment:4 by Christian Boos, 12 years ago

Milestone: 0.7

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.