<div dir="ltr"><div><span style="font-family:monospace,monospace">Hello everyone,<br><br></span></div><span style="font-family:monospace,monospace">I want to report a possible bug.<br></span><div><span style="font-family:monospace,monospace"><br>I have a Python script that creates data, exports data in a numpy NPZ file, and reads it later in a ProgrammableFilter.<br><br>With ParaView 5.1.2, everything works fine.<br><br>However, when I try it with ParaView 5.2.0, I have a weird reading error.<br><br>I have checked the 'About ParaView' window, but see no real difference between<br>the two versions.<br><br>If I try to import the PV 5.2.0 npz generated file in another Python interpreter with anoter numpy version (1.11.3), I have no problem.<br><br>So I guess, the PV 5.2.0 npz generated files are correct, but there is a problem accessing its content from PV 5.2.0<br><br>Here is a script that reproduces the bug. It is to be run from the PV interpreter.<br><br>    import os<br>    import tempfile<br>    import numpy as np<br>    outputFilename = os.path.join(tempfile.mkdtemp(), 'dummy.npz')<br>    varName='Time'<br>    np.savez(outputFilename, **{varName:np.random.rand(3,4)})<br>    d = np.load(outputFilename)<br>    time = d[varName]<br>    d.close()<br>    os.remove(outputFilename)<br>    print('Success PV can create a NPZ file and read its content : ' + outputFilename)<br><br>Here is the message error on Windows with PV 5.2.0<br>    <br>>>> Traceback (most recent call last):<br>  File "<string>", line 8, in <module><br>  File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\npyio.py", line 250, in __getitem__<br>    return format.read_array(bytes)<br>  File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\format.py", line 437, in read_array<br>    shape, fortran_order, dtype = read_array_header_1_0(fp)<br>  File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\format.py", line 334, in read_array_header_1_0<br>    d = safe_eval(header)<br>  File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\utils.py", line 1132, in safe_eval<br>    return walker.visit(ast)<br>  File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\utils.py", line 980, in visit<br>    return meth(node, **kw)<br>  File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\lib\utils.py", line 987, in visitExpression<br>    for child in node.getChildNodes():<br>AttributeError: 'Expression' object has no attribute 'getChildNodes'<br><br></span></div><div><span style="font-family:monospace,monospace">Guillaume Jacquenot<br></span></div><div><span style="font-family:monospace,monospace"><br></span></div></div>