[Paraview] PV 3.12.0 coprocessing problem when using multiple filters

Andy Bauer andy.bauer at kitware.com
Fri Nov 11 12:39:18 EST 2011


Another thing to check is if there are any cells in the output from the
second slice filter.  In the ParaView GUI, i started with the mandelbrot
source and then created a slice filter that didn't intersect the domain.
After that there wasn't any point or cell data in the output.

Andy

2011/11/11 Takuya OSHIMA <oshima at eng.niigata-u.ac.jp>

> I'm not in a place where I can test the line 323 modification right
> now but the cell array p is present. Please note that oneSlice.py
> which also colors by cell p works.
>
> Takuya OSHIMA, Ph.D.
> Faculty of Engineering, Niigata University
> 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
>
> From: Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
> Subject: Re: [Paraview] PV 3.12.0 coprocessing problem when using multiple
> filters
> Date: Fri, 11 Nov 2011 09:16:18 -0500
>
> > Is the array "p" not present when you're coprocessnig? Try taking out
> > line 323 which sets the array "p" as the array to color with.
> >
> > Utkarsh
> >
> > On Fri, Nov 11, 2011 at 9:08 AM, Takuya OSHIMA
> > <oshima at eng.niigata-u.ac.jp> wrote:
> > > Hi,
> > >
> > > I am trying to explore the coprocessing capability of PV 3.12.0. When
> > > I create a pipeline with a single slice filter within the PV GUI,
> > > export the Python state file by the coprocessing plugin and run the
> > > script as the coprocessing pipleline in my simulation code, it works
> > > fine.
> > >
> > > However if I create a pipeline with two or more filters my simulation
> > > code issues an error from the coprocessing library (the error message
> > > is for the case of two slice filters):
> > >
> > > Traceback (most recent call last):
> > >  File "<string>", line 2, in <module>
> > >  File "/Users/ohshima/shindoriTest/twoSlices.py", line 323, in
> DoCoProcessing
> > >    DataRepresentation2.ColorArrayName = 'p'
> > >  File
> "/Volumes/RAID0data/paraview/3.12/build/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py",
> line 212, in __setattr__
> > >    setter(self, value)
> > >  File
> "/Volumes/RAID0data/paraview/3.12/build/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py",
> line 2276, in setProperty
> > >    return self.SetPropertyWithName(propName, value)
> > >  File
> "/Volumes/RAID0data/paraview/3.12/build/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py",
> line 267, in SetPropertyWithName
> > >    prop.SetData(arg)
> > >  File
> "/Volumes/RAID0data/paraview/3.12/build/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py",
> line 695, in SetData
> > >    raise ValueError("Could not locate array %s in the input." % arr)
> > > ValueError: Could not locate array p in the input.
> > >
> > > The problem is same for Mac OS X 10.6 and RHEL 5.1 64bit. I attach the
> > > scripts oneSlice.py (which works) and twoSlices.py (which does not
> > > work). Can anybody shed light on the problem?
> > >
> > > Takuya
> > >
> > > Takuya OSHIMA, Ph.D.
> > > Faculty of Engineering, Niigata University
> > > 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
> > >
> > > _______________________________________________
> > > 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
> > >
> > >
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111111/4eb38f86/attachment.htm>


More information about the ParaView mailing list