[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Problems with ViewCVS

From: Steffen <lord.steff_at_gmx.de>
Date: 2003-09-24 18:54:36 CEST

Hello, sorry for this long post:

I have problems with ViewCVS for SVN on Windows.

As someone said in a thread "Well, setting up ViewCVS for subversion was so
simple it's self-explanatory.", there must be someone who can explain it to
me (and everybody else who has problems).

BTW: I never used Python, Apache and ViewCVS. But I installed Python 2.3,
Apache 2 and got the newest ViewCVS source. I'm new to these things, but at
least I got the subversion server to work with Apache.

Now I´m trying to use ViewCVS, and have some questions. Should I change
apache cgi-bin to the ViewCVS dir? Or copy the .cgi files to the apache
cgi-bin? At least I have to somehow set up Apache to use python for the
viewcvs cgi files..but how? Best thing would be if Apache still could
execute perl cgi´s. And I´ve read something about bindings..?

> Actually, you might be surprised at how many folks don't realize that
> they need Python 2 (ViewCVS without Subversion needs only 1.5.2) and
> that they need to build bindings. :-(

Well, I don´t have any idea what bindings are, so I'm not surprised about
this fact. Is there anyone who would still try to explain it?

I set the svn paths in viewcvs.conf, but was not sure how to set them on
windows. Normal slashes? Backslashes? Beginning with file:/// ?
Currently it looks like this: svn_parent_path = d:/svn/

Then i created a new scriptalias "viewsvn" for Apache, pointing to
"C:/ViewCVS/www/cgi/viewcvs.cgi", but executing http://localhost/viewsvn/
gives an internal server error. Server log is:

Premature end of script headers: viewcvs.cgi
Traceback (most recent call last):
File "C:/ViewCVS/www/cgi/viewcvs.cgi", line 56, in ?
  import viewcvs
File "C:\ViewCVS\lib\viewcvs.py", line 63, in ?
  import config
File "C:\ViewCVS\lib\config.py", line 212
self.options.cvsgraph_conf = os.path.join(r"C:\ViewCVS\", "cvsgraph.conf")
SyntaxError: invalid syntax

I'm sure if Apache even calls Python here, as I didn't fill in any python
information into httpd.conf. Everything's complicated.. I could need a step
by step tutorial.

Hoping for an answer..

Steffen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 24 19:07:38 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.