Hi. Can not find the reason why Actions doesn’t work in pyblish_lite ( maya2013, windows7 ). I spent hours to try different variants by still stacked. Finally i have tried to load plugins from mock.py and those actions didn`t work too.
When i tried the same things in pyblish_qml it worked fine.
My UserSetup:
import pyblish_lite.mock
for Plugin in pyblish_lite.mock.plugins:
pyblish.api.register_plugin(Plugin)
When i try to emit any action from GUI it returns error:
# Traceback (most recent call last):
# File "C:\Program Files\Autodesk\Maya2013\Python\lib\site-packages\pyblish_lite-0.7.4-py2.6.egg\pyblish_lite\window.py", line 748, in <lambda>
# lambda p=plugin, a=action: self.act(p, a)
# File "C:\Program Files\Autodesk\Maya2013\Python\lib\site-packages\pyblish_lite-0.7.4-py2.6.egg\pyblish_lite\window.py", line 940, in act
# index = model_.items.index(plugin)
# ValueError: list.index(x): x not in list
Thanks for reporting this @sega. This might be yet another issue with Python 2.6.
The GUIs currently isn’t being tested against it so it is likely that problems sip in.
Are you able to try in Maya 2014 or above? That should help determine whether the problem is related to Python 2.6 as later versions of Maya ship with 2.7.
If not, then try an older version of Lite and see what happens.
You might be able to work directly on GitHub, you can fork and edit files directly in the web interface. The PR would then trigger the necessary tests before we merge.