<p>Does the system python also crash if you set the library path to have the paraview directories?  If this is the case you probably gave a conflicting lib in paraview.</p>
<div class="gmail_quote">On 14 Dec 2011 14:32, &quot;Adriano Gagliardi&quot; &lt;<a href="mailto:agagliardi@ara.co.uk">agagliardi@ara.co.uk</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>



<div>
<div><span><font face="Arial" color="#0000ff">System 
version is identical. The environment variables are identical with the exception 
of those relating to window ids. LD_LIBRARY_PATH has changed, but when running 
ParaView two directories, the paths to the ParaView root and lib directories, 
have been added to the start. Nothing else is different.</font></span></div>
<div><span><font face="Arial" color="#0000ff"></font></span> </div>
<div><span><font face="Arial" color="#0000ff">Aurelian, TCL_LIBRARY path is set, but I didn&#39;t configure this option 
when compiling ParaView itself. I have numpy in the correct directory 
location.</font></span></div>
<div><span><font face="Arial" color="#0000ff"></font></span> </div>
<div><span><font face="Arial" color="#0000ff">Thanks,</font></span></div>
<div><span><font face="Arial" color="#0000ff"></font></span> </div>
<div><span><font face="Arial" color="#0000ff">Adriano</font></span></div>
<div> </div>
<p><font>===================================<br><br>Adriano Gagliardi 
MEng PhD<br>Business Sector Leader<br>Computational Aerodynamics<br>Aircraft 
Research Association Ltd.<br>Manton Lane<br>Bedford<br><br>Tel: 01234 32 
4644<br>E-mail: <a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a><br>Url: <a href="http://www.ara.co.uk" target="_blank">www.ara.co.uk</a> </font></p>
<div> </div><br>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma"><b>From:</b> Paul Edwards 
[mailto:<a href="mailto:paul.m.edwards@gmail.com" target="_blank">paul.m.edwards@gmail.com</a>] <br><b>Sent:</b> 13 December 2011 
17:50<br><b>To:</b> <a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a><br><b>Cc:</b> AurĂ©lien Marsan; 
<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><b>Subject:</b> Re: [Paraview] pvpython and 
matplotlib<br></font><br></div>
<div></div>Try comparing environment variables (import os and compare 
os.environ)
<div><br></div>
<div>In order to check the version print sys.version (after import sys)</div>
<div><br></div>
<div>Regards,<br>Paul<br><br>
<div class="gmail_quote">2011/12/12 Adriano Gagliardi <span dir="ltr">&lt;<a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><u></u>
  <div>
  <div><span><font face="Arial" color="#0000ff">Hi Aurelian,</font></span></div>
  <div><span><font face="Arial" color="#0000ff"></font></span> </div>
  <div><span><font face="Arial" color="#0000ff">I&#39;m using a 64-bit build of ParaView 
  3.10.1 on Centos 5.4. </font></span></div>
  <div><span><font face="Arial" color="#0000ff"></font></span> </div>
  <div><span><font face="Arial" color="#0000ff">How did you go about debugging this 
  last time?</font></span></div>
  <div>
  <div><span><font face="Arial" color="#0000ff"></font></span> </div>
  <div><span><font face="Arial" color="#0000ff">Thanks,</font></span></div>
  <div><span><font face="Arial" color="#0000ff"></font></span> </div>
  <div><span><font face="Arial" color="#0000ff">Adriano</font></span></div>
  <p><font size="+0">===================================<br><br>Adriano Gagliardi 
  MEng PhD<br>Business Sector Leader<br>Computational Aerodynamics<br>Aircraft 
  Research Association Ltd.<br>Manton Lane<br>Bedford<br><br>Tel: 01234 32 
  4644<br>E-mail: <a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a><br>Url: <a href="http://www.ara.co.uk" target="_blank">www.ara.co.uk</a> </font></p>
  <div> </div><br></div>
  <div lang="en-us" dir="ltr" align="left">
  <hr>
  <font face="Tahoma"><b>From:</b> AurĂ©lien Marsan [mailto:<a href="mailto:aur.marsan@gmail.com" target="_blank">aur.marsan@gmail.com</a>] 
  <br><b>Sent:</b> 12 December 2011 15:45<br><b>To:</b> <a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a><br><b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] 
  pvpython and matplotlib<br></font><br></div>
  <div>
  <div>
  <div></div>
  <div>Good morning Adriano, </div>
  <div> </div>
  <div>All is working fine for me. </div>
  <div>But I remember that pyplot.show() didn&#39;t work from the paraview 
  python sheel with previous release. <br></div>
  <div>It looks like you have the 2.4 verions of Python. Which Paraview version 
  do you use ? </div>
  <div> </div>
  <div>Regards, </div>
  <div> </div>
  <div>Aurelien<br></div>
  <div class="gmail_quote">2011/12/8 Adriano Gagliardi <span dir="ltr">&lt;<a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a>&gt;</span><br>
  <blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><br>Dear 
    All,<br><br>I am having issues getting matplotlib to work with a in-house 
    compiled<br>version of pvpython. Although it imports fine, if I try to plot 
    anything<br>using pyplot I exit with a segmentation fault. Likewise, when I 
    exit<br>pvpython, I get a segmentation fault. However, when using matplotlib 
    from<br>the standard release of Python, it all works fine. Other libraries 
    like<br>mysql and numpy are working fine too. This is what I&#39;m 
    running:<br><br>import matplotlib.pyplot as mp<br>#import pdb; 
    pdb.set_trace()<br>mp.plot([1,2,3])<br>mp.show()<br><br>Any suggestions what 
    could be wrong or how to go about solving it? I&#39;ve<br>noticed the -v/-vv 
    flags don&#39;t work with pvpython, or -h for that matter.<br>I&#39;m at least 
    finding the point at which I get the segmentation fault, but I<br>can&#39;t make 
    head nor tail of it:<br><br>(Pdb) s<br>&gt; 
    /usr/lib64/python2.4/site-packages/matplotlib/transforms.py(286)zero()<br>-&gt; 
    def zero(): return Value(0)<br>(Pdb) 
    s<br>--Return--<br>&gt;<br>/usr/lib64/python2.4/site-packages/matplotlib/transforms.py(286)zero()-&gt;&lt;Bin<br>Op 
    o...1ce469a8&gt; &lt;--- it gives a segmentation fault before this 
    line<br>-&gt; def zero(): return Value(0)<br><br>All suggestions greatly 
    appreciated.<br><br>Thanks,<br><br>Adriano<br><br>===================================<br><br>Adriano 
    Gagliardi MEng PhD<br>Business Sector Leader<br>Computational 
    Aerodynamics<br>Aircraft Research Association Ltd.<br>Manton 
    Lane<br>Bedford<br><br>Tel: 01234 32 4644<br>E-mail: <a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a><br>Url: <a href="http://www.ara.co.uk/" target="_blank">www.ara.co.uk</a><br><br><br>
**********************************************************************<br>This 
    email contains information that is private and confidential and is intended 
    only for the addressee.<br>If you are not the intended recipient please 
    delete it and notify us immediately by e-mailing the sender.<br>Note: All 
    email sent to or from this address may be accessed by someone other than the 
    recipient, for<br>system management and security reasons.<br>Aircraft 
    Research Association Ltd.  Registered in England, Registration No 
    503668 Registered Office:<br>Manton Lane, Bedford MK41 7PF England VAT No GB 
    196351245<br><br>**********************************************************************<br>_______________________________________________<br>Powered 
    by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source 
    projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please 
    keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br><br>Follow this link 
    to subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br></blockquote></div><br>
  <p>**********************************************************************<br>This 
  email contains information that is private and confidential and is intended 
  only for the addressee.<br>If you are not the intended recipient please delete 
  it and notify us immediately by e-mailing the sender.<br>Note: All email sent 
  to or from this address may be accessed by someone other than the recipient, 
  for<br>system management and security reasons.<br>Aircraft Research 
  Association Ltd.  Registered in England, Registration No 503668 
  Registered Office:<br>Manton Lane, Bedford MK41 7PF England VAT No GB 
  196351245</p>
  <p>**********************************************************************</p></div></div></div><br>_______________________________________________<br>Powered 
  by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source 
  projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please 
  keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br><br>Follow this link to 
  subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br><br></blockquote></div><br></div><p>**********************************************************************<br>
This email contains information that is private and confidential and is intended only for the addressee.<br>If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.<br>Note: All email sent to or from this address may be accessed by someone other than the recipient, for<br>
system management and security reasons.<br>Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office:<br>Manton Lane, Bedford MK41 7PF England VAT No GB 196351245</p><p>**********************************************************************</p>

</div>
</blockquote></div>