[Paraview] ParaView Plugin .xml how to
Tuan Ha Tran
tuan-ha.tran at insa-lyon.fr
Fri Jun 8 10:28:50 EDT 2012
Hi Yumin,
Thank you for your reply.
Yeah, I didn't pay attention, my Property name is duplicated. I have OpThreshold with command="SetOpThreshod" and command="GetOpThreshold" as well. I modified this and there is no more error.
----- Original Message -----
From: Yumin Yuan <yumin.yuan at kitware.com>
To: Tuan Ha Tran <tuan-ha.tran at insa-lyon.fr>
Cc: David E DeMarle <dave.demarle at kitware.com>, paraview-developers at paraview.org, paraview at paraview.org
Sent: Thu, 07 Jun 2012 17:53:02 +0200 (CEST)
Subject: Re: [Paraview] ParaView Plugin .xml how to
On Thu, Jun 7, 2012 at 11:44 AM, Tuan Ha Tran wrote:
> That really helpful your reply.
> But, I always have errors with
> ===========================================================
>
> <doublevectorproperty name="OpThreshold" command="SetOpThreshold" > number_of_elements ="1" default_values="0">
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120608/baaeb59f/attachment-0001.htm>
More information about the ParaView
mailing list