trac-admin /path/to/myproject initenv

无人久伴 提交于 2019-12-20 06:19:01

问题


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


来源:https://stackoverflow.com/questions/9002427/trac-admin-path-to-myproject-initenv

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!