Hi everyone. Sorry for the delay, replies are not sent to my inbox for some reason. After checking a few hours it turned out they compiled the wrong version of Qt. I recompiled it and everything works now. Thank you for your help :)
Been thinking seriously about recoding my scripts into PySide. It there any big differences I should be aware of before I start? Best regard. On Friday, February 13, 2015 at 9:37:08 PM UTC+7, Panupat Chongstitwattana wrote: > > 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/5299ae0d-3ed6-47cf-b8cb-0b8f44a570f3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
