Looks like there was something wonky with the python27.dll that we built and shipped with the first couple betas.
We just rebuilt Python today for a different issue (also moved to 2.7.8), I tested against that one and it seems whatever was wrong with the old one has been fixed in this build.
The updated .dll should be part of the next beta release =).
Was the PYTHONPATH behavior changed? Seems like its trying to load 2.7 libs from deadline’s folder when its runnning a python 2.6 command line in a subprocess
Seems like any regular ‘print’ will take down deadline completely, not just ones ran in sitecustomize. We have scripts that simply print to the std out and they also crash the slave to desktop.
I’ve attached a zipped up copy of python27.dll. In my limited tests, I just dropped it in as a replacement, replacing the existing python27.dll; I’m not sure if any of the shipping libs/modules changed with 2.7.8, but I didn’t encounter any issues.
The Shotgun thing is actually the first reason we needed to rebuild it; there was something wrong with the SSL cert validation that would hard crash whatever was running. That affected cloud plugins/shotgun/etc. I believe this new DLL should fix that issue as well, but if not, there should be a flag to turn off the SSL validation when connecting (if you’re using the built-in stuff, there’s a toggle for it in the Shotgun Event Plugin config).
As for PYTHONPATH behaviour, I don’t think that’s changed between 6.2 & 7.0… We also shouldn’t be running any 2.6 shells at all, everything should be 2.7. Or are you referring to running a command line Python job, using 2.6? python27.zip (1.21 MB)
We are using our own inhouse shotgun libraries, so turning off SSL would affect the whole facility. Due to mpaa regulations that’s not something we would want to do, i’ll try the new dll asap!
Yes, our in-house standard python version is 2.6. So whenever we execute a python script using the shell from deadline it crashes now. Previously, i guess it didnt crash because cross pollination didn’t occur as deadline was using 2.6 as well.
Minor note on the dll, i dropped it in the windows/bin.zip and changed the version file. Deadline did an ‘upgrading deadline’, but the python27.dll was not copied over. Weird!
Rolling it manually now