I have a basic threaded python script that I wanted to run in ParaView, but it seems that whenever you try to run a thread nothing happens in the python console. Trying to reset the console window crashes ParaView. This seems to be odd because the same script is able to work inside pvpython.

Here is the script I was running:

#!/usr/bin/env python
from threading import Thread, Timer

def test():
 print 'hello world'

def runTest():
 t = Timer(3,test)
 t.start()

runTest()
_______________________________________________
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to