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

Maya: Fix extract_alembic imports #477

Merged
merged 2 commits into from
May 2, 2024

Conversation

BigRoy
Copy link
Collaborator

@BigRoy BigRoy commented Apr 30, 2024

Changelog Description

Fixes refactoring of #336 from lib to alembic module.

Additional info

Fixes errors like:
image

Filepath:
E:\dev\ayon-core\client\ayon_core\hosts\maya\plugins\publish\extract_unreal_skeletalmesh_abc.py

Traceback:
Traceback (most recent call last):
File "E:\dev\ayon-core\client\ayon_core\pipeline\publish\lib.py", line 257, in publish_plugins_discover
module = import_filepath(abspath, mod_name)
File "E:\dev\ayon-core\client\ayon_core\lib\python_module_tools.py", line 38, in import_filepath
module_loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "E:\dev\ayon-core\client\ayon_core\hosts\maya\plugins\publish\extract_unreal_skeletalmesh_abc.py", line 8, in 
from ayon_core.hosts.maya.api.lib import (
ImportError: cannot import name 'extract_alembic' from 'ayon_core.hosts.maya.api.lib' (E:\dev\ayon-core\client\ayon_core\hosts\maya\api\lib.py)

Testing notes:

  1. No crashes plugins due to extract_alembic

(Note that submit_max_deadline.py still lists as crashed plug-in. It's unrelated to this PR.)

@antirotor antirotor merged commit 472c2d5 into ynput:develop May 2, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants