Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

struggling with code -1073741819 (0xC0000005) Please help #35

Open
LindaLawton opened this issue Jul 24, 2023 · 5 comments
Open

struggling with code -1073741819 (0xC0000005) Please help #35

LindaLawton opened this issue Jul 24, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@LindaLawton
Copy link

I have been trying to get this to work for serval hours now.

All I am getting is

Process finished with exit code -1073741819 (0xC0000005)

I have been trying this from Pycharm

from pydavinci import davinci
resolve = davinchi.Resolve()
timeline = resolve.active_timeline
print(timeline.name)

I have tried running it from the termal as well but all i get from that is that it cant find python

image

even though I have all the paths set.

image

Any chance you know what Im doing wrong.

@LindaLawton LindaLawton added the bug Something isn't working label Jul 24, 2023
@LindaLawton LindaLawton changed the title Wont run struggling with code -1073741819 (0xC0000005) Please help Jul 24, 2023
@pedrolabonia
Copy link
Owner

What Davinci Resolve version and Python version are you intending to use?

Also, do you have Davinci Resolve Studio?

@LindaLawton
Copy link
Author

Running latest version and its the free version. After two hours yesterday I think I finally came across a comment that said you need to use the studio version for scripting.

@LindaLawton
Copy link
Author

even after upgrading im still not having much luck. Any tips?

AttributeError: 'NoneType' object has no attribute 'GetProjectManager'

@pedrolabonia
Copy link
Owner

pedrolabonia commented Jul 27, 2023

Have you set scripting to local?

Also, for now this package is only supporting Davinci Resolve 17. The resolve-18 branch will be merged soon. If you need it right now, you can use that branch. The docs are 99% the same.

image

@pedrolabonia pedrolabonia reopened this Jul 27, 2023
@in03
Copy link
Collaborator

in03 commented Jul 28, 2023

If you are using Resolve 18, the installation instructions are a little different

Screenshot_20230728_120742_GitHub.jpg

Essentially:

  • Python 3.10
  • Resolve Studio 18
  • Scripting enabled, set to "local"
pip install git+https://github.com/pedrolabonia/pydavinci@resolve_18

Also, make sure you target Python 3.10 if you have multiple Pythons installed. On Windows you can do:

py -3.10 -m pip install

But of course different if using virtualenv, conda or pyenv etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants