Hi everyone.

I got a call from my previous studio that a PyQt script I wrote, which
worked with 2012-2014, is crashing their Maya 2015. So I came in to
take a look and I can't figure out the reason. I have quite a number
of script made and only this one is crashing.

The part that crash is basically just an if statement checking if the
user has a valid selection in QListWidget

if len(self.ui.fileList.selectedIndexes()) < 1:
        print "A"
        return

print "B"
# script continues

A would print fine. But then it crash and never made it to B. Any idea
what could be the cause of this? I'm not sure I'll have the time to
properly convert it to PySide for them which probably would be the
best way.

Best regard.

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAC788Ufx7zW3Yw29KR8nR%3Dp%2BC9PMph%3Dt4dHbHboJXGFXhM3-eg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to