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