trac-admin /path/to/myproject initenv

2019-03-04 15:37发布

问题:

I have a problem with Trac.

I cant create a new project.

Here, in the /path/to/myproject - what should I write instead of it?

In fact, my project path is: C:\Users\Programmer\BitNami Trac Stack projects

Everytime it outputs error in BitNami Trac Stack command line.

Why cant I create a new project?

It is writing: The system cannot find the path specified

Thanks!

回答1:

try this:

cd C:\Users\Programmer\BitNami

trac-admin . initenv



回答2:

You could save yourself a lot of hassle by avoiding blanks/spaces (and non-ASCII characters) in paths, at least if you expect to go to the command line. This always tends to become a pain.

Therefore reinstalling is a real option, because I know you can change path defaults to saner values without blanks/spaces. I did this before, and it works.



回答3:

In your case to create a new project, use:

trac-admin c:/Users/Programmer/BitNami initenv


标签: trac