I found it. So internally, we had not updated our pyqt on the server, it
was 4.8.x not 4.9.1. Upgrading it to be compatible with Maya 2013 fixed the
issue.

CE


On Wed, Jan 9, 2013 at 9:44 PM, Chad Vernon <[email protected]> wrote:

> Code looks right to me.  Have you tried another version of
> Maya/machine/OS?  Maybe it's specific to one of those combinations.
>
> On Wednesday, January 9, 2013 2:46:26 AM UTC-8, Christopher wrote:
> > I have a customContextMenu that works in a regular, external pyqt app,
> but crashes Maya.
> >
> > Whether I connect the signal/slot like so:
> >
> > self.connect(self.ui.tree,
> QtCore.SIGNAL("customContextMenuRequested(QPoint)" ), self.openMenu)
> >
> >
> >
> > Or so:
> > self.ui.tree.customContextMenuRequested.connect(self.openMenu)
> >
> >
> >
> >
> > Here's the open menu:
> > http://pastebin.com/ThmAwXnd
> >
> >
> >
> >
> > Right after printing the action, Maya crashes. It seems on exit of the
> openMenu. Maya callstack attached (crashes on renderWindowSelectContextItem)
> >
> >
> > --
> > CE
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
>
>
>


-- 
CE

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].


Reply via email to