[Paraview] OpenDataFile doesn't work in RC2

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Nov 4 15:34:25 EDT 2011


Thanks for reporting. This bug has been fix and will be included in
3.12 final release.

http://paraview.org/Bug/view.php?id=12709

Utkarsh

On Fri, Nov 4, 2011 at 11:40 AM, Gena Bug <archaerolog at mail.ru> wrote:
> Hello!
>
> I tried to open a file from python shell in 3.12.0RC2 and got this message:
> vtr = OpenDataFile('tmp.vtr')
> Traceback (most recent call last):
>  File "<console>", line 1, in <module>
>  File "/home/gennadiy/ParaView-3.12.0-RC2-Linux-x86_64/lib/paraview-3.12/site-
> packages/paraview/simple.py", line 136, in OpenDataFile
>    reader = globals()[xml_name](FileName=filename, **extraArgs)
> KeyError: 'XMLRectilinearGridReader'
>
> The more explicit expression works fine:
> vtr = XMLRectilinearGridReader(FileName = 'tmp.vtr')
>
> In 3.10.1 it works both methods works as expected.
>
> -----|-
> Gena.
> _______________________________________________
> 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