Here is what i did to get going.<br><br><a href="http://www.blastwave.org/packages.php/pysvn" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.blastwave.org/packages.php/pysvn</a><br><a href="http://www.blastwave.org/packages.php/subversion" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://www.blastwave.org/packages.php/subversion</a><br><a href="http://www.blastwave.org/packages.php/python" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.blastwave.org/packages.php/python
</a><br><br>Downloaded
dependencies required for subversion, subversion itself and then got
the pysvn and python from this website and then&nbsp; made sure that&nbsp; when I
run .py files it takes the python that got installed from this website,
i.e basically set the PYTHONPATH.<br><br>Then all set.<br><br>This website provides compiled binaries for solaris .<br><br>Cheers !<br><br><div><span class="gmail_quote">On 9/21/07, <b class="gmail_sendername">Binod</b> &lt;
<a href="mailto:binod3@gmail.com">binod3@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi All,<br>
<br>
I need help and any kind of help will be really appreciated.<br>
<br>
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&nbsp;
blastwave?<br>
<br>
2nd question - Once I got the the package from the blastwave, ( I
didn&#39;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&nbsp;
with python binded in it , am i wrong? )<br>
<br>
After I configured everything properly, subversion just works fine but I get the following error when I try to run .py files :<br>
<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
bash-3.00# svn import -m &quot;Initial import&quot; rad svn://localhost:3690/HIWAY/branches/rad<br>
<br>
Committed revision 2.<br>
<br>
Warning: &#39;post-commit&#39; hook failed with error output:<span class="q"><br>
Traceback (most recent call last):<br></span>
&nbsp; File &quot;/export/home/subversion/repos/hooks/mailer.py&quot;, line 41, in ?<br>
&nbsp;&nbsp;&nbsp; import svn.fs<br>
ImportError: No module named svn.fs<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
<br>
I know its a problem with python bindings, but I thought subversion package had already binded and shouldnot have any problem.<br>
<br>
I also tried these steps :<br>
<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
bash-3.00# echo $PATH<span class="q"><br>
/opt/csw/sbin:/opt/csw/bin:/usr/xpg4/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/dt/bin:/usr/ccs/bin<br>
<br></span>
bash-3.00# svn import -m &quot;Initial import&quot; johnny svn://localhost:3690/HIWAY/branches/johnny<br>
<br>
Committed revision 4.<br>
<br>
Warning: &#39;post-commit&#39; hook failed with error output:<span class="q"><br>
Traceback (most recent call last):<br></span>
&nbsp; File &quot;/export/home/subversion/repos/hooks/mailer.py&quot;, line 41, in ?<br>
&nbsp;&nbsp;&nbsp; import svn.fs<br>
ImportError: No module named svn.fs<br>
<br>
bash-3.00# which svn<br>
/opt/csw/bin/svn<br>
bash-3.00#<br>
<br>
bash-3.00#<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
<br>
When I do which python I get <br>
bash-3.00# python<br>
Python 2.5.1 (r251:54863, May 16 2007, 19:39:00)<br>
[GCC 3.4.6] on sunos5<br>
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>
&gt;&gt;&gt;<br>
<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
<br>
I know I am very close to the solution but just couldnot reach there, so&nbsp; please any help will be really helpful.<br>
<br>
Thanks in advance,<br>
<br>
<br><br>
</blockquote></div><br>