I setup VTK_MATPLOTLIB_DEBUG=1 to see some useful messages but this did not report any issue about the import of matplotlib which seems to be OK, since I can read:
( 40.371s) [paraview ]vtkMatplotlibMathTextUt:83 WARN| Initializing Python, if not already.( 41.672s) [paraview ]vtkMatplotlibMathTextUt:85 WARN| Attempting to import matplotlib.( 42.398s) [paraview ]vtkMatplotlibMathTextUt:112 WARN| Successfully imported matplotlib.
Moving forward, I ran with a debugger step by step and I can see that an exception is raised at this line:
Though the traceback says it crashes under PyImport_ImportModule, so vtkSmartPyObject isn't in the picture yet. Any chance we can see what libc function it is that is failing?
Hi,
can you point me to where I can find the logs of official tarbals to check which versions are used and check against our log files ?
Is this available somewhere on Paraview gitlab ?
thanks
Strangely VTK_PYTHON_FULL_THREADSAFE cmake flag (ON by default) is not suffisant here.
We are currently testing it on several platforms and will report about additional issues here.
The issue is not fixed yet, please do not closed unfixed issues just because a patch exists (as others will need this). Moving to VTK where the actual problem exists.
VTK_PYTHON_FULL_THREADSAFE is problematic because, as noted in #18102 (closed), it is undocumented and doesn't even appear in any of VTK's cmake files. All follow-ups will be in that issue.
The crash does not occur when !9722 (merged) is applied. But we need CI builds with VTK_PYTHON_FULL_THREADSAFE=ON to catch similar GIL issues in the future.