Mike Posted August 3, 2016 Report Posted August 3, 2016 Sorry I've made this such a process haha, I got this is at the very end: Obtaining ftrack-connect-maya from git+https://bitbucket.org/ftrack/ftrack-connect-maya.git#egg=ftrack-connect-maya Updating d:\git_stuff\pipeline\src\ftrack-connect-maya clone Installing collected packages: ftrack-connect-maya Running setup.py develop for ftrack-connect-maya Successfully installed ftrack-connect-maya-0.2.3 (ftrack-connect) D:\Git_Stuff\pipeline\environments>REM need to reactivate to get latest environment variables (ftrack-connect) D:\Git_Stuff\pipeline\environments>call activate ftrack-connect The input line is too long. (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d> Looks like the directories being created are too deep?
tokejepsen Posted August 3, 2016 Author Report Posted August 3, 2016 Quote Sorry this is such a process Hehe, that alright. It all helps to troubleshoot for others:) "The input line is too long." This is definitely the problem, but I don't seem to have it here. The problem seems to be (http://stackoverflow.com/questions/16821784/input-line-is-too-long-error-in-bat-file), that an environment variable is getting too long, and the only one I can think of would be the PYTHONPATH. Do you already have your system PYTHONPATH set to something longish? Maybe try and activate the environment manually, by following these steps: 1. Run [pipeline-repo]/launch/prompt.bat. 2. Run this line; "activate ftrack-connect" 3. Run this line; "python -m ftrack_connect" I expect troubles to arise at step 2, but if you could copy/paste the entire log that would be great:)
Mike Posted August 3, 2016 Report Posted August 3, 2016 I don't have a system PYTHONPATH, just a PATH env var. I didn't see any errors on step 2, only step 3. Here's the log: ivate.d\..\..\..\..\..\..\src\ftrack-connect-foundry\source;D:\Git_Stuff\pipelin e\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrac k-connect-maya\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\co nda\activate.d\..\..\..\Lib\site-packages;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pip eline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\f track-connect-nuke\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\et c\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect\source;D:\Git_Stuff\pipe line\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ft rack-connect-foundry\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\ etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-maya\source;D:\Git_Stu ff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\Lib\site -packages;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate .d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-conn ect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuke\source;D:\Git _Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\. .\..\src\ftrack-connect\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-conne ct\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-foundry\source;D:\G it_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\.. \..\..\src\ftrack-connect-maya\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrac k-connect\etc\conda\activate.d\..\..\..\Lib\site-packages (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_PLUGIN_PATH=;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect;D:\Git_S tuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\ ..\src\ftrack-connect-foundry;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connec t\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuke;D:\Git_Stuff\pi peline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ ftrack-connect-maya;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\cond a\activate.d\..\..\..\..\..\..\environments (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_NUKE_PLUGINS_PATH=D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuk e\resource (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_MAYA_PLUGINS_PATH=D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-may a\resource (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set PYTHONPATH=;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\et c\conda\activate.d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\ envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nu ke\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate .d\..\..\..\..\..\..\src\ftrack-connect\source;D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-fou ndry\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activa te.d\..\..\..\..\..\..\src\ftrack-connect-maya\source;D:\Git_Stuff\pipeline\mini conda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\Lib\site-packages;D:\Git _Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\. .\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\ac tivate.d\..\..\..\..\..\..\src\ftrack-connect-nuke\source;D:\Git_Stuff\pipeline\ miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack- connect\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\act ivate.d\..\..\..\..\..\..\src\ftrack-connect-foundry\source;D:\Git_Stuff\pipelin e\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrac k-connect-maya\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\co nda\activate.d\..\..\..\Lib\site-packages;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pip eline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\f track-connect-nuke\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\et c\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect\source;D:\Git_Stuff\pipe line\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ft rack-connect-foundry\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\ etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-maya\source;D:\Git_Stu ff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\Lib\site -packages;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate .d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-conn ect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuke\source;D:\Git _Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\. .\..\src\ftrack-connect\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-conne ct\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-foundry\source;D:\G it_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\.. \..\..\src\ftrack-connect-maya\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrac k-connect\etc\conda\activate.d\..\..\..\Lib\site-packages;D:\Git_Stuff\pipeline\ miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\pythonpath; D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\. .\..\..\..\src\ftrack-connect-nuke\source;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect\source;D :\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\.. \..\..\..\src\ftrack-connect-foundry\source;D:\Git_Stuff\pipeline\miniconda\envs \ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-maya\s ource;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\. .\..\..\Lib\site-packages;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\et c\conda\activate.d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\ envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nu ke\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate .d\..\..\..\..\..\..\src\ftrack-connect\source;D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-fou ndry\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activa te.d\..\..\..\..\..\..\src\ftrack-connect-maya\source;D:\Git_Stuff\pipeline\mini conda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\Lib\site-packages;D:\Git _Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\. .\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\ac tivate.d\..\..\..\..\..\..\src\ftrack-connect-nuke\source;D:\Git_Stuff\pipeline\ miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack- connect\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\act ivate.d\..\..\..\..\..\..\src\ftrack-connect-foundry\source;D:\Git_Stuff\pipelin e\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrac k-connect-maya\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\co nda\activate.d\..\..\..\Lib\site-packages;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pip eline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\f track-connect-nuke\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\et c\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect\source;D:\Git_Stuff\pipe line\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ft rack-connect-foundry\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\ etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-maya\source;D:\Git_Stu ff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\Lib\site -packages;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate .d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-conn ect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuke\source;D:\Git _Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\. .\..\src\ftrack-connect\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-conne ct\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-foundry\source;D:\G it_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\.. \..\..\src\ftrack-connect-maya\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrac k-connect\etc\conda\activate.d\..\..\..\Lib\site-packages;D:\Git_Stuff\pipeline\ miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\pythonpath; D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\. .\..\..\..\src\ftrack-connect-nuke\source;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect\source;D :\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\.. \..\..\..\src\ftrack-connect-foundry\source;D:\Git_Stuff\pipeline\miniconda\envs \ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-maya\s ource;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\. .\..\..\Lib\site-packages (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_PLUGIN_PATH=;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect;D:\Git_S tuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\ ..\src\ftrack-connect-foundry;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connec t\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuke;D:\Git_Stuff\pi peline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ ftrack-connect-maya;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\cond a\activate.d\..\..\..\..\..\..\environments (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_NUKE_PLUGINS_PATH=D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuk e\resource (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_MAYA_PLUGINS_PATH=D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-may a\resource (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set PYTHONPATH=;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\et c\conda\activate.d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\ envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nu ke\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate .d\..\..\..\..\..\..\src\ftrack-connect\source;D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-fou ndry\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activa te.d\..\..\..\..\..\..\src\ftrack-connect-maya\source;D:\Git_Stuff\pipeline\mini conda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\Lib\site-packages;D:\Git _Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\. .\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\ac tivate.d\..\..\..\..\..\..\src\ftrack-connect-nuke\source;D:\Git_Stuff\pipeline\ miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack- connect\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\act ivate.d\..\..\..\..\..\..\src\ftrack-connect-foundry\source;D:\Git_Stuff\pipelin e\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrac k-connect-maya\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\co nda\activate.d\..\..\..\Lib\site-packages;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pip eline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\f track-connect-nuke\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\et c\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect\source;D:\Git_Stuff\pipe line\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ft rack-connect-foundry\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\ etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-maya\source;D:\Git_Stu ff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\Lib\site -packages;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate .d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-conn ect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuke\source;D:\Git _Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\. .\..\src\ftrack-connect\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-conne ct\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-foundry\source;D:\G it_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\.. \..\..\src\ftrack-connect-maya\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrac k-connect\etc\conda\activate.d\..\..\..\Lib\site-packages;D:\Git_Stuff\pipeline\ miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\pythonpath; D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\. .\..\..\..\src\ftrack-connect-nuke\source;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect\source;D :\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\.. \..\..\..\src\ftrack-connect-foundry\source;D:\Git_Stuff\pipeline\miniconda\envs \ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-maya\s ource;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\. .\..\..\Lib\site-packages;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\et c\conda\activate.d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\ envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nu ke\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate .d\..\..\..\..\..\..\src\ftrack-connect\source;D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-fou ndry\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activa te.d\..\..\..\..\..\..\src\ftrack-connect-maya\source;D:\Git_Stuff\pipeline\mini conda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\Lib\site-packages;D:\Git _Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\. .\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\ac tivate.d\..\..\..\..\..\..\src\ftrack-connect-nuke\source;D:\Git_Stuff\pipeline\ miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack- connect\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\act ivate.d\..\..\..\..\..\..\src\ftrack-connect-foundry\source;D:\Git_Stuff\pipelin e\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrac k-connect-maya\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\co nda\activate.d\..\..\..\Lib\site-packages;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pip eline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\f track-connect-nuke\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\et c\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect\source;D:\Git_Stuff\pipe line\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ft rack-connect-foundry\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\ etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-maya\source;D:\Git_Stu ff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\Lib\site -packages;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate .d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-conn ect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuke\source;D:\Git _Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\. .\..\src\ftrack-connect\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-conne ct\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-foundry\source;D:\G it_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\.. \..\..\src\ftrack-connect-maya\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrac k-connect\etc\conda\activate.d\..\..\..\Lib\site-packages;D:\Git_Stuff\pipeline\ miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\pythonpath; D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\. .\..\..\..\src\ftrack-connect-nuke\source;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect\source;D :\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\.. \..\..\..\src\ftrack-connect-foundry\source;D:\Git_Stuff\pipeline\miniconda\envs \ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-maya\s ource;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\. .\..\..\Lib\site-packages;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\et c\conda\activate.d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\ envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nu ke\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate .d\..\..\..\..\..\..\src\ftrack-connect\source;D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-fou ndry\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activa te.d\..\..\..\..\..\..\src\ftrack-connect-maya\source;D:\Git_Stuff\pipeline\mini conda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\Lib\site-packages (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_PLUGIN_PATH=;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect;D:\Git_S tuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\ ..\src\ftrack-connect-foundry;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connec t\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuke;D:\Git_Stuff\pi peline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ ftrack-connect-maya;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\cond a\activate.d\..\..\..\..\..\..\environments (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_NUKE_PLUGINS_PATH=D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuk e\resource (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_MAYA_PLUGINS_PATH=D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-may a\resource (ftrack-connect) D:\Git_Stuff\pipeline\launch>python -m ftrack_connect 2016-08-03 14:17:43,568 - ftrack_api.plugin.discover - WARNING - Failed to load plugin from "D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activ ate.d\..\..\..\..\..\..\src\ftrack-connect-nuke\resource\hook\ftrack_connect_nuk e_hook.py": No module named ftrack 2016-08-03 14:17:43,573 - ftrack_api.plugin.discover - WARNING - Failed to load plugin from "D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activ ate.d\..\..\..\..\..\..\environments\ftrack_connect_hooks\hook\app_launch_enviro nment.py": No module named ftrack 2016-08-03 14:17:43,585 - ftrack_api.plugin.discover - WARNING - Failed to load plugin from "D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activ ate.d\..\..\..\..\..\..\src\ftrack-connect-maya\resource\hook\ftrack_connect_may a_hook.py": No module named ftrack 2016-08-03 14:17:43,592 - ftrack_api.plugin.discover - WARNING - Failed to load plugin from "D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activ ate.d\..\..\..\..\..\..\src\ftrack-connect\resource\hook\applications.py": No mo dule named ftrack 2016-08-03 14:17:43,598 - ftrack_api.plugin.discover - WARNING - Failed to load plugin from "D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activ ate.d\..\..\..\..\..\..\src\ftrack-connect\resource\hook\make_web_playable.py": No module named ftrack 2016-08-03 14:17:43,665 - ftrack_connect.ui.application.Application - ERROR - No module named ftrack Traceback (most recent call last): File "D:\Git_Stuff\pipeline\src\ftrack-connect\source\ftrack_connect\ui\applic ation.py", line 404, in location_configuration_finished self.configureConnectAndDiscoverPlugins() File "D:\Git_Stuff\pipeline\src\ftrack-connect\source\ftrack_connect\ui\applic ation.py", line 435, in configureConnectAndDiscoverPlugins import ftrack ImportError: No module named ftrack
tokejepsen Posted August 3, 2016 Author Report Posted August 3, 2016 Hmm, interesting. Could you try and delete the ftrack-connect folder in "[pipeline_repo]/miniconda/envs", and run "[pipeline_repo]/environments/ftrack-connect.bat" again just once in a terminal. Seems like the environment has been appended to, so the PYTHONPATH variable being set might be too long resulting in it being ignored. Something I'll need to look at:)
Mike Posted August 3, 2016 Report Posted August 3, 2016 Before I did this, I installed a clean version of Python 64 2.7.9, re-cloned your pipeline repo, followed your original instructions (including setting up the ftrack.py file with the correct credentials), then ran ftrack-connect.bat. I got the same errors from before (no module named ftrack). Then, I deleted the ftrack-connect folder and ran the bat from run. Got the same error :/
tokejepsen Posted August 3, 2016 Author Report Posted August 3, 2016 Quote I installed a clean version of Python 64 2.7.9 Your system installed Python won't have any influence on this, as conda runs its own python version in an isolated environment. Quote Got the same error Alright, let's try with a bit of troubleshooting:) 1. Open the "[pipeline_repo]/launch/prompt.bat". 2. Run "activate ftrack-connect" 3. Run "python" 4. Run "import ftrack" If this gives you an import error, try this; 1. Open the "[pipeline_repo]/launch/prompt.bat". 2. Run "activate ftrack-connect" 3. Run "set PYTHONPATH=D:\Git_Stuff\pipeline\pythonpath" 4. Run "python" 5. Run "import ftrack" The aim here is just to import ftrack correctly.
Mike Posted August 3, 2016 Report Posted August 3, 2016 Are you sure? After doing the clean install and new virtual env in my own project, I got everything up an running (maya still wasn't working correctly though). After I tried out the previous steps I'm unable to launch my own ftrack setup D: I also have a new environment called Python 27 that can't be removed from visual studio (its paths' relate to conda it seems). I'll give this a go though!
tokejepsen Posted August 3, 2016 Author Report Posted August 3, 2016 Quote maya still wasn't working correctly though Maybe we should just try and fix your environment instead of using the pipeline repo:) You should be able to just make sure that this plugin gets loaded when launching ftrack-connect; https://github.com/Bumpybox/pipeline/blob/672efe0529039ffa563ea4a11fa18b3d0c5ade1d/environments/ftrack_connect_hooks/hook/app_launch_environment.py. This plugin reorders the PYTHONPATH, so Maya's modules gets loaded first.
Mike Posted August 3, 2016 Report Posted August 3, 2016 The issue was in my ftrack-connect package for some reason. I uninstalled it from the env, then reinstalled it. Now it works! I'm going to try out your earlier troubleshooting test now.
Mike Posted August 3, 2016 Report Posted August 3, 2016 It didn't import: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. D:\Git_Stuff\pipeline\launch>activate ftrack-connect (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set PYTHONPATH=;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\et c\conda\activate.d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\ envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nu ke\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate .d\..\..\..\..\..\..\src\ftrack-connect\source;D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-fou ndry\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activa te.d\..\..\..\..\..\..\src\ftrack-connect-maya\source;D:\Git_Stuff\pipeline\mini conda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\Lib\site-packages (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_PLUGIN_PATH=;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect;D:\Git_S tuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\ ..\src\ftrack-connect-foundry;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connec t\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuke;D:\Git_Stuff\pi peline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ ftrack-connect-maya;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\cond a\activate.d\..\..\..\..\..\..\environments (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_NUKE_PLUGINS_PATH=D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuk e\resource (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_MAYA_PLUGINS_PATH=D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-may a\resource (ftrack-connect) D:\Git_Stuff\pipeline\launch>set PYTHONPATH=D:\Git_Stuff\pipeli ne\pythonpath (ftrack-connect) D:\Git_Stuff\pipeline\launch>python Python 2.7.12 |Continuum Analytics, Inc.| (default, Jun 29 2016, 11:07:13) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. Anaconda is brought to you by Continuum Analytics. Please check out: http://continuum.io/thanks and https://anaconda.org >>> import ftrack Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named ftrack >>>
tokejepsen Posted August 3, 2016 Author Report Posted August 3, 2016 Did you try the second method of setting the PYTHONPATH explicitly before running "python"?
tokejepsen Posted August 3, 2016 Author Report Posted August 3, 2016 Sorry didn't read the log fully:)
tokejepsen Posted August 3, 2016 Author Report Posted August 3, 2016 Think we need to test the ftrack module in isolation. Just to confirm your "[pipeline_repo]\pythonpath" looks like this? Can you confirm that you can import the ftrack module, you need Python installed for this and on your system PATH; 1. Start a terminal (cmd) session. 2. Run "set PYTHONPATH=D:\Git_Stuff\pipeline\pythonpath" 3. Run "python" 4. Run "import ftrack"
Mike Posted August 3, 2016 Report Posted August 3, 2016 I had those items in a folder called ftrack_api, but I copy and pasted them directly into the pythonpath folder like so: [pipeline_repo]\pythonpath\clique [pipeline_repo]\pythonpath\requests [pipeline_repo]\pythonpath\ftrack.py etc... I have python installed and the location "C:\Python27" is on the system PATH. After running your latest test I got this error: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. D:\Git_Stuff\pipeline\launch>activate ftrack-connect (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set PYTHONPATH=;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\et c\conda\activate.d\..\..\..\..\..\..\pythonpath;D:\Git_Stuff\pipeline\miniconda\ envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nu ke\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate .d\..\..\..\..\..\..\src\ftrack-connect\source;D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-fou ndry\source;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activa te.d\..\..\..\..\..\..\src\ftrack-connect-maya\source;D:\Git_Stuff\pipeline\mini conda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\Lib\site-packages (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_PLUGIN_PATH=;D:\Git_Stuff\pipeline\miniconda\envs\f track-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect;D:\Git_S tuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\ ..\src\ftrack-connect-foundry;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connec t\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuke;D:\Git_Stuff\pi peline\miniconda\envs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ ftrack-connect-maya;D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\cond a\activate.d\..\..\..\..\..\..\environments (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_NUKE_PLUGINS_PATH=D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-nuk e\resource (ftrack-connect) D:\Git_Stuff\pipeline\miniconda\envs\ftrack-connect\etc\conda\a ctivate.d>set FTRACK_CONNECT_MAYA_PLUGINS_PATH=D:\Git_Stuff\pipeline\miniconda\e nvs\ftrack-connect\etc\conda\activate.d\..\..\..\..\..\..\src\ftrack-connect-may a\resource (ftrack-connect) D:\Git_Stuff\pipeline\launch>set PYTHONPATH=D:\Git_Stuff\pipeli ne\pythonpath (ftrack-connect) D:\Git_Stuff\pipeline\launch>python Python 2.7.12 |Continuum Analytics, Inc.| (default, Jun 29 2016, 11:07:13) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. Anaconda is brought to you by Continuum Analytics. Please check out: http://continuum.io/thanks and https://anaconda.org >>> import ftrack Traceback (most recent call last): File "<stdin>", line 1, in <module> File "D:\Git_Stuff\pipeline\pythonpath\ftrack.py", line 20, in <module> from FTrackCore import * File "D:\Git_Stuff\pipeline\pythonpath\FTrackCore.egg\FTrackCore\__init__.py", line 10, in <module> File "D:\Git_Stuff\pipeline\pythonpath\FTrackCore.egg\FTrackCore\api\location\ __init__.py", line 3, in <module> File "D:\Git_Stuff\pipeline\pythonpath\FTrackCore.egg\FTrackCore\api\location\ base.py", line 19, in <module> File "D:\Git_Stuff\pipeline\pythonpath\FTrackCore.egg\FTrackCore\api\event\__i nit__.py", line 5, in <module> File "D:\Git_Stuff\pipeline\pythonpath\FTrackCore.egg\FTrackCore\api\event\hub .py", line 18, in <module> File "D:\Git_Stuff\pipeline\pythonpath\requests\__init__.py", line 58, in <mod ule> from . import utils File "D:\Git_Stuff\pipeline\pythonpath\requests\utils.py", line 26, in <module > from .compat import parse_http_list as _parse_list_header File "D:\Git_Stuff\pipeline\pythonpath\requests\compat.py", line 7, in <module > from .packages import chardet ImportError: No module named packages >>>
tokejepsen Posted August 3, 2016 Author Report Posted August 3, 2016 Very odd. Could you try without going through the "[pipeline_repo]\launch\prompt.bat"? Just launch a terminal session by typing "cmd" into the Windows start menu, and launch "cmd.exe". Then follow these steps; 1. Start a terminal (cmd) session. 2. Run "set PYTHONPATH=D:\Git_Stuff\pipeline\pythonpath" 3. Run "python" 4. Run "import ftrack"
tokejepsen Posted August 3, 2016 Author Report Posted August 3, 2016 Try downloading your ftrack api again from your server. Delete everything in "[pipeline_repo]\pythonpath", and copy the contents of the ftrack api. Then run the last test again.
tokejepsen Posted August 3, 2016 Author Report Posted August 3, 2016 Awesome! Lets try this again:) 1. Delete "[pipeline_repo]\miniconda" 2. Run "[pipeline_repo]\environments\ftrack-connect.bat". (only once)
Mike Posted August 3, 2016 Report Posted August 3, 2016 That worked too! Awesome thanks for all the help and your patience. That was very cool, it just downloads the packages and everything. What is miniconda exactly?
tokejepsen Posted August 3, 2016 Author Report Posted August 3, 2016 Quote What is miniconda exactly? Miniconda is minimal installation of the Conda package manager; http://conda.pydata.org/docs/. Consider it a virtual-env for all software packages. Quote That worked too! Great:) Did you get an ftrack-connect dialogue, and was able to launch Maya successfully?
Mike Posted August 3, 2016 Report Posted August 3, 2016 Oh wow, I'll have to take a look at that. Just now, tokejepsen said: Great:) Did you get an ftrack-connect dialogue, and was able to launch Maya successfully? Yep, connect showed up, I ran Maya and the ftrack menu was there and everything.
tokejepsen Posted August 3, 2016 Author Report Posted August 3, 2016 Just now, Mike said: I ran Maya and the ftrack menu was there and everything. That's great! From here you can just modify the git repositories in "[pipeline_repo]\src", and push commits to your repo for PRs. Quote That was very cool, it just downloads the packages and everything When it comes to using miniconda in the pipeline repo, its fairly minimal. Only really using conda for isolating python, all the downloading of the requirements are done with python scripting ("[pipeline_repo]\environments\ftrack_connect.py"). Hoping in the future to take more advantage of native packages in Conda, but I'm stilling learning it:)
tokejepsen Posted August 3, 2016 Author Report Posted August 3, 2016 With the current issue of the environment variables appending; https://github.com/Bumpybox/pipeline/issues/7, I would advise not to run "[pipeline_repo]\environments\ftrack-connect.bat" more than once. To enter the ftrack-connect environment use this method instead for the time being; 1. Run "[pipeline_repo]\launch\prompt.bat" 2. Run "activate ftrack-connect" 3. Run "python -m ftrack_connect"
Mike Posted August 4, 2016 Report Posted August 4, 2016 Great! It's nice having a working ftrack to compare my broken one too
Recommended Posts
Archived
This topic is now archived and is closed to further replies.