No actually, my computer never had any Deadline Repository and/or Draft installation prior to the test I did. I received an answer from Andrea saying that I have many duplicates in my “Path” environment variable (actually, there was ONE duplicate) that may lead to the bug, but no. I’ll continue to check whatever may cause this, but if something come on your mind, please let me know.
It looks like you may be using a different version of Python. Draft is built for Python 2.6, but it appears that you’re using Python 2.7 instead.
If you don’t have your own copy of Python 2.6 installed, you can find Deadline’s copy here: C:\Program Files\Thinkbox\Deadline6\bin\dpython.exe
Does the new version of Draft work correctly on your Deadline Slaves?
What if you enter the following on the command prompt:
set PYTHONPATH=\\sfs-file\deadlinerepository6\draft\Windows\64bit
set MAGICK_CONFIGURE_PATH=\\sfs-file\deadlinerepository6\draft\Windows\64bit
"C:\Program Files\Thinkbox\Deadline6\bin\dpython.exe"
And then, in Python:
In addition to what Paul posted (the wrong version of Python is definitely a problem), I think I recall that we tracked down this problem (or one like it) to a copy of Draft.pyd in the wrong location that was being found before the correct one, and the one in the wrong location didn’t have the other files. We used the following debugging script to track down the problem:
This output shows that you’re still using Python 2.7, not Python 2.6. If your PATH environment variable has the directory for Python 2.7 (either exclusively, or before Python 2.6), or does not include the path to Python 2.6 (this appears to be the case for you), you will need to type the path for python 2.6 to run the correct version:[code]
c:\Python26\python.exe
[/code] or:
C:\Program Files\Thinkbox\Deadline6\bin\dpython.exe
If you are using Draft outside of Deadline, you will also need to let Python know where to find the draft module. This can be done by adding the location of Draft to your PYTHONPATH environment variable, which, in your case, appears to be:
\\sfs-file\deadlinerepository6\draft\Windows\x64
(alternately you can add that directory to sys.path before attempting to import Draft.)
Oh, sorry I thought you meant there might be a way to get it to work with 2.7. Switching to 2.6 seems to work, which is to say I now get a license error, but that’s easy to follow up on.