Skip to content

Resolve 20 import errors #57

@m-u-r-p-h-y

Description

@m-u-r-p-h-y

Is there an existing issue for this?

  • I have searched the existing issues and added correct labels.

Description

Current Behavior

everything seems to work fine, just the errors in the console are not nice

Steps To Reproduce:

No response

Additional context:

Version

Version of the server, ayon-core and the addon that's affected

resolve 0.4.1
python 3.10.11

Relevant log output:

> > Running launch script: C:\Users\murph\AppData\Local\Ynput\AYON\addons\resolve_0.4.1\ayon_resolve\startup.py
> > 
> > A module that was compiled using NumPy 1.x cannot be run in
> > NumPy 2.1.3 as it may crash. To support both 1.x and 2.x
> > versions of NumPy, modules must be compiled with NumPy 2.0.
> > Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
> > 
> > If you are a user of the module, the easiest solution will be to
> > downgrade to 'numpy<2' or try to upgrade the affected module.
> > We expect that some modules will need time to support NumPy 2.
> > 
> > Traceback (most recent call last):  File "C:\Users\murph\AppData\Local\Ynput\AYON\addons\resolve_0.4.1\ayon_resolve\startup.py", line 14, in <module>
> >     import ayon_resolve.api
> >   File "C:\Users\murph\AppData\Local\Ynput\AYON\addons\resolve_0.4.1\ayon_resolve\api\__init__.py", line 8, in <module>
> >     from .pipeline import (
> >   File "C:\Users\murph\AppData\Local\Ynput\AYON\addons\resolve_0.4.1\ayon_resolve\api\pipeline.py", line 11, in <module>
> >     from qtpy import QtWidgets
> >   File "C:\Program Files\Ynput\AYON 1.3.2\dependencies\qtpy\__init__.py", line 216, in <module>
> >     from PySide2 import __version__ as PYSIDE_VERSION  # analysis:ignore
> >   File "c:\Users\murph\.pyenv\pyenv-win\versions\3.10.11\lib\site-packages\PySide2\__init__.py", line 107, in <module>
> >     _setupQtDirectories()
> >   File "c:\Users\murph\.pyenv\pyenv-win\versions\3.10.11\lib\site-packages\PySide2\__init__.py", line 58, in _setupQtDirectories
> >     import shiboken2
> >   File "c:\Users\murph\.pyenv\pyenv-win\versions\3.10.11\lib\site-packages\shiboken2\__init__.py", line 27, in <module>
> >     from .shiboken2 import *
> > >>> [ Opening last workfile: C:\projects\FMX2025\editorial\work\edit\fmx_editorial_edit_v001.drp ] 
> > DEV WARNING: Addon 'batchingest' does not have defined version.
> > >>> [ ayon_resolve installed ] 
> > Registering DaVinci Resolve plug-ins..
> > >>> [ Assigning resolve module to ayon_resolve.api.bmdvr: Resolve (0x00007FF69DB56EB0) [App: 'Resolve' on 127.0.0.1, UUID: 26146246-d855-4d6a-9c3e-e6ab92be1f42] ] 
> > >>> [ Assigning resolve module to ayon_resolve.api.bmdvf: None ] 
> > >>> [ Project fmx_editorial_edit_v001 opened... ] 
> > >>> [ Current project name in context: FMX2025 ] 
> > 
> > Traceback (most recent call last):  File "C:\ProgramData\Blackmagic Design\DaVinci Resolve\Fusion\Scripts\Comp\AYON__Menu.py", line 21, in <module>
> >     result = main(os.environ)
> >   File "C:\ProgramData\Blackmagic Design\DaVinci Resolve\Fusion\Scripts\Comp\AYON__Menu.py", line 11, in main
> >     from ayon_resolve.api import ResolveHost, launch_ayon_menu
> >   File "C:\Users\murph\AppData\Local\Ynput\AYON\addons\resolve_0.4.1\ayon_resolve\api\__init__.py", line 8, in <module>
> >     from .pipeline import (
> >   File "C:\Users\murph\AppData\Local\Ynput\AYON\addons\resolve_0.4.1\ayon_resolve\api\pipeline.py", line 11, in <module>
> >     from qtpy import QtWidgets
> >   File "C:\Program Files\Ynput\AYON 1.3.2\dependencies\qtpy\__init__.py", line 216, in <module>
> >     from PySide2 import __version__ as PYSIDE_VERSION  # analysis:ignore
> >   File "c:\Users\murph\.pyenv\pyenv-win\versions\3.10.11\lib\site-packages\PySide2\__init__.py", line 107, in <module>
> >     _setupQtDirectories()
> >   File "c:\Users\murph\.pyenv\pyenv-win\versions\3.10.11\lib\site-packages\PySide2\__init__.py", line 58, in _setupQtDirectories
> >     import shiboken2
> >   File "c:\Users\murph\.pyenv\pyenv-win\versions\3.10.11\lib\site-packages\shiboken2\__init__.py", line 27, in <module>
> >     from .shiboken2 import *

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions