我在玩ParaView pvpython,但是关闭交互窗口后,它不再打开。它是否正确?我该怎么办?
➜ ~ /Applications/ParaView-5.7.0.app/Contents/bin/pvpython ; exit;
Python 2.7.10 (default, Feb 22 2019, 21:55:15)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from paraview.simple import *
>>> cylinder2 = Cylinder()
>>> cylinder2.Resolution = 6
>>> cylinder2.Height = 1.0
>>> cylinder2.Radius = 0.5
>>> cylinder2.Center = [0.0, 0.0, 0.0]
>>> cylinder2.Capping = 1
>>> renderView1 = GetActiveViewOrCreate('RenderView')
>>> cylinder2Display = Show(cylinder2, renderView1)
>>> Interact()
>>> cylinder2.Resolution = 50
>>> Interact()
在Mac中我没有收到任何消息错误,在Windows 10中我得到了
ERROR: In C:\bbd\6519e7fe\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 491
vtkShaderProgram (00000190C6D2E400): Shader object was not initialized, cannot attach it.
Generic Warning: In C:\bbd\6519e7fe\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 124
vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring.
ERROR: In C:\bbd\6519e7fe\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 491
vtkShaderProgram (00000190C6D2D320): Shader object was not initialized, cannot attach it.
ERROR: In C:\bbd\6519e7fe\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkOpenGLVertexArrayObject.cxx, line 280
vtkOpenGLVertexArrayObject (00000190C74323F0): attempt to add attribute without a program for attribute ndCoordIn
Generic Warning: In C:\bbd\6519e7fe\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkOpenGLQuadHelper.cxx, line 60
Error binding ndCoords to VAO.