Improve python message logger
- The paraview python
print_XXX
messages are now forwarded to vtkOutputWindow if any, in addition to the vtkLogger - Make catalyst state export failure more explicit, and do not raise a
RuntimeError
Current
( 9.745s) [paraview ] catalyst_export.py:10 WARN| No extractors defined. Extractors are required to export a Catalyst state.
( 9.745s) [paraview ] catalyst_export.py:62 ERR| No state generated
Previous failure
Traceback (most recent call last):
File "/home/nicolas/ParaView/master/build/lib/python3.10/site-packages/paraview/detail/catalyst_export.py", line 58, in save_catalyst_state
raise RuntimeError("No state generated")
RuntimeError: No state generated