Totally. That’d be awesome.
In any case, I can see that when I’m running blender 3.0, I’m getting an issue with import QtGui from tank/platform/qt/init.py, but I’m not getting the same error when running blender 2.93 - so I’m not sure what the difference is between the two… gotta figure out what’s happening. Thank you for the poke in the right direction, though!
I’ve attached the error I’m getting when running Blender 3.0a… not getting it when running 2.93:
And I’m running them both the same way…
# works - no qt error
tank blender_2.93
# doesn't work getting the qt error
tank blender_3.0a
Tue Sep 28 21:39:05 2021 | Error | Shotgun Blender Engine | Shotgun: Could not start engine. Details: cannot import name 'QtGui' from 'tank.platform.qt' (/mnt/fsxshare/app_env/shotgun/demo_config/install/core/python/tank/platform/qt/__init__.py)Traceback (most recent call last):
File "/mnt/fsxshare/app_env/shotgun/demo_config/install/git/tk-blender/v1.1.1/startup/bootstrap.py", line 106, in start_toolkit_classic
engine = sgtk.platform.start_engine(env_engine, context.sgtk, context)
File "/mnt/fsxshare/app_env/shotgun/demo_config/install/core/python/tank/platform/engine.py", line 3013, in start_engine
return _start_engine(engine_name, tk, None, context)
File "/mnt/fsxshare/app_env/shotgun/demo_config/install/core/python/tank/platform/engine.py", line 3173, in _start_engine
engine = class_obj(tk, new_context, engine_name, env)
File "/mnt/fsxshare/app_env/shotgun/demo_config/install/git/tk-blender/v1.1.1/engine.py", line 232, in __init__
Engine.__init__(self, *args, **kwargs)
File "/mnt/fsxshare/app_env/shotgun/demo_config/install/core/python/tank/platform/engine.py", line 169, in __init__
self.init_engine()
File "/mnt/fsxshare/app_env/shotgun/demo_config/install/git/tk-blender/v1.1.1/engine.py", line 388, in init_engine
self.show_info(msg)
File "/mnt/fsxshare/app_env/shotgun/demo_config/install/git/tk-blender/v1.1.1/engine.py", line 271, in show_info
self.show_message(msg, level="info")
File "/mnt/fsxshare/app_env/shotgun/demo_config/install/git/tk-blender/v1.1.1/engine.py", line 239, in show_message
from sgtk.platform.qt import QtGui, QtCore
ImportError: cannot import name 'QtGui' from 'tank.platform.qt' (/mnt/fsxshare/app_env/shotgun/demo_config/install/core/python/tank/platform/qt/__init__.py)
The only thing I could think of was that perhaps the PYSIDE2_PYTHONPATH environment variable wasn’t working, and that PySide and Qt were included installed with the Blender 2.93 app, but not with Blender 3.0a… so I checked the site-packages folder in both, and they’re the same…
certifi chardet idna libextern_draco.so numpy PySide2 PySide2-5.15.2.dist-info requests shiboken2 shiboken2-5.15.2.dist-info urllib3