Connect() and Disconnect() python method crashes when used in a macros
Connect() and Disconnect() methods are crashing when used inside a macro :
How to reproduce
- create .py containing the following
from paraview.simple import *
Disconnect()
Connect()
- Open ParaView, open PythonShell
- Run Script -> run the .py file
- scripts run fines, disconnecting and reconnecting to the builtin server
- Tools->Macro->Add New Macro -> select your .py file
- Click on the newly created macro in the macro toolbar
- ParaView crashes