So updating to 1.3 I decided to make a switch to running from individual repos for bigger potential flexibility and hopefully it’ll push to some more contributions too. I’m running into an issue.
I have a sneaky feeling, there are some clashes between Nuke’s PySide and PyQt5 needed by pyblish I think. The thing is that we have a confirmed bug by The Foundry that happens on some of our machines once in a while, where it’s install location needs to be explicitly added to path
for PySide to be picked up in nuke (this affect for example ftrack plugins which don’t start without it). When running pyblish-win this is not affecting it at all. When running from separate repos, pyblish doesn’t start the GUI and give me attached traceback.
Question is how is PyQt set up in pyblish-win that it doesn’t clash, but it does when I simply PyQt5 to my pythonpath.
Here is the traceback for this issue.
Tried launching GUI, but failed.
Message was: Traceback (most recent call last):
File "K:\.core\dev\pyblish\pyblish-nuke\pyblish_nuke\lib.py", line 101, in filemenu_publish
pyblish_nuke.lib.show()
File "K:\.core\dev\pyblish\pyblish-nuke\pyblish_nuke\lib.py", line 20, in show
pyblish_integration.show()
File "K:\.core\dev\pyblish\pyblish-integration\pyblish_integration\lib.py", line 71, in show
self.proxy.show(port, settings)
File "C:\Program Files\Nuke9.0v8\lib\xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "C:\Program Files\Nuke9.0v8\lib\xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "C:\Program Files\Nuke9.0v8\lib\xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "C:\Program Files\Nuke9.0v8\lib\xmlrpclib.py", line 1292, in single_request
self.send_content(h, request_body)
File "C:\Program Files\Nuke9.0v8\lib\xmlrpclib.py", line 1439, in send_content
connection.endheaders(request_body)
File "C:\Program Files\Nuke9.0v8\lib\httplib.py", line 954, in endheaders
self._send_output(message_body)
File "C:\Program Files\Nuke9.0v8\lib\httplib.py", line 814, in _send_output
self.send(msg)
File "C:\Program Files\Nuke9.0v8\lib\httplib.py", line 776, in send
self.connect()
File "C:\Program Files\Nuke9.0v8\lib\httplib.py", line 757, in connect
self.timeout, self.source_address)
File "C:\Program Files\Nuke9.0v8\lib\socket.py", line 571, in create_connection
raise err
error: [Errno 10061] No connection could be made because the target machine actively refused it
Publishing in headless mode instead.
this is my environment in nuke after running it via our wrappers that set everything up.
{'ALLUSERSPROFILE': 'C:\\ProgramData',
'APPDATA': 'C:\\Users\\milan.kolar\\AppData\\Roaming',
'ASSET_BUILD': 'char1',
'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files',
'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files',
'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files',
'COMPUTERNAME': '001-BEER',
'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',
'DEADLINE_PATH': 'C:\\Program Files\\Thinkbox\\Deadline7\\bin',
'FE': '1',
'FOLDER': 'Characters',
'FOUNDRY_APPLICATION_FEATURE_NAME': 'nuke_i',
'FOUNDRY_APPLICATION_FEATURE_VERSION': '2015.1026',
'FOUNDRY_ASSET_PLUGIN_PATH': 'K:\\.core\\dev\\ftrack\\ftrack-connect\\ftrack-connect-package\\resource\\ftrack_connect_nuke',
'FOUNDRY_HEARTBEAT_DISABLE': 'TRUE',
'FOUNDRY_LICENSE': 'C:\\Users\\milan.kolar\\FoundryLicensing\\00ffd4c7f8e3;C:\\Program Files\\The Foundry\\RLM;C:\\ProgramData\\The Foundry\\RLM;C:\\Program Files (x86)\\The Foundry\\RLM;C:\\Users\\milan.kolar\\FoundryLicensing',
'FP_NO_HOST_CHECK': 'NO',
'FS': '1',
'FTRACK_APIKEY': '',
'FTRACK_API_KEY': '',
'FTRACK_API_USER': '',
'FTRACK_CONNECT_EVENT': 'eyJhY3Rpb25JZGVudGlmaWVyIjogImZ0cmFjay1jb25uZWN0LWxhdW5jaC1udWtlIiwgInNvdXJjZSI6IHsiaWQiOiAiOWU3YmQ2YTQ4Zjg4NDE0Nzk2MjU3MTcxZmUzZjU0OTciLCAidXNlciI6IHsidXNlcm5hbWUiOiAibWlsYW4ua29sYXIiLCAiaWQiOiAiYmNkZjU3YjAtYWNjNi0xMWUxLWE1NTQtZjIzYzkxZGYxMjExIn19LCAic2VsZWN0aW9uIjogW3siZW50aXR5SWQiOiAiMGY0OTU1ZTAtOGM3Ni0xMWU1LTk3MzUtMDQwMTIxYjllNzAxIiwgImVudGl0eVR5cGUiOiAidGFzayJ9XSwgImRlc2NyaXB0aW9uIjogbnVsbCwgImFwcGxpY2F0aW9uSWRlbnRpZmllciI6ICJudWtlXzkuMHY4IiwgImljb24iOiAibnVrZSIsICJ2YXJpYW50IjogIjkuMHY4IiwgImxhYmVsIjogIk51a2UifQ==',
'FTRACK_CONNECT_NUKE_STUDIO_PATH': 'K:\\.core\\dev\\ftrack\\ftrack-connect\\ftrack-connect-package\\resource\\ftrack_connect_nuke_studio',
'FTRACK_CONNECT_PACKAGE': 'K:\\.core\\dev\\ftrack\\ftrack-connect\\ftrack-connect-package',
'FTRACK_CONNECT_PACKAGE_RESOURCE_PATH': 'K:\\.core\\dev\\ftrack\\ftrack-connect\\ftrack-connect-package\\resource',
'FTRACK_EVENT_PLUGIN_PATH': 'K:\\.core\\dev\\ftrack\\ftrack-connect\\ftrack-connect-package\\resource\\ftrack_connect_nuke\\crew_hook',
'FTRACK_EVENT_SERVER': '',
'FTRACK_PYTHON_API_PLUGIN_PATH': 'K:\\.core\\dev\\ftrack\\ftrack-connect\\ftrack-connect-package\\resource\\ftrack_connect_nuke\\..\\ftrack_python_api',
'FTRACK_RESOURCE_SCRIPT_PATH': 'K:\\.core\\dev\\ftrack\\ftrack-connect\\ftrack-connect-package\\resource\\script',
'FTRACK_SERVER': '',
'FTRACK_SHOTID': '',
'FTRACK_TASKID': '',
'HOME': 'C:\\Users\\milan.kolar',
'HOMEDRIVE': 'C:',
'HOMEPATH': '\\Users\\milan.kolar',
'HSITE': 'K:\\.core\\repos\\houdini\\HSITE',
'LIBRARY': 'Assets',
'LOCALAPPDATA': 'C:\\Users\\milan.kolar\\AppData\\Local',
'LOGNAME': 'milan.kolar',
'LOGONSERVER': '\\\\001-BEER',
'MOZ_PLUGIN_PATH': 'C:\\Program Files (x86)\\Foxit Software\\Foxit Reader\\plugins\\',
'NUKE_I_2015_1026': '1468276da1f6ca7f3ad7bbc8af9f6644756608870941855478d99dc728f15e5286dc00760c8158b014ef624a5c102a158de0d56c437f4616ba9b5095419405b6f1d8cdb5fa97b733cd375107c1a82b030f488d25e64a6d1baec4011bc27fd23e43fac505629c9038b829b56bee9d39a3572d928e522b30fc9a05acac59118634',
'NUKE_PATH': 'K:\\.core\\dev\\nuke;K:\\.core\\dev\\nuke\\gizmos;K:\\.core\\dev\\Tapp;K:\\.core\\dev\\Tapp\\System;K:\\.core\\dev\\pyblish\\pyblish-nuke\\pyblish_nuke\\nuke_path;K:\\.core\\dev\\ftrack\\ftrack-connect\\ftrack-connect-package\\resource\\ftrack_connect_nuke\\nuke_path',
'NUKE_TEMP_DIR': 'C:/nuketemp',
'NUKE_USE_FNASSETAPI': '1',
'NUMBER_OF_PROCESSORS': '8',
'OS': 'Windows_NT',
'PATH': 'C:\\Python27\\;C:\\Python27\\Scripts;C:\\Users\\milan.kolar\\AppData\\Local\\Pandoc;C:\\Program Files\\djv-1.1.0-Windows-64\\bin;C:/Program Files/Side Effects Software/Houdini 14.0.346/bin/;C:\\Python27\\Scripts;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Python27;C:\\Program Files\\OpenVPN\\bin;C:\\Program Files (x86)\\mrViewer-v3.0.6-Windows-32\\bin;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Users\\milan.kolar\\AppData\\Local\\atom\\bin;C:\\Users\\milan.kolar\\AppData\\Local\\Pandoc\\;K:\\.core\\dev\\studio\\launchers\\..\\..\\python\\Python27;K:\\.core\\software\\ffmpeg\\bin;K:\\.core\\software\\djv\\bin;C:\\Program Files\\Thinkbox\\Deadline7\\bin;C:\\Program Files\\Nuke9.0v6;C:\\Program Files\\Nuke9.0v7;C:\\Program Files\\Nuke9.0v8',
'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',
'PROCESSOR_ARCHITECTURE': 'AMD64',
'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 60 Stepping 3, GenuineIntel',
'PROCESSOR_LEVEL': '6',
'PROCESSOR_REVISION': '3c03',
'PROGRAMDATA': 'C:\\ProgramData',
'PROGRAMFILES': 'C:\\Program Files',
'PROGRAMFILES(X86)': 'C:\\Program Files (x86)',
'PROGRAMW6432': 'C:\\Program Files',
'PROJECT': 'D001_pipe_dev',
'PROJECT_ROOT': 'K:\\Projects\\D001_Pipe_Dev',
'PROMPT': '$P$G',
'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\',
'PUBLIC': 'C:\\Users\\Public',
'PYBLISHPLUGINPATH': 'K:\\.core\\dev;K:\\.core\\dev\\pyblish\\pyblish-kredenc\\pyblish_kredenc\\plugins;K:\\.core\\dev\\pyblish\\pyblish-ftrack\\pyblish_ftrack\\plugins;K:\\.core\\dev\\pyblish\\pyblish-deadline\\pyblish_deadline\\plugins;K:\\.core\\dev\\pyblish\\pyblish-kredenc\\pyblish_kredenc\\plugins\\houdini;K:\\.core\\dev\\pyblish\\pyblish-kredenc\\pyblish_kredenc\\plugins\\maya;K:\\.core\\dev\\pyblish\\pyblish-kredenc\\pyblish_kredenc\\plugins\\nuke',
'PYBLISH_CLIENT_PORT': '9001',
'PYTHONPATH': 'K:\\.core\\dev\\ftrack\\ftrack-connect\\ftrack-connect-package\\common.zip;K:\\.core\\dev;K:\\.core\\dev\\python\\packages;K:\\.core\\dev\\ftrack\\ftrack-api;K:\\.core\\dev\\ftrack\\ftrack-studio;K:\\.core\\dev\\pyblish\\pyblish;K:\\.core\\dev\\pyblish\\pyblish-integration;K:\\.core\\dev\\pyblish\\pyblish-tray;K:\\.core\\dev\\pyblish\\pyblish-standalone;K:\\.core\\dev\\pyblish\\pyblish-maya;K:\\.core\\dev\\pyblish\\pyblish-nuke;K:\\.core\\dev\\pyblish\\pyblish-hiero;K:\\.core\\dev\\pyblish\\pyblish-rpc;K:\\.core\\dev\\pyblish\\pyblish-qml;K:\\.core\\dev\\pyblish\\pyblish-deadline;K:\\.core\\dev\\pyblish\\pyblish-kredenc;K:\\.core\\dev\\python-qt5;K:\\.core\\dev\\maya;K:\\.core\\dev\\maya\\scripts;K:\\.core\\dev\\pyblish\\pyblish-maya\\pyblish_maya\\pythonpath',
'REQUESTS_CA_BUNDLE': 'K:\\.core\\dev\\ftrack\\ftrack-connect\\ftrack-connect-package\\resource\\cacert.pem',
'RV_SUPPORT_PATH': 'K:\\.core\\dev\\rv\\custom',
'SESSIONNAME': 'Console',
'STUDIO_REPOS': 'K:\\.core\\dev\\studio\\launchers\\..\\..\\..\\repos',
'STUDIO_SOFT': 'K:\\.core\\dev\\studio\\launchers\\..\\..\\..\\software',
'STUDIO_TOOLS': 'K:\\.core\\dev\\studio\\launchers\\..\\..',
'SYSTEMDRIVE': 'C:',
'SYSTEMROOT': 'C:\\Windows',
'TASK': 'model',
'TCL_LIBRARY': 'K:\\.core\\dev\\ftrack\\ftrack-connect\\ftrack-connect-package\\tcl',
'TEMP': 'C:\\Users\\MILAN~1.KOL\\AppData\\Local\\Temp',
'TK_LIBRARY': 'K:\\.core\\dev\\ftrack\\ftrack-connect\\ftrack-connect-package\\tk',
'TMP': 'C:\\Users\\MILAN~1.KOL\\AppData\\Local\\Temp',
'USERDOMAIN': '001-beer',
'USERNAME': 'milan.kolar',
'USERPROFILE': 'C:\\Users\\milan.kolar',
'WINDIR': 'C:\\Windows',