[csw-users] need help on subversion

Binod binod3 at gmail.com
Fri Sep 21 20:15:45 CEST 2007


Hi All,

I need help and any kind of help will be really appreciated.

1st question - Has anyone been able to get post-commit work hook made work
by using mailer.py ( I am interested in finding if how to configure python
bindings) from the subversion package added from  blastwave?

2nd question - Once I got the the package from the blastwave, ( I didn't do
it in regular way i.e pkg-get ---i joined blastwave community yesterday as I
just started to work on solaris), but rather I downloaded every dependencies
from the mirror sites that were shown for the subversion software in the
blastwave and after everything was downloaded I did pkgadd -d to each
dependencies one by one. So, everything seems to be working fine besides
those python bindings, ( I thought the pkg subversion provided in blastwave
was compiled  with python binded in it , am i wrong? )

After I configured everything properly, subversion just works fine but I get
the following error when I try to run .py files :

>>>>>>>>>>>>>>>>>>
bash-3.00# svn import -m "Initial import" rad
svn://localhost:3690/HIWAY/branches/rad

Committed revision 2.

Warning: 'post-commit' hook failed with error output:
Traceback (most recent call last):
  File "/export/home/subversion/repos/hooks/mailer.py", line 41, in ?
    import svn.fs
ImportError: No module named svn.fs
>>>>>>>>>>>>>>>>>>>>>>>>>>>

I know its a problem with python bindings, but I thought subversion package
had already binded and shouldnot have any problem.

I also tried these steps :

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
bash-3.00# echo $PATH
/opt/csw/sbin:/opt/csw/bin:/usr/xpg4/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/dt/bin:/usr/ccs/bin

bash-3.00# svn import -m "Initial import" johnny
svn://localhost:3690/HIWAY/branches/johnny

Committed revision 4.

Warning: 'post-commit' hook failed with error output:
Traceback (most recent call last):
  File "/export/home/subversion/repos/hooks/mailer.py", line 41, in ?
    import svn.fs
ImportError: No module named svn.fs

bash-3.00# which svn
/opt/csw/bin/svn
bash-3.00#

bash-3.00#
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

When I do which python I get
bash-3.00# python
Python 2.5.1 (r251:54863, May 16 2007, 19:39:00)
[GCC 3.4.6] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>>

>>>>>>>>>>>>>>>

I know I am very close to the solution but just couldnot reach there, so
please any help will be really helpful.

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20070921/987c93f7/attachment-0001.html>


More information about the users mailing list