[Paraview] PV 3.12.0 coprocessing problem when using multiple filters

Takuya OSHIMA oshima at eng.niigata-u.ac.jp
Fri Nov 11 09:08:25 EST 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oneSlice.py
Type: application/octet-stream
Size: 18748 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111111/af88def6/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twoSlices.py
Type: application/octet-stream
Size: 24137 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111111/af88def6/attachment-0003.obj>


More information about the ParaView mailing list