[Paraview] Problem reading a numpy NPZ file in ParaView 5.2.0 on Windows

Ben Boeckel ben.boeckel at kitware.com
Fri Jan 6 15:51:54 EST 2017


On Fri, Jan 06, 2017 at 14:36:53 -0500, Cory Quammen wrote:
> Thanks for the report. I looked into this and I think I know what is going on.
> 
> In ParaView 5.2.0, we reduced the number of Python modules that
> shipped with the ParaView binaries. One of the modules not included
> was the "compiler" module. Now, Numpy checks to see if the "compiler"
> module is available, and if it isn't, uses the "ast" module instead to
> parse some file header data. However, Numpy doesn't correctly handle
> the results produced by using ast.parse to parse the header data.
> 
> ParaView 5.1.2 shipped with the "compiler" module, which is why it
> worked for you in the past. We'll have to add it back for the next
> release. I've added an issue to track here:
> 
> https://gitlab.kitware.com/paraview/paraview-superbuild/issues/43

Sorry about that, I missed the packages (foo/__init__.py) from the
standard distribution. The nightlies will have it next week at the
latest.

--Ben


More information about the ParaView mailing list