Python QFileSystemWatcher callback causes rv to freeze

In a PyQt dialog box I create a file system watcher with a callback to refresh some variables when a config file is changed:

qfsw = QtCore.QFileSystemWatcher(configFilePath)

As soon as the file is changed by another application, I get a "rv.exe has stopped working" dialog box and I have to kill the application.  It freezes even if the callback is an empty function, but if I don't connect to the callback (the second line), it doesn't freeze. This same watcher code works fine in maya.  

I'm running this under Windows 7, starting the dialog box from our custom menu implemented in python.

Any ideas as to what's going on?


1 comment

  • 0
    Jon Morley

    Hi Sumit,

    1) Can you please tell me what version of RV you are using?

    2) Would it be possible to send us a stripped down package that demonstrates the crash?

    3) How did you compile your PyQt library and is there anyway you could use the Pyside library we include instead?


Please sign in to leave a comment.