Page 1 of 1

Nonetype exception in python on windows

PostPosted: Tue Jun 19, 2018 1:19 pm
by aidanryan
Hello all,

I've run into an issue when developing a python pipeline manager on windows and integrating with Resolve 15.2-5 where I am able to import DaVinciResolveScript without error, am able to successfully create a Fusion instance via

Code: Select all
fusion = DaVinciResolveScript.scriptapp("Fusion")


and am able to successfully call

Code: Select all
resolve = DaVinciResolveScript.scriptapp("Resolve")


but this returns a NoneType object. I saw elsewhere on the forums somebody had the exact same issue on Mac but their solution was just "restarted and it worked, not sure what fixed it." I was able to get development started on my Fedora 27 machine where DVR python works fine, but would like to know what you guys think might be the issue. I don't believe it is my PATH as I have now checked that four times, and ultimately reset it from using variables in the various Resolve-specific paths to using explicit file paths.

Thanks!

Aidan

Re: Nonetype exception in python on windows

PostPosted: Wed Jun 27, 2018 4:34 pm
by aidanryan
Asked this on another forum on the site and apparently scripting isn't available for the free version of Resolve 15.