[Paraview] Problems with WriteImage using pvpython

Adriano Gagliardi agagliardi at ara.co.uk
Wed Jan 20 08:31:01 EST 2010


I resolved this issue by removing the OSMesa libraries from the build.
Everything works fine now.

Adriano


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

Adriano Gagliardi MEng PhD
Project Scientist
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agagliardi at ara.co.uk
Url: www.ara.co.uk 
-----Original Message-----
From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org]
On Behalf Of Adriano Gagliardi
Sent: 19 January 2010 16:40
To: paraview at paraview.org
Subject: [Paraview] Problems with WriteImage using pvpython


I am coming across a weird problem. I'm attempting to use the WriteImage
paraview.simple command in batch mode. However, whenever I run the script it
gives me a segmentation fault; no other error appears. The same script runs
fine via the Python Shell. I am using ParaView version 3.6.2-RC1, which I'm
assuming isn't supported now. I'm just wondering if anyone else has seen
this behaviour before and whether they have a solution for it? Is it a
problem with the initial build? With the cpacking?

Adriano

Example Script:
filename="test.case"
data_reader = EnSightReader(CaseFileName=filename)
Show(data_reader)
WriteImage('test.png')

Output:
paraview version 3.7.0, Date: 2009-10-03 vtkGenericEnSightReader : [
...........] vtkPVGeometryFilter : [ ...........] vtkPVCacheKeeper : [
...........] vtkPainterPolyDataMapper : [ ...........] Segmentation fault

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

Adriano Gagliardi MEng PhD
Project Scientist
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agagliardi at ara.co.uk
Url: 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

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




More information about the ParaView mailing list