I couldn't see anything obviously wrong. Try setting a breakpoint in
vtkDemandDrivenPipeline::CheckDataObject right before you open the
file. When you walk over that function, is there an output at all? If
no, is DATA_TYPE_NAME() set to anything?

On Fri, Jan 29, 2010 at 8:22 PM, David Doria <[email protected]> wrote:
> I created a vtk class vtkPTXReader which is working as expected when
> used from c++. I am trying to make a reader plugin for Paraview, but I
> am getting the following error when I try to open a PTX file in
> Paraview:
>
> ERROR: In 
> /home/doriad/src/ParaView3/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
> line 690
> vtkCompositeDataPipeline (0x9657d68): Algorithm
> vtkPTXReader(0x964f6a0) did not create output for port 0 when asked by
> REQUEST_DATA_OBJECT and does not specify any DATA_TYPE_NAME.
>
> My class and plugin xml files can be found here:
> http://www.rpi.edu/~doriad/Paraview_List/PTX/
>
> Can anyone see what the problem may be?
>
> Once I get this figured out, I plan to add it to:
> http://www.paraview.org/Wiki/Plugin_HowTo#Adding_a_Reader
> as it currently doesn't have all the necessary information (namely the
> main xml file).
>
> Thanks,
>
> David
> _______________________________________________
> 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

Reply via email to