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

Does not work after compiling on windows! #946

Open
HasseM opened this issue Nov 17, 2023 · 0 comments
Open

Does not work after compiling on windows! #946

HasseM opened this issue Nov 17, 2023 · 0 comments

Comments

@HasseM
Copy link

HasseM commented Nov 17, 2023

Not a lot of support here, right? Why? It's really really complicated to get it to work on Windows. I spend already many many hours on it and finally I had it compiling. Seems the instructions are outdated, if anyone cares, I'll be happy to share the problems so it can be updated.

But anyhow, AFTER compiling it is not working. In Python the import openshot goes well. but openshot.GetVersion() gives me:
AttributeError: module 'openshot' has no attribute 'GetVersion'

There are two existing issues to be found around this from 2019 but they give me no clue how to fix it. What I did after compiling was:

  • create a folder called 'openshot' in c:\python\lib. And copy _openshot.pyd and openshot.py in there from the build/bindings/python folder.

I also tried:

  • put it in the site-packages folder in stead of lib folder but then it doesn't find the module at all (fail on import statement)
  • add libopenshot.dll to it, doesn't change a thing.

My PATH contains the program files/openshot video editor/lib folder. I have no other issues with python packages at all. dir(openshot) returns nothing at all.

I am using python from the windows command prompt.

Compiling went all without real problems. The unit testing gave an error though:
The following tests FAILED:
1 - AudioDeviceManager:Initialize Audio Device Manager Singleton (Failed)
25 - Caption:caption effect (SEGFAULT)
Errors while running CTest

But nothing else mentionable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant