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

Re: cvs2svn fails to parse certain RCS files

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2002-09-22 07:27:57 CEST

On Sat, 21 Sep 2002, Will Andrews wrote:

> On Sat, Sep 21, 2002 at 10:58:56PM -0500, David Summers wrote:
> > You've gotten further than I have. How do you set things up so that
> > cvs2svn can see and import the rcsparse.py module? I've gotten SWIG
> > 1.3.15 installed and subversion saw that when it built and I told it to
> > install the swig subversion bindings. But when I run cvs2svn it can't
> > find the rcsparse.py module/file even if I put it in the svn python
> > site-packages directory or its own rcsparse directory.
> >
> > What am I missing?
>
> You need to install ViewCVS 0.9.2 somewhere. Then add the path
> to rcsparse.py to the env var PYTHONPATH. Then cvs2svn should work.

Thanks! That got me further. Now I get:

$ env | grep -i PYTHON
PYTHONPATH=/usr/lib/python2.2/site-packages/svn
$ cvs2svn
Traceback (most recent call last):
  File "/usr/bin/cvs2svn", line 17, in ?
    from svn import fs, util, _delta, _repos
  File
"/home/david/rpms/tmp/subversion-0.14.3-3205/usr/lib/python2.2/site-packages/svn/fs.py",
line 19, in ?
    import _fs
ImportError: /usr/lib/python2.2/site-packages/svn/_fs.so: undefined
symbol: SWIG_TypeQuery
$ ls -la /usr/lib/python2.2/site-packages/svn
total 1256
drwxr-xr-x 2 root root 4096 Sep 22 00:14 .
drwxr-xr-x 9 root root 4096 Sep 21 13:24 ..
-rw-r--r-- 1 root root 697 Sep 22 00:07 __init__.py
-rw-r--r-- 1 root root 164 Sep 22 00:10 __init__.pyc
-rwxr-xr-x 1 root root 172085 Sep 22 00:10 _client.so
-rwxr-xr-x 1 root root 191381 Sep 22 00:10 _delta.so
-rwxr-xr-x 1 root root 181051 Sep 22 00:10 _fs.so
-rwxr-xr-x 1 root root 138339 Sep 22 00:10 _ra.so
-rwxr-xr-x 1 root root 166350 Sep 22 00:10 _repos.so
-rwxr-xr-x 1 root root 120351 Sep 22 00:10 _util.so
-rwxr-xr-x 1 root root 195709 Sep 22 00:10 _wc.so
-rw-r--r-- 1 root root 1696 Sep 22 00:07 delta.py
-rw-r--r-- 1 root root 4221 Sep 22 00:10 delta.pyc
-rw-r--r-- 1 root root 1138 Sep 22 00:07 fs.py
-rw-r--r-- 1 root root 859 Sep 22 00:10 fs.pyc
-rwxr-xr-x 1 root root 12025 Sep 22 00:10 rcsparse.py
-rw-r--r-- 1 root root 16795 Sep 21 13:42 rcsparse.pyc
-rw-r--r-- 1 root root 1980 Sep 22 00:07 util.py
-rw-r--r-- 1 root root 2295 Sep 22 00:10 util.pyc

This is with Subversion (r3205), ViewCVS 0.9.2.

Any ideas?

I've tried following the installation instructions but either they are
missing something or I'm not understanding something.

   Thanks!

-- 
David Wayne Summers          "Linux: Because reboots are for upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 22 07:28:57 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.