Hi Aurelian,
 
I'm using a 64-bit build of ParaView 3.10.1 on Centos 5.4. 
 
How did you go about debugging this last time?
 
Thanks,
 
Adriano

===================================

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 

 

  _____  

From: Aurélien Marsan [mailto:aur.mar...@gmail.com] 
Sent: 12 December 2011 15:45
To: agaglia...@ara.co.uk
Cc: paraview@paraview.org
Subject: Re: [Paraview] pvpython and matplotlib


Good morning Adriano, 
 
All is working fine for me. 
But I remember that pyplot.show() didn't work from the paraview python sheel
with previous release. 

It looks like you have the 2.4 verions of Python. Which Paraview version do
you use ? 
 
Regards, 
 
Aurelien

2011/12/8 Adriano Gagliardi <agaglia...@ara.co.uk>



Dear All,

I am having issues getting matplotlib to work with a in-house compiled
version of pvpython. Although it imports fine, if I try to plot anything
using pyplot I exit with a segmentation fault. Likewise, when I exit
pvpython, I get a segmentation fault. However, when using matplotlib from
the standard release of Python, it all works fine. Other libraries like
mysql and numpy are working fine too. This is what I'm running:

import matplotlib.pyplot as mp
#import pdb; pdb.set_trace()
mp.plot([1,2,3])
mp.show()

Any suggestions what could be wrong or how to go about solving it? I've
noticed the -v/-vv flags don't work with pvpython, or -h for that matter.
I'm at least finding the point at which I get the segmentation fault, but I
can't make head nor tail of it:

(Pdb) s
> /usr/lib64/python2.4/site-packages/matplotlib/transforms.py(286)zero()
-> def zero(): return Value(0)
(Pdb) s
--Return--
>
/usr/lib64/python2.4/site-packages/matplotlib/transforms.py(286)zero()-><Bin
Op o...1ce469a8> <--- it gives a segmentation fault before this line
-> def zero(): return Value(0)

All suggestions greatly appreciated.

Thanks,

Adriano

===================================

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk <http://www.ara.co.uk/> 


**********************************************************************
This email contains information that is private and confidential and is
intended only for the addressee.
If you are not the intended recipient please delete it and notify us
immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone
other than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No
503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**********************************************************************
_______________________________________________
Powered by www.kitware.com <http://www.kitware.com/> 

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview




**********************************************************************
This email contains information that is private and confidential and is 
intended only for the addressee.
If you are not the intended recipient please delete it and notify us 
immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other 
than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 
503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**********************************************************************
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to