[Paraview] Paraview3 External plugin - call sequence

clinton at elemtech.com clinton at elemtech.com
Mon Aug 20 12:29:06 EDT 2007


If you're ok with debugging...

Try setting a breakpoint in
pqReaderFactory::loadFileTypes
which should be called at start up, and again when your plugin loads.
You can follow that to make sure it reads the xml file included in your plugin 
which defines the reader's file extention(s) among other stuff.

pqReaderFactory::createReader should be called when trying to make your 
reader.

Clint

On Sunday 19 August 2007 9:51:28 am Philippose Rajan wrote:
> Hello,
>
> Could someone give me a brief overview of the sequence of events (functions
> called for example), when I load an external "Reader" plugin, a "GUI"
> plugin (which allows me to load specific file types), and then open a file
> which is meant to be handled by this custom reader?
>
> A plugin which worked in Paraview 3.1.0 (July snapshot) does not work
> anymore after I compiled Paraview 3.1.1 (from CVS), and I would like to
> trace the possible reason for the error which says:
>
> Invalid output port : 0 . Available number of output ports : 0
> Segmentation Fault
>
> Regards,
>
> Philippose
>
>
>
>
>
>      
> ___________________________________________________________________________
>_________ Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s
> user panel and lay it on us.
> http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7




More information about the ParaView mailing list