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

Fix module search path for Lottie Exporter #2621

Merged
merged 1 commit into from May 3, 2022

Conversation

morevnaproject
Copy link
Member

This fix is required after upgrade of Python version in Windows build of Synfig - morevnaproject/morevna-builds#67

I have updated to Python version 3.8.10 ("embed" build), and after that Lottie Exporter throws an error that it unable to find "canvas" module. The "canvas.py" file is in the same directory as main plugin file and Python should find it. But probably the "embed" version of Python have different behavior. So, I have added plugin dir to python's module search path.

Other Synfig's default plugins are okay (they do not import custom modules).

@ice0 ice0 added this to Planned in v1.4.3 May 3, 2022
@ice0 ice0 merged commit 9ef1c59 into synfig:master May 3, 2022
@ice0
Copy link
Collaborator

ice0 commented May 3, 2022

Merged. Thank you!

@morevnaproject morevnaproject moved this from Planned to Ready to backport in v1.4.3 May 3, 2022
morevnaproject added a commit to morevnaproject/synfig that referenced this pull request May 3, 2022
@morevnaproject morevnaproject moved this from Ready to backport to Backported in v1.4.3 Oct 24, 2022
@morevnaproject
Copy link
Member Author

Backported.

@rodolforg rodolforg removed the Backport label Feb 3, 2024
@rodolforg rodolforg added this to the v1.4.3 milestone Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v1.4.3
Backported
Development

Successfully merging this pull request may close these issues.

None yet

3 participants