I'm able to get the GradientOfUnstructuredDataSet filter through the GUI's python interpretor so I'm not sure what's causing your problem. Could you share the script?
I am able to cause problems if I don't have an active filter/source when creating the GradientOfUnstructuredDataSet filter since it complains, as it should, that there isn't a proper input for it. Andy On Wed, Aug 8, 2012 at 8:23 AM, Janusz Michalik <[email protected]>wrote: > Sorry, in the e-mail I misspelled it. I do use: > > GradientOfUnstructuredDataSet() > > as the error indicates; it is not related to the spelling. After I sent > out the first e-mail I tried Paraview 3.14.0 Linux 64-bit and it works, so > for what I need this is fine. I think it is a bug that needs to be fixed in > 3.14.1, if it hasn't already been fixed in the developers version. > > ------------------------------ > *From:* Dray, Colan [[email protected]] > *Sent:* August 8, 2012 14:16 > *To:* Janusz Michalik > *Subject:* RE: [Paraview] BUG?: Paraview 3.14.1 Linux 64-bit --> can not > call GradientsOfUnstructuredDataSet through python script > > GradientOfUnstructuredDataSet > > GradientsOfUnstructuredDatSet() > > > > There’s a spelling discrepancy between the two: missing “A” in data, and > extra “S” after gradient. Could that be the issue? > > > > > > -Colan > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Janusz Michalik > *Sent:* Wednesday, August 08, 2012 5:35 AM > *To:* [email protected] > *Subject:* Re: [Paraview] BUG?: Paraview 3.14.1 Linux 64-bit --> can not > call GradientsOfUnstructuredDataSet through python script > > > > Hi all, > > I switched from Paraview 3.12.0 to 3.14.1 Linux 64-bit and have the > following error: > > Traceback (most recent call last): > > File "<string>", line 6, in <module> > > TypeError: 'GradientOfUnstructuredDataSet' object is not callable > > > when I try to take the gradients of the velocity by calling: > GradientsOfUnstructuredDatSet(). This worked in 3.12.0, did something > change? Is there a quick fix for this? Please let me know. I would go back > to the old version except that the numpy eig functions return 0+0i for any > matrix I throw at it (so another bug which I assume won't be fixed since > its an older version). > > Best, > Janusz > > _______________________________________________ > 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 > >
_______________________________________________ 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
