[Paraview] Warning about Version while Reading File
Dan Lipsa
dan.lipsa at kitware.com
Thu Feb 4 13:20:48 EST 2016
Great that you figure it out.
Indeed the older readers did not care about the version. With the newer
readers we had to check the version to deal properly with ghosts.
Dan
On Thu, Feb 4, 2016 at 12:58 PM, Fastl, Thomas <thomas.fastl at kcl.ac.uk>
wrote:
> Hello,
>
>
> I'm really sorry for the confusion: When writing a file using ParaView I
> obtain 4.0 in the header, but I had a script to generate file from Matlab
> and for some reason I wrote 4.2 in the header of all my files. This didn't
> cause any problems with an older version of ParaView 4.2.0, but throws a
> warning in ParaView 5.0.0. Problem solved and sorry again, that was
> unnecessary....!
>
>
> Best, Thomas
>
> ------------------------------
> *From:* Dan Lipsa <dan.lipsa at kitware.com>
> *Sent:* Thursday, February 4, 2016 4:43 PM
> *To:* Berk Geveci
> *Cc:* Cory Quammen; Fastl, Thomas; paraview at paraview.org
> *Subject:* Re: [Paraview] Warning about Version while Reading File
>
> Hi Thomas,
> I am surprised that version 4.2 gets in the file. In our last upgrade to
> the file format we increased the version from 3.0 to 4.0.
> So format 4.2 is not out yet. I wonder if Paraview writes that.
>
> How did you generate the file?
>
> Thanks,
> Dan
>
>
> On Thu, Feb 4, 2016 at 11:20 AM, Berk Geveci <berk.geveci at kitware.com>
> wrote:
>
>> Actually, we changed how the ghost levels are handled and had to update
>> the format accordingly. It may be related to that. Dan would know more.
>>
>> Best,
>> -berk
>>
>> On Thu, Feb 4, 2016 at 11:00 AM, Cory Quammen <cory.quammen at kitware.com>
>> wrote:
>>
>>> Thomas,
>>>
>>> I'm surprised your file didn't cause a complaint in ParaView 4.2. The
>>> legacy VTK file reader in VTK hasn't changed in quite some years. What
>>> software writes your VTK file? If it were written with VTK (perhaps by
>>> way of ParaView), the file version number should be 4.2.
>>>
>>> By the way, this shouldn't be a problem other than annoying you with
>>> the warning message.
>>>
>>> Cory
>>>
>>> On Thu, Feb 4, 2016 at 8:31 AM, Fastl, Thomas <thomas.fastl at kcl.ac.uk>
>>> wrote:
>>> > Hello Community,
>>> >
>>> >
>>> > I just installed ParaView 5.0.0 and loaded a vtk-file which worked
>>> under
>>> > ParaView 4.2.0! Doing so I receive the warning 'Reading file version:
>>> 4.2
>>> > with older reader version 4.0', suggesting that an outdated vtk
>>> version is
>>> > used to read the file. I should mention that changing the header line
>>> in the
>>> > vtk-file from '# vtk DataFile Version 4.2' to '# vtk DataFile Version
>>> 4.2'
>>> > does the trick, however, I don't understand why ParaView complains? I
>>> read
>>> > that ParaView uses it's own vtk version which seems to be 7.1.0 (see
>>> below),
>>> > so why this warning? Is there anything else I can can do to fix that
>>> or is
>>> > this a bug in ParaView? Thanks!
>>> >
>>> >
>>> > from __future__import print_function
>>> >
>>> > import vtk
>>> >
>>> > print(vtk.vtkVersion.GetVTKSourceVersion())
>>> >
>>> >
>>> > Best wishes, Thomas
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > 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
>>> >
>>> > Search the list archives at: http://markmail.org/search/?q=ParaView
>>> >
>>> > Follow this link to subscribe/unsubscribe:
>>> > http://public.kitware.com/mailman/listinfo/paraview
>>> >
>>>
>>>
>>>
>>> --
>>> Cory Quammen
>>> R&D Engineer
>>> Kitware, Inc.
>>> _______________________________________________
>>> 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
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160204/99134ef7/attachment.html>
More information about the ParaView
mailing list