nian wrote:
Thanks Manu,
I was missing the subversion-python bindings and that fixed most of the problems I had.

"C:\Python23>python scripts/tracd --port 8000 C:\path\to\projectenv", I get
a blank page with 2 words "Available projects".

Not sure to understand what you meant with C:\path\to\projectenv
This path should be identical to the one you've used to build your
Trac environment with the trac-admin tool. The "initenv" stage should
complete successfully before you can run tracd.

Doing "C:\Python23>python scripts/tracd --port 8000 C:\path\to\trac_env", brings up a page with the name of the project I entered while creating the
environment.

What is "trac_env", how did you create it?

I was following the FAQ on http://projects.edgewall.com/trac/wiki/TracOnWindowsStandalone
Therefore, I did
- C:\> svnadmin create C:\path\to\svn_project
- C:\Python23\Scripts> python trac-admin C:\path\to\trac_env initenv
- C:\Python23\Scripts> python tracd --port 8000 C:\path\to\projectenv

Typo in the FAQ?

Yes. C:\path\to\trac_env and C:\path\to\projectenv should be the same thing.



Hi Christian,
> - Login gives me a "page cannot be displayed" error

You should use the authentication option -a, see
http://projects.edgewall.com/trac/wiki/TracStandalone#UsingAuthentication

Unfortunately, I don't have Apache installed and I would rather not install it. I was also unable to find 'htdigest.exe' for download off the web (assuming it can be run by itself without any dependencies). I tried the script for "Generating Passwords Without Apache" on the link provided above and using 'admin' as username and password, I got the following output: "admin:trac:71ea86385b35d5e2575b0baec1904ded" which I entered into a text document called

It's valid. I tested it and it works for me.

'users.htdigest' and saved that in "c:\path\to\".

I then tried to launch the server using:
"C:\Python23>python scripts/tracd --auth project,c:/path/to/users.htdigest,trac c:/path/to/trac_env" where

Here again, if you did:
 python trac-admin C:\path\to\trac_env initenv

Then your environment name/project name (currently it's the same thing)
is "trac_env", so you should use:

python scripts/tracd --auth trac_env,c:/path/to/users.htdigest,trac c:/path/to/trac_env


-- Christian
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to