[Paraview] Plugin with dropdown list crash

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Feb 2 15:01:18 EST 2015


You're missing the "initial_string" attribute. Fixed XML attached. You
may want to put the correct value for the intial_string. I just put
"Mapping_Type".

On Mon, Feb 2, 2015 at 2:47 PM, Bruce Jones <bruce.david.jones at gmail.com> wrote:
> Sure, XML is attached. It expects VTKPolyData and outputs VTKImageData
>
> Cheers,
> Bruce
>
> On Mon Feb 02 2015 at 2:46:22 PM Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
>>
>> Mind sharing the generated XML that you're trying to load? It will be
>> easier to debug.
>>
>> On Mon, Feb 2, 2015 at 2:36 PM, Bruce Jones <bruce.david.jones at gmail.com>
>> wrote:
>> > Hi,
>> >
>> > I'm writing a paraview plugin based on a python programmable filter. To
>> > do
>> > this I'm using the excellent plugin generator described here,
>> > http://www.kitware.com/blog/home/post/534
>> >
>> > I am trying to add a dropdown list to the plugin XML, as in here
>> > http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list
>> >
>> > However including the example code, or the code I actually need, in the
>> > XML
>> > causes paraview to crash when the filter is selected.
>> >
>> > Due to the way paraview is crashing, I can see the output messages but
>> > not
>> > select or scroll. One line seems pertinent which is
>> >
>> > Incorrect message received. missing xml_group and xml_name information
>> >
>> > Any suggestions?
>> >
>> > Cheers,
>> > Bruce
>> >
>> >
>> >
>> > _______________________________________________
>> > 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
>> >
>> > Search the list archives at: http://markmail.org/search/?q=ParaView
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://public.kitware.com/mailman/listinfo/paraview
>> >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GridFromSPH.xml
Type: text/xml
Size: 10357 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150202/487ba6ae/attachment.xml>


More information about the ParaView mailing list