[Paraview] modpython:25: DeprecationWarning: integer argument expected, got float
Berk Geveci
berk.geveci at kitware.com
Tue Sep 14 15:01:00 EDT 2010
I tried with 3.8.0 on Mac OS X. I still can't reproduce it. Which
operating system are you using? Is this with out binary or did you
build it yourself?
2010/9/14 Aurélien Marsan <aur.marsan at gmail.com>:
> The 3.8.0.
> I can reproduce it, using a simple programmable source and scripting :
>
> output = self.GetOutput()
>
> output.GetInformation().Remove(output.DATA_TIME_STEPS())
>
> output.GetInformation().Append(output.DATA_TIME_STEPS(), 0.5)
>
> I will try to remove that line.
>
>
> Le 14 septembre 2010 17:08, Berk Geveci <berk.geveci at kitware.com> a écrit :
>>
>> Hmm, that's weird. I can't reproduce it. Which version of ParaView are
>> you using?
>>
>> On another note, I don't think that you need that line. The executive
>> should set the DATA_TIME_STEPS() to be the same as the
>> UPDATE_TIME_STEPS() for you.
>>
>> -berk
>>
>> 2010/9/13 Aurélien Marsan <aur.marsan at gmail.com>:
>> > Good Afternoon,
>> >
>> > I produce a dataset with timestep, looking at
>> >
>> > http://www.vtk.org/Wiki/Here_are_some_more_examples_of_simple_ParaView_3_python_filters.
>> > It works well, but at the first time I use my Reader, just after having
>> > launched Paraview, it displays me this message :
>> > modpython:25: DeprecationWarning: integer argument expected, got float
>> >
>> > It looks like this is because of the line :
>> > pdo.GetInformation().Append(pdo.DATA_TIME_STEPS(),
>> > pyturbo.GetUpdateTimeSteps(self)[0])
>> > where the function GetUpdateTimeSteps is the same as in the example
>> > Producing Data with Timesteps of the wiki.
>> >
>> > Any suggestion of explanation ?
>> > Many thanks,
>> >
>> > A.Marsan
>> >
>> > _______________________________________________
>> > 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
>> >
>> >
>
>
More information about the ParaView
mailing list