Both the pyblish-shell\pyblish-qml.exe --debug
and pyblish_shell.exe -m pyblish_qml --debug
run fine with the pyblish.zip
path’s on my PYTHONPATH
.
I’m especially pleased with how smooth this goes and how much smaller the filesizes are!
Can I already use this with pyblish_maya
and alike to take this into production?
Update
Ok. Some strange things are happening. Not sure if related. Running the pyblish-qml.exe --debug
a couple of times sometimes show me the lines:
<Unknown File>: QML VisualDataModel: Error creating delegate
file:///C:/Users/Roy/Desktop/pyblish-master/pyblish-master/pythonpath/pyblish_qml/qml/delegates/RecordDelegate.qml: Object destroyed during incubation
file:///C:/Users/Roy/Desktop/pyblish-master/pyblish-master/pythonpath/pyblish_qml/qml/delegates/RecordDelegate.qml: Object destroyed during incubation
This is in the console (command prompt). Note that the Pyblish Window shows up like normal and doesn’t seem to be affected. Might just be a warning.
Also I got this once when running Maya just after testing with the shell stuff and starting Maya with the old pyblish-win:
Failed to execute userSetup.py
Traceback (most recent call last):
File "P:\pipeline\dev\git\pyblish-win\lib\pyblish\modules\pyblish-maya\pyblish_maya\pythonpath\userSetup.py", line 3, in <module>
__import__("pyblish_maya")
File "P:\pipeline\dev\git\pyblish-win\pythonpath\pyblish_maya\__init__.py", line 5, in <module>
util.wrap_module(__name__.replace("_", "-"))
File "P:\pipeline\dev\git\pyblish-win\pythonpath\pyblish_maya\__init__.pyc\..\..\__pyblish_util.py", line 30, in wrap_module
reload(mod)
File "P:\pipeline\dev\git\pyblish-win\lib\pyblish\modules\pyblish-maya\pyblish_maya\__init__.py", line 3, in <module>
from lib import (
File "P:\pipeline\dev\git\pyblish-win\lib\pyblish\modules\pyblish-maya\pyblish_maya\lib.py", line 10, in <module>
import pyblish_integration
File "P:\pipeline\dev\git\pyblish-win\pythonpath\pyblish_integration\__init__.py", line 5, in <module>
util.wrap_module(__name__.replace("_", "-"))
File "P:\pipeline\dev\git\pyblish-win\pythonpath\pyblish_integration\__init__.pyc\..\..\__pyblish_util.py", line 30, in wrap_module
reload(mod)
File "P:\pipeline\dev\git\pyblish-win\lib\pyblish\modules\pyblish-integration\pyblish_integration\__init__.py", line 2, in <module>
from .lib import (
File "P:\pipeline\dev\git\pyblish-win\lib\pyblish\modules\pyblish-integration\pyblish_integration\lib.py", line 22, in <module>
import pyblish_rpc.server
File "P:\pipeline\dev\git\pyblish-win\lib\pyblish\modules\pyblish-rpc\pyblish_rpc\server.py", line 14, in <module>
from SimpleXMLRPCServer import (
File "C:\Program Files\Autodesk\Maya2016\bin\python27.zip\SimpleXMLRPCServer.py", line 102, in <module>
File "C:\Program Files\Autodesk\Maya2016\bin\python27.zip\xmlrpclib.py", line 144, in <module>
File "C:\Program Files\Autodesk\Maya2016\bin\python27.zip\httplib.py", line 79, in <module>
File "C:\Program Files\Autodesk\Maya2016\bin\python27.zip\mimetools.py", line 6, in <module>
File "C:\Program Files\Autodesk\Maya2016\bin\python27.zip\tempfile.py", line 35, in <module>
File "C:\Program Files\Autodesk\Maya2016\bin\python27.zip\random.py", line 880, in <module>
File "C:\Program Files\Autodesk\Maya2016\bin\python27.zip\random.py", line 97, in __init__
File "C:\Program Files\Autodesk\Maya2016\bin\python27.zip\random.py", line 111, in seed
WindowsError: [Error -2146893801] Provider type not defined
Yet this only happened once and I haven’t been able to reproduce this again afterwards. This might have just been Windows/Maya acting up.