Anim_picker 1.0.2 for Maya (maya script)
This tool allows you to create a graphical interface for quick animation controls selection
Bugs
Error when using PySide in Maya 2014
| Status | closed |
|---|---|
| Priority | high |
| Date | 05/30/2013 |
| Submitted by |
|
| Modify this bug | edit |
HI, first of all, very nice tool. I had to edit qt_handlers.py in order to launch the tool with PySide in Maya 2014 (line 20), shiboken is not inside the PySide package in Maya 2014 but directly in the site-packages folder:
# Error: line 1: Exception: file ...\anim_picker\handlers\qt_handlers.py line 22: Failed to import sip or shiboken
# edited code
##################################
try:
import sip
except:
try:
from PySide import shiboken
except:
try:
import shiboken
except:
raise Exception, 'Failed to import sip or shiboken'
##################################
Also just a minor thing, the 'Picker Item Options' doesn't get parented to the Main Maya Window. Edited gui.py (line 2956):
# QtGui.QMainWindow.__init__(self, parent=None)
QtGui.QMainWindow.__init__(self, parent=qt_handlers.get_maya_window())
Good work man! and thanks for sharing.
# Error: line 1: Exception: file ...\anim_picker\handlers\qt_handlers.py line 22: Failed to import sip or shiboken
# edited code
##################################
try:
import sip
except:
try:
from PySide import shiboken
except:
try:
import shiboken
except:
raise Exception, 'Failed to import sip or shiboken'
##################################
Also just a minor thing, the 'Picker Item Options' doesn't get parented to the Main Maya Window. Edited gui.py (line 2956):
# QtGui.QMainWindow.__init__(self, parent=None)
QtGui.QMainWindow.__init__(self, parent=qt_handlers.get_maya_window())
Good work man! and thanks for sharing.
Comments on this bug:
Guillaume Barlier said over 13 years ago: