You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David Summers <da...@summersoft.fay.ar.us> on 2002/12/14 23:17:46 UTC

CVS2SVN RPM - Help needed for PYTHON

I've finally gotten the SWIG bindings to compile in Subversion and have 
succesfully run the tests to verify that Subversion can access them.

However, I'm a Python newbie.  Would someone please tell me how to 
"compile" the rcsparse.py module into rcsparse.pyc?  

I've got the rcsparse.py module installed with the rest of the subversion 
swig bindings in the /usr/lib/phtyon2.2/site-packages/svn directory but it 
the cvs2svn script can't "import" the rcsparse module; I get the following 
error when I run cvs2svn:

$ cvs2svn
Traceback (most recent call last):
  File "/usr/bin/cvs2svn", line 6, in ?
    import rcsparse
ImportError: No module named rcsparse

How can I get it to do that?  I'm just ->this<-> close!  :-)

   Thanks!
-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david@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

Re: CVS2SVN RPM - Help needed for PYTHON

Posted by David Summers <da...@summersoft.fay.ar.us>.
On Sat, 14 Dec 2002, Scott Lamb wrote:

> David Summers wrote:
> > I've got the rcsparse.py module installed with the rest of the subversion 
> > swig bindings in the /usr/lib/phtyon2.2/site-packages/svn directory but it 
> > the cvs2svn script can't "import" the rcsparse module; I get the following 
> > error when I run cvs2svn:
> > 
> > $ cvs2svn
> > Traceback (most recent call last):
> >   File "/usr/bin/cvs2svn", line 6, in ?
> >     import rcsparse
> > ImportError: No module named rcsparse
> 
> The other ones are imported with "from svn import rcsparse". So try 
> switching it to that or moving rcsparse.py up a directory.
> 

Thanks!  That did it!  I was SO close!  I should have some new RPMs in a 
few minutes.   I'll be submitting subversion.spec patches in a bit.

--
David Wayne Summers "Linux: Because reboots are for hardware upgrades!"
david@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

Re: CVS2SVN RPM - Help needed for PYTHON

Posted by Scott Lamb <sl...@slamb.org>.
David Summers wrote:
> I've got the rcsparse.py module installed with the rest of the subversion 
> swig bindings in the /usr/lib/phtyon2.2/site-packages/svn directory but it 
> the cvs2svn script can't "import" the rcsparse module; I get the following 
> error when I run cvs2svn:
> 
> $ cvs2svn
> Traceback (most recent call last):
>   File "/usr/bin/cvs2svn", line 6, in ?
>     import rcsparse
> ImportError: No module named rcsparse

The other ones are imported with "from svn import rcsparse". So try 
switching it to that or moving rcsparse.py up a directory.

Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org