[Paraview] pvpython crashes with plane cut or clip

Julien Duclos juliolatengo at gmail.com
Tue Feb 5 13:19:11 EST 2008


Dear all,

first, I would like to say that I am very pleased with pvpython. This is a
great tool for processing unsteady calculation from Fluent!

I think I am not the first one asking the question but pvpython seems to
crash when using the cutfilter on a very simple example.

===
from paraview import servermanager
connection=servermanager.Connect()

cube1 = servermanager.sources.CubeSource(Center=[4.0,3.9,0.0],  XLength=0.1,
YLength=0.1, ZLength=0.1)

plane1 = servermanager.sources.PlaneSource(Origin=[-5.0,3.9,-5.0], Point1=[-
5.0,3.9,5.0], Point2=[5.0,3.9,-5.0], XResolution=10, YResolution=10)

cutfunc = servermanager.filters.Cut()
cutfunc.Input=cube1
cutfunc.CutFunction=plane1
===

The error message is:

===
ERROR: In
/home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkProcessModule.cxx,
line 1001
vtkProcessModule (0x807b7d0): Object type: vtkCutter, could not find
requested method: "SetCutFunction"
or the method was called with incorrect arguments.

while processing
Message 0 = Invoke
  Argument 0 = id_value {11}
  Argument 1 = string_value {SetCutFunction}
  Argument 2 = id_value {8}

ERROR: In
/home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkProcessModule.cxx,
line 1002
vtkProcessModule (0x807b7d0): Aborting execution for debugging purposes.
Aborted
====

In addition, when using clip filter, a similar error message still remains.

Do you have any clue? Is it a bug or am I doing something wrong?
I am using Paraview 3.2.1 binaries for Linux 32b.

Thank you in advance.

-- 
Julien Duclos
Reserach Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20080205/030607ad/attachment.htm


More information about the ParaView mailing list