AWS Thinkbox Discussion Forums

How to make Draft work

getting this python error. spent a couple of hours on it…

Draft documentation mentions there is an installer, but its not on the AWS installer site. Of course its impossible to include a link to the installer on the documentation site. I see all the Draft posts on this forum are from 2013… I jsut want to compile a mov from renders automatically…

I added the env variables just to make sure.

I am running latest deadline.

2024-04-06 13:59:21:  0: STDOUT: taskEndFrame=385
2024-04-06 13:59:21:  0: STDOUT: Traceback (most recent call last):
2024-04-06 13:59:21:  0: STDOUT:   File "C:\ProgramData\Thinkbox\Deadline10\workers\TRAUM-SERVER\jobsData\66106aca236fd6e80862b7f2\QuickDraft.py", line 103, in <module>
2024-04-06 13:59:21:  0: STDOUT:     from DraftCreateMovie import CreateMovie
2024-04-06 13:59:21:  0: STDOUT:   File "//TRAUM-SERVER/DeadlineRepository10\events/DraftEventPlugin/DraftQuickSubmission\DraftCreateMovie.py", line 10, in <module>
2024-04-06 13:59:21:  0: STDOUT:     import Draft
2024-04-06 13:59:21:  0: STDOUT: ImportError: DLL load failed while importing Draft: The specified module could not be found.
2024-04-06 13:59:21:  0: INFO: Process exit code: 1
2024-04-06 13:59:21:  0: Done executing plugin command of type 'Render Task'
2024-04-06 13:59:21:  0: Executing plugin command of type 'End Job'
2024-04-06 13:59:21:  0: Done executing plugin command of type 'End Job'
2024-04-06 13:59:25:  Scheduler Thread - Render Thread 0 threw a major error: 

I thought that Draft was installed with the repo.

Do you have this directory:
\\your-deadline-repo\draft3\Windows\64bit

draft3/
├── Windows/
│   └── 64bit/
│       ├── Draft.pyd
│       ├── DraftASCCDLReader.py
│       ├── DraftParamParser.py
│       ├── NOTICE
│       ├── OpenColorIO.dll
│       ├── SourceSansPro-Regular.otf
│       ├── Version
│       ├── avcodec-59.dll
│       ├── avformat-59.dll
│       ├── avutil-57.dll
│       ├── colors.xml
│       ├── swresample-4.dll
│       ├── swscale-6.dll
│       ├── tbb.dll
│       └── type.xml

A dependency might be missing on the render node to load the module. To troubleshoot run the Dependency Walker:

  1. Download Dependency walker on Windows x64: (https://www.dependencywalker.com/)
  2. Extract and Run depends.exe.
  3. Click on File > Open, browse to the file or executable to run through Dependency Walker.

For the example above, you will select the /repo/draft3/Windows/64bits/Draft.pyd.

In the Module column, you will find the Dependency dll the file or application will need to run properly. Any module failed will be listed with a question mark. You can skip the “API-MS-WIN” and “EXT-MS-WIN” modules.

Privacy | Site terms | Cookie preferences