[Paraview] Catalyst edition: no proxy for XMLPPolyDataWriter found

Andy Bauer andy.bauer at kitware.com
Mon Aug 18 14:39:40 EDT 2014


Hi Lars,

When you run pvpython can you create the XMLPPolyDataWriter ?

To test this just do:
from paraview.simple import *
w = XMLPPolyDataWriter()

The safest way to test this stuff is to try it with a "normal" ParaView
build with MPI and Python enabled. If you can link and run against this
then it has to do with your edition which you can then check on issues by
using pvpython. We don't do a lot of testing on the generated Catalyst
editions yet so it's possible that something snuck in to them.

Also, what version of ParaView are you using?

Andy




On Mon, Aug 18, 2014 at 2:22 PM, Lars Bilke <lars.bilke at ufz.de> wrote:

> Hi Andy,
>
> thanks for looking into it.
>
> I further noticed that the same error occurs when I use the official
> Extras-edition (plus Enable-Python). When using the Rendering-Base-Python
> edition everything works.
>
> Best,
> Lars
>
> Am 18.08.2014 um 16:26 schrieb Andy Bauer <andy.bauer at kitware.com>:
>
> > Hi,
> >
> > I will look at this a bit more but I'm wondering if you tried doing the
> same with just a full ParaView build and if you did, how did it work?
> >
> > Regards,
> > Andy
> >
> >
> > On Mon, Aug 18, 2014 at 9:42 AM, Lars Bilke <lars.bilke at ufz.de> wrote:
> > Dear ParaView users,
> > I have created a custom catalyst edition (see attached manifest). It is
> basically the same as the Extras-edition with some parts removed. I have
> integrated a catalyst adaptor into my application. Everything builds and
> links fine. Now I want to use a python coprocessing pipeline (see attached
> script). When running I get the following output:
> >
> > Generic Warning: In
> /Users/bilke/code/catalyst/fem-python/ParaViewCore/ClientServerCore/Core/vtkProcessModuleInitializePython.h,
> line 254
> > Non-app bundle in install directory not supported
> >
> > Error: Could not import vtkCommonComputationalGeometryPython
> > Error: Could not import vtkRenderingCorePython
> > Error: Cannot import vtkPVServerManagerDefaultPython
> > Error: Cannot import vtkPVServerManagerRenderingPython
> > Error: Cannot import vtkPVAnimationPython
> > ERROR: In
> /Users/bilke/code/catalyst/fem-python/ParaViewCore/ServerImplementation/Core/vtkSIProxyDefinitionManager.cxx,
> line 565
> > vtkSIProxyDefinitionManager (0x7ff1c9527d70): No proxy that matches:
> group=filters and proxy=XMLPPolyDataWriter were found.
> >
> > Traceback (most recent call last):
> >   File "<string>", line 2, in <module>
> >   File "Slice.py", line 73, in DoCoProcessing
> >   File
> "/Users/bilke/code/catalyst/build-fem-python/lib/site-packages/paraview/coprocessing.py",
> line 103, in UpdateProducers
> >     self.CreatePipeline(datadescription)
> >   File "Slice.py", line 29, in CreatePipeline
> >   File "Slice.py", line 17, in _CreatePipeline
> >   File "Slice.py", line 23, in Pipeline
> >   File
> "/Users/bilke/code/catalyst/build-fem-python/lib/site-packages/paraview/coprocessing.py",
> line 280, in CreateWriter
> >     return self.RegisterWriter(writer, filename, freq)
> >   File
> "/Users/bilke/code/catalyst/build-fem-python/lib/site-packages/paraview/coprocessing.py",
> line 234, in RegisterWriter
> >     writer, filename, freq)
> >   File
> "/Users/bilke/code/catalyst/build-fem-python/lib/site-packages/paraview/coprocessing.py",
> line 252, in WriterParametersProxy
> >     proxy.GetProperty("Input").SetInputConnection(
> > AttributeError: 'NoneType' object has no attribute ‚GetProperty'
> >
> >
> > Why is the writer proxy searched in the filters group? It should be in
> the writers group right?
> >
> > Thanks for your help!
> >
> >
> >
> > _______________________________________________
> > 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://public.kitware.com/mailman/listinfo/paraview
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140818/6e5c4d77/attachment.html>


More information about the ParaView mailing list