<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.17102" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=875572716-14122011><FONT face=Arial color=#0000ff size=2>Paul,
</FONT></SPAN></DIV>
<DIV><SPAN class=875572716-14122011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875572716-14122011><FONT face=Arial color=#0000ff size=2>I did
so and it continued to work fine. I'm wondering whether it is related to the
TCL_LIBRARY variable not being set. Off to recompile it to find
out.</FONT></SPAN></DIV>
<DIV><SPAN class=875572716-14122011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875572716-14122011><FONT face=Arial color=#0000ff
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=875572716-14122011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875572716-14122011><FONT face=Arial color=#0000ff
size=2>Adriano</FONT></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/plain format -->
<P><FONT size=2>===================================<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: agagliardi@ara.co.uk<BR>Url: www.ara.co.uk </FONT></P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Paul Edwards
[mailto:paul.m.edwards@gmail.com] <BR><B>Sent:</B> 14 December 2011
14:41<BR><B>To:</B> agagliardi@ara.co.uk<BR><B>Cc:</B> paraview@paraview.org;
Aurélien Marsan<BR><B>Subject:</B> RE: [Paraview] pvpython and
matplotlib<BR></FONT><BR></DIV>
<DIV></DIV>
<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, "Adriano Gagliardi" <<A
href="mailto:agagliardi@ara.co.uk">agagliardi@ara.co.uk</A>> wrote:<BR
type="attribution">
<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>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'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 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 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><<A
href="mailto:agagliardi@ara.co.uk"
target=_blank>agagliardi@ara.co.uk</A>></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'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'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"
target=_blank>agagliardi@ara.co.uk</A>></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'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"
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><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>
</BODY></HTML>