Hi.

I have a PyQt script that worked without any problem in Maya 2011-2012.
However, it's crashing Maya 2014 when executing these 2 commands.

first one is basically opening Quicktime Player

if os.path.exists(QT) and os.path.exists(item):
            subprocess.Popen([QT, item])

second one is deleting file

if os.path.exists(item):
            try:
                os.remove(item)
            except:
                QtGui.QMessageBox.about( # some error messages )

When the crash happens, script editor shows this message.

file -type MayaAscii
// C:/....(full path to file)

Not very useful as I'm not calling cmds.file at all... What should I check?
Any help appreciate.

Thanks!

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to