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

RE: ViewCVS with Subversion and Mandrake.

From: Cockerham, John (US SSA) <john.cockerham_at_baesystems.com>
Date: 2004-07-21 20:08:28 CEST

I have done some changes. Here is my commonhttp.conf file now:

ScriptAlias /viewcvs "/usr/local/viewcvs-1.0-dev/www/cgi/viewcvs.cgi"
        <Location /viewcvs>
                AddHandler python-program .py
                PythonPath "['/usr/local/viewcvs-1.0-dev/lib']+sys.path"
                PythonHandler apache
                PythonDebug On
        </Location>

My error message changed to:

An Exception Has Occurred
Python Traceback

Traceback (most recent call last):
  File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 2483, in main
    handle_config()
  File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 2434, in
handle_config
    cfg.load_config(pathname, sapi.server.getenv('HTTP_HOST'))
  File "/usr/local/viewcvs-1.0-dev/lib/config.py", line 63, in
load_config
    parser.read(pathname)
  File "/usr/lib/python2.3/ConfigParser.py", line 263, in read
    self._read(fp, filename)
  File "/usr/lib/python2.3/ConfigParser.py", line 456, in _read
    raise MissingSectionHeaderError(fpname, lineno, `line`)
MissingSectionHeaderError: File contains no section headers.
file: /usr/local/viewcvs-1.0-dev/viewcvs.conf, line: 18
' svn_parent_path = /disk0/SVN/\n'

John

-----Original Message-----
From: Campbell, Matthew A [mailto:Matthew.Campbell@Relizon.com]
Sent: Wednesday, July 21, 2004 1:36 PM
To: Cockerham, John (US SSA); users@subversion.tigris.org
Subject: RE: ViewCVS with Subversion and Mandrake.

Try using http://svnhostname/viewcvs/ as your browser URL.

If that doesn't work, check to make sure your browser has mod_python.
If
not, then change your ScriptAlias to change "mod_python" to "cgi".

> -----Original Message-----
> From: Cockerham, John (US SSA) [mailto:john.cockerham@baesystems.com]
> Sent: Wednesday, July 21, 2004 1:37 PM
> To: users@subversion.tigris.org
> Subject: ViewCVS with Subversion and Mandrake.
>
>
> I have been fiddling with this all morning and can't seem to
> get ViewCVS
> to work. I am using Mandrake 10, Subversion 1.0.5 (r9954) and ViewCVS
> 1.0-dev. Here is my current config:
>
> Repository is at /disk0/SVN
>
> /usr/local/viewcvs-1.0-dev/viewcvs.conf
>
> #
> # BASIC CONFIGURATION
> #
> # For correct operation, you will probably need to change the
> following
> # configuration variables:
> #
> # cvs_roots (for CVS)
> # svn_roots (for Subversion)
> svn_parent_path = /disk0/SVN
> default_root = Masterfiles
> # rcs_path or cvsnt_exe_path
> # mime_types_file
>
> The rest is default....
>
> /etc/httpd/conf/commonhttpd.conf
>
> Added to ScriptAlias Section
>
> ScriptAlias /viewcvs
> "/usr/local/viewcvs-1.0-dev/www/mod_python/viewcvs.py"
> <location /viewcvs>
> AddHandler python-program .py
> PythonPath
> "['/usr/local/viewcvs-1.0-dev/lib']+sys.path"
> PythonHandler apache
> PythonDebug On
> </location>
>
> I can get to the svn directory and see the files from my web browser
> "I.E http://svnhostname/SVN/" but I don't get the viewcvs
> tools in my
> browser. Does anyone have a clue what is wrong?
>
> Tks
>
>
> John
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 21 20:10:09 2004

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

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