[Paraview] modpython:25: DeprecationWarning: integer argument expected, got float

Berk Geveci berk.geveci at kitware.com
Tue Sep 14 11:08:26 EDT 2010


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