[Paraview] Auto-load plugin failed
Jérôme
jerome.velut at gmail.com
Mon Oct 26 11:39:50 EDT 2009
Hi Yumin,
Thanks a lot for your interest !! However...
> I assume once you load your xml plugin from the plugin_loader, and
> check the "Auto Load" checkbox, the next time you start paraview, your
> xml plugin is loaded automatically, no?
That's my problem: it is not loaded even in this case... Attached is a
minimal xml that exposes vtkImageMathematics to paraview filter list. I
cannot auto-load it.
> Now regarding the warning message, I believe it is due to the new
> addition to ADD_PARAVIEW_PLUGIN macro in ParaViewPlugins.cmake (see
> below), and the version shown in the plugin_loader_GUI refers to
> plugin "Version" you set when calling ADD_PARAVIEW_PLUGIN in
> CMakeLists.txt
>
Yes, my CMakeLists contains the version specification for the cxx plugins.
But thank you for the update about REQUIRED_PLUGINS, I was hoping that it
will solve my problem. So I set the PVCustomizer (cxx plugin, version "1.0"
in the CMakeLists) requiring the XML "ParaviewVTK". But I cannot load
"ParaviewVTK", so making the former depending on the latter is quite
awkward... Finally, you made me progressing and I have a more precise
question :
- How to set the version of a plugin that is only an XML description of
VTK filters? -ie I don't have a CMakeLists for this...-
Thanks again Yumin!
Jerome
>
> On Fri, Oct 23, 2009 at 4:34 AM, Jérôme <jerome.velut at gmail.com> wrote:
> > Hi,
> >
> > ParaView-CVS brought a good surprise for me a few days ago. The plugin
> > loader has been rewrote and is now offering an auto-load option that is
> very
> > useful.
> > However, I have an XML description of a lot of VTK native filters that
> > cannot be opened automatically. I have to "Load new" each time. Then, no
> > problem, the filters are exposed in the menu. But the plugin loader gives
> a
> > warning message (see screenshot attached) and no "Version" (effectively,
> the
> > XML doesn't have a "version=" element)...
> >
> > Second, I have an AutoStartPlugin that shows exactly the same problem
> > (PVCustomizer). The reason, I think, is that this plugin depends on VTK
> > filters (SplineFilter) that is described in the previous XML...
> >
> > Can someone tell me how to make the XML plugin 'autoloadeable' ? I wonder
> if
> > it will solve the second problem...
> >
> > Thanks a lot!
> >
> > Jerome
> >
> > _______________________________________________
> > 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
> >
> >
>
>
>
> --
> ~~~~~~~~~~~~~~~~
> Yumin Yuan
> R&D Engineer
> Kitware Inc.
> www.kitware.com
> Phone : (518) 881-4936
> email : yumin.yuan at kitware.com
> ~~~~~~~~~~~~~~~~
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20091026/d1144c4c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image_mathematics.xml
Type: text/xml
Size: 4434 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20091026/d1144c4c/attachment-0001.bin>
More information about the ParaView
mailing list