[Paraview-developers] [Paraview] ParaView Plugin .xml how to

Yumin Yuan yumin.yuan at kitware.com
Thu Jun 7 11:53:02 EDT 2012


On Thu, Jun 7, 2012 at 11:44 AM, Tuan Ha Tran <tuan-ha.tran at insa-lyon.fr> wrote:
> That really helpful your reply.
> But, I always have errors with
> ===========================================================
>
>    <DoubleVectorProperty name="OpThreshold"  command="SetOpThreshold"
> number_of_elements ="1" default_values="0">
>    </DoubleVectorProperty>
>     And normaly, I can entre a value in a box in ParaView GUI. but I have a
> Core Dump, here is what I have as error :
>
> paraview:
> /home/thtran/PV/ParaView/src/ParaViewCore/ServerImplementation/vtkSIProxy.cxx:453:
> virtual bool vtkSIProxy::ReadXMLProperty(vtkPVXMLElement*): Assertion
> `!name.empty() && this->GetSIProperty(name.c_str()) == __null' failed.
> Aborted (core dumped)
>  =============================================================
>
> It's just a simple tab for Adding GUI parameters, so I don't know where is
> the error comes from. There is nothing "empty" as we analyse the error.
>

Look at the comments above vtkSIProxy.cxx:453

  // Since the XML is "cleaned" out, we are assured that there are no duplicate
  // properties.

You have duplicated property name, "OpThreshold". Try to use
"OpThresholdInfo" for "GetOpThreshold"

Yumin


More information about the Paraview-developers mailing list