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

Importing P4 API #8

Closed
antirotor opened this issue Jun 5, 2024 · 0 comments
Closed

Importing P4 API #8

antirotor opened this issue Jun 5, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@antirotor
Copy link
Member

antirotor commented Jun 5, 2024

Still having issues with P4 api being imported directly to the host process:

Traceback (most recent call last):
File "C:\Users\annat\Documents\Projects\Ayon\ayon-core\client\ayon_core\pipeline\publish\lib.py", line 257, in publish_plugins_discover
module = import_filepath(abspath, mod_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\annat\Documents\Projects\Ayon\ayon-core\client\ayon_core\lib\python_module_tools.py", line 38, in import_filepath
module_loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\annat\Documents\Projects\Ayon\ayon-version-control\client\version_control\plugins\publish\collect_latest_changelist.py", line 14, in 
from version_control.backends.perforce.api.rest_stub import (
File "C:\Users\annat\Documents\Projects\Ayon\ayon-version-control\client\version_control\backends\perforce\api\__init__.py", line 25, in 
import P4
File "C:\Users\annat\AppData\Local\Ynput\AYON\dependency_packages\ayon_2406041254_windows.zip\dependencies\P4.py", line 420, in 
import P4API
ModuleNotFoundError: No module named 'P4API'

in collect_latest_changelist and basically same for collect_version_control_login, integrate_perforce and validate_workspace

Also reported here ynput/ayon-core#183 (comment)

@antirotor antirotor added the type: bug Something isn't working label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant