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

Aurélien Marsan aur.marsan at gmail.com
Wed Sep 15 04:15:09 EDT 2010


I build it myself.
My operating system is : Linux 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20
14:21:58 UTC 2010 x86_64 GNU/Linux

I just tried on the binary version.... and can reproduce it. weird...


Le 14 septembre 2010 21:01, Berk Geveci <berk.geveci at kitware.com> a écrit :

> 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
> >> >
> >> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100915/c0c5057e/attachment.htm>


More information about the ParaView mailing list