pyqt example hanging

   5498   6   1
User Avatar
Member
112 posts
Joined: Oct. 2011
Offline
Hello,

I have setup pyqt with houdini and it basically works - I can import PyQt4. Running the cookbook example (http://www.sidefx.com/docs/houdini11.1/hom/cookbook/pyqt/part1/) [sidefx.com] the gui is shown but I get the issue of not being able to interact with the pyqt dialog. It will just hang and block houdini making me kill it.
Not using pyqt_houdini.exec_(app,dialog) but just app.exec_() interaction with the gui works, but I am not connected to the houdini event loop.

Anyone have an idea? I am using Windows XP 64bit Houdini 11.1.64, PyQt. Do I need to use a special PyQt version for this. Currently I am using the same version I use for interfaces running with the nuke interpreter….

Cheers

Sebastian
Pipeline @ RISE Visual Effects Studios
User Avatar
Member
23 posts
Joined: Nov. 2011
Offline
did an upgrade to a newer version. works now.
User Avatar
Member
3 posts
Joined: Oct. 2011
Offline
Hi Sebastian,

What version did you have to upgrade to? I'm trying to set up PyQt4 and I'm having the exact same issue as you are. (WinXP x64 Houdini 11.1.67, PyQt 4.8.4-1)
User Avatar
Member
23 posts
Joined: Nov. 2011
Offline
Hi Michael,

I was using an internal build of pyqt done to be used with Nuke 6.3 (which is not neccassary anymore because Nuke ships with PySide!). I can send you the files off list if you want. Please contact me by mail. Also it is very important it seems to follow the pyqt example by the letter. For example I forgot to add the in the QApplication() using the standard sys.argv instead.

Cheers

Sebastian
User Avatar
Member
3 posts
Joined: Oct. 2011
Offline
Hi Sebastian, sorry I didn't get back to this thread until now.

I have Nuke 6.3v1 so I copied PyQt out of that installation and… it seems like it's at least doing something new I've got *exactly* the code from the cookbook example and it's coming up with this error:

QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
User Avatar
Member
23 posts
Joined: Nov. 2011
Offline
Just tried again and it stopped working for some reason. Going to ask support now.
User Avatar
Member
23 posts
Joined: Nov. 2011
Offline
This is now logged as a bug.
  • Quick Links