AWS Thinkbox Discussion Forums

'module' object has no attribute 'VideoEncoder'

I have Draft inside a function but it’s giving me error. First error was that from Draft import * wasn’t allowed from inside a function. So I switched everything over to Draft. etc.

But now I’m getting this error:

Traceback (most recent call last): File "<pyshell#58>", line 1, in <module> Draft.VideoEncoder AttributeError: 'module' object has no attribute 'VideoEncoder'

Also it’s asking for a license every import. Is it possible to encode the license path?

Oops here is the script.
QuickH264.zip (708 Bytes)

Figured it out. I was pulling the Draft pyd from my C:\program files\thinkbox\deadline\bin\x64\draft.pyd but evidently that one doesn’t get updated. :stuck_out_tongue: So it was failing on licensing and I didn’t see the lic error.

Alright, thank you for letting us know!

The copy of Draft that gets updated now is in C:\Users%USER%\AppData\Local\Thinkbox\Deadline\slave\SLAVE_NAME\Draft for Windows Vista and Windows 7. It’s probably easiest to just grab a copy from your repository if you are experimenting.

Privacy | Site terms | Cookie preferences