<div>Good morning Adriano, </div>
<div> </div>
<div>All is working fine for me. </div>
<div>But I remember that pyplot.show() didn'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"><<a href="mailto:agagliardi@ara.co.uk">agagliardi@ara.co.uk</a>></span><br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><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'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've<br>
noticed the -v/-vv flags don't work with pvpython, or -h for that matter.<br>I'm at least finding the point at which I get the segmentation fault, but I<br>can't make head nor tail of it:<br><br>(Pdb) s<br>> /usr/lib64/python2.4/site-packages/matplotlib/transforms.py(286)zero()<br>
-> def zero(): return Value(0)<br>(Pdb) s<br>--Return--<br>><br>/usr/lib64/python2.4/site-packages/matplotlib/transforms.py(286)zero()-><Bin<br>Op o...1ce469a8> <--- it gives a segmentation fault before this line<br>
-> 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">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>