Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Setting MAYA_SET_PARENT_HINT=0 fixes PyQt crash in QmayaWindowEventFilterObject::eventFilter()

Setting MAYA_SET_PARENT_HINT=0 fixes PyQt crash in QmayaWindowEventFilterObject::eventFilter()

Anonymous
Not applicable
453 Views
1 Reply
Message 1 of 2

Setting MAYA_SET_PARENT_HINT=0 fixes PyQt crash in QmayaWindowEventFilterObject::eventFilter()

Anonymous
Not applicable
Wanted to share this with the community after getting it sorted out. Thanks Autodesk support for your help!

If you're using QGraphicsScene and QGraphicsView in a GUI in PyQt on Maya 2011 you might have had some crashes when you mouse-over the Window.If you turn on the Maya debugging env var, and you see that the crash is in QmayaWindowEventFilterObject::eventFilter(), try this:

Set MAYA_SET_PARENT_HINT=0 in your environment before running and try again. This was a great quick fix for this issue and our UIs are working again. Woo!

Good luck,
Mike
0 Likes
454 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Thanks for sharing back with the community!
It's great to have an answer out here where google can find it.
and an honest testimonial helps people get up the nerve to try it out.
0 Likes