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

RE: Trouble with ViewCVS and Subversion

From: Casper Hornstrup <chorns_at_users.sourceforge.net>
Date: 2002-12-28 21:23:04 CET

> -----Original Message-----
> From: Craig Rodrigues [mailto:rodrigc@attbi.com]
> Sent: 28. december 2002 18:34
> To: Casper Hornstrup
> Cc: dev@subversion.tigris.org
> Subject: Re: Trouble with ViewCVS and Subversion
>
>
> On Sat, Dec 28, 2002 at 11:30:53AM +0100, Casper Hornstrup wrote:
> > Hi. I'm trying to get ViewCVS from CVS working with
> Subversion. I get
> > a python error however:
> >
> > Python Exception Occurred
> > Traceback (most recent call last):
> > File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 2930, in
> > run_cgi
> > main()
> > File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line
> 2823, in main
> > request = Request()
> > File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 251, in
> > __init__
> > except vclib.ReposNotFound:
> > UnboundLocalError: local variable 'vclib' referenced before
> assignment
>
>
> What platform are you running under?
> Are the Subversion Python swig shared object libraries in the
> LD_LIBRARY_PATH before you start the apache server?

The box runs mandrake linux.
I put apache2/lib in /etc/ld.so.conf and ran ldconfig.
I also had to symlink the svn module like this:

ln -s /usr/local/lib/python2.2/site-packages/svn
/usr/lib/python2.2/site-packages/svn

since the svn module is installed with prefix /usr/local and not with
the same prefix used for my python installation (/usr).

Now it works. Thank you for your suggestion.

Casper Hornstrup

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 28 21:24:05 2002

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.