quadproduction / OpenPype

QuadProd version of OpenPype
MIT License
4 stars 0 forks source link

Bug: openpype doesn't load in substance #513

Closed OlivierOsotimehin closed 1 year ago

OlivierOsotimehin commented 1 year ago

Is there an existing issue for this?

Current Behavior:

Substance painter crash at launch (visible in staging quad.4.0)
this is on rocky os

Expected Behavior:

Substance open normaly and openpype menu appears

Version

3.15.12-nightly.4

What platform you are running OpenPype on?

Linux / Centos

Steps To Reproduce:

open a surfacing task in substance and search for the openpype menu

Are there any labels you wish to add?

Relevant log output:

[Python] ModuleNotFoundError
[Python] : 
[Python] No module named '_cffi_backend'
[Python] Traceback (most recent call last):

[Python]   File "/prod/softprod/apps/substance_painter/7.4.3/linux/resources/python/startup/painter_plugins_ui.py", line 57, in manage_plugin

[Python] substance_painter_plugins.reload_plugin(module)
[Python]   File "/prod/softprod/apps/substance_painter/7.4.3/linux/resources/python/modules/substance_painter_plugins.py", line 157, in reload_plugin

[Python] start_plugin(module)
[Python]   File "/prod/softprod/apps/substance_painter/7.4.3/linux/resources/python/modules/substance_painter_plugins.py", line 88, in start_plugin

[Python] module.start_plugin()
[Python]   File "/users_roaming/osotimehin/.local/share/openpype/3.15/openpype-v3.15.12-quad.4.0/openpype/hosts/substancepainter/deploy/plugins/openpype_plugin.py", line 26, in start_plugin

[Python] install_host(SubstanceHost())
[Python]   File "/users_roaming/osotimehin/.local/share/openpype/3.15/openpype-v3.15.12-quad.4.0/openpype/pipeline/context_tools.py", line 108, in install_host

[Python] modules_manager = _get_modules_manager()
[Python]   File "/users_roaming/osotimehin/.local/share/openpype/3.15/openpype-v3.15.12-quad.4.0/openpype/pipeline/context_tools.py", line 74, in _get_modules_manager

[Python] _modules_manager = ModulesManager()
[Python]   File "/users_roaming/osotimehin/.local/share/openpype/3.15/openpype-v3.15.12-quad.4.0/openpype/modules/base.py", line 557, in __init__

[Python] self.initialize_modules()
[Python]   File "/users_roaming/osotimehin/.local/share/openpype/3.15/openpype-v3.15.12-quad.4.0/openpype/modules/base.py", line 597, in initialize_modules

[Python] load_modules()
[Python]   File "/users_roaming/osotimehin/.local/share/openpype/3.15/openpype-v3.15.12-quad.4.0/openpype/modules/base.py", line 294, in load_modules

[Python] _load_modules()
[Python]   File "/users_roaming/osotimehin/.local/share/openpype/3.15/openpype-v3.15.12-quad.4.0/openpype/modules/base.py", line 375, in _load_modules

[Python] default_module = __import__(import_str, fromlist=("", ))
[Python]   File "/users_roaming/osotimehin/.local/share/openpype/3.15/openpype-v3.15.12-quad.4.0/openpype/modules/sync_server/__init__.py", line 1, in <module>

[Python] from .sync_server_module import SyncServerModule
[Python]   File "/users_roaming/osotimehin/.local/share/openpype/3.15/openpype-v3.15.12-quad.4.0/openpype/modules/sync_server/sync_server_module.py", line 35, in <module>

[Python] from .providers import lib
[Python]   File "/users_roaming/osotimehin/.local/share/openpype/3.15/openpype-v3.15.12-quad.4.0/openpype/modules/sync_server/providers/lib.py", line 1, in <module>

[Python] from .gdrive import GDriveHandler
[Python]   File "/users_roaming/osotimehin/.local/share/openpype/3.15/openpype-v3.15.12-quad.4.0/openpype/modules/sync_server/providers/gdrive.py", line 17, in <module>

[Python] import google.oauth2.service_account as service_account
[Python]   File "/prod/softprod/apps/openpype/LINUX/3.15.0/dependencies/google/oauth2/service_account.py", line 77, in <module>

[Python] from google.auth import _service_account_info
[Python]   File "/prod/softprod/apps/openpype/LINUX/3.15.0/dependencies/google/auth/_service_account_info.py", line 22, in <module>

[Python] from google.auth import crypt
[Python]   File "/prod/softprod/apps/openpype/LINUX/3.15.0/dependencies/google/auth/crypt/__init__.py", line 43, in <module>

[Python] from google.auth.crypt import rsa
[Python]   File "/prod/softprod/apps/openpype/LINUX/3.15.0/dependencies/google/auth/crypt/rsa.py", line 20, in <module>

[Python] from google.auth.crypt import _cryptography_rsa
[Python]   File "/prod/softprod/apps/openpype/LINUX/3.15.0/dependencies/google/auth/crypt/_cryptography_rsa.py", line 25, in <module>

[Python] from cryptography.hazmat.primitives import serialization
[Python]   File "/prod/softprod/apps/openpype/LINUX/3.15.0/dependencies/cryptography/hazmat/primitives/serialization/__init__.py", line 16, in <module>

[Python] from cryptography.hazmat.primitives.serialization.base import (
[Python]   File "/prod/softprod/apps/openpype/LINUX/3.15.0/dependencies/cryptography/hazmat/primitives/serialization/base.py", line 9, in <module>

[Python] from cryptography.hazmat.primitives.asymmetric.types import (
[Python]   File "/prod/softprod/apps/openpype/LINUX/3.15.0/dependencies/cryptography/hazmat/primitives/asymmetric/types.py", line 8, in <module>

[Python] from cryptography.hazmat.primitives.asymmetric import (
[Python]   File "/prod/softprod/apps/openpype/LINUX/3.15.0/dependencies/cryptography/hazmat/primitives/asymmetric/dsa.py", line 10, in <module>

[Python] from cryptography.hazmat.primitives.asymmetric import utils as asym_utils
[Python]   File "/prod/softprod/apps/openpype/LINUX/3.15.0/dependencies/cryptography/hazmat/primitives/asymmetric/utils.py", line 6, in <module>

[Python] from cryptography.hazmat.bindings._rust import asn1
[Python] pyo3_runtime
[Python] .
[Python] PanicException
[Python] : 
[Python] Python API call failed

Additional context:

No response

OlivierOsotimehin commented 1 year ago

this is fixed in 3.16