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

Trouble with ViewCVS and Subversion

From: Casper Hornstrup <chorns_at_users.sourceforge.net>
Date: 2002-12-28 11:30:53 CET

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

Python version is 2.2.

I have installed SWIG 1.3.16 and as described in
trunk/subversion/bindings/swig/INSTALL I did this:

make swig-py-ext
make install-swig-py-ext

I had to export PYTHONPATH as /usr/local/lib/python2.2/site-packages to
get
python to find the svn package. I have exported this in
apache2/bin/envvars
too (and restarted apache).

python -c "from svn import client" works after this.

Now if I do this:

  cd trunk/tools/examples
  python svnlook.py /var/svn/public

I get:

Traceback (most recent call last):
  File "svnlook.py", line 388, in ?
    main()
  File "svnlook.py", line 385, in main
    util.run_app(SVNLook, sys.argv[1], cmd, rev, txn)
  File "/usr/local/lib/python2.2/site-packages/svn/util.py", line 40, in
run_app
    svn_pool_destroy(pool)
TypeError: Type error. Expected _p_apr_pool_t

Any help is appreciated.

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 11:31:46 2002

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