Blender - Publish window crash

Hello,

I started setting up AYON for my personal use, so far I don’t have any problem with Maya but I tried using it with Blender and it is impossible for me to use the create/publish window. Blender crash every time I try to open it.
The work files window works fine.
I am using Blender 4.3.2 with the --python-use-system-env.
I try to pass by Blender 4.2 LTS to see if it was just a version problem, and weirdly enough it doesn’t even load AYON when starting it.

I am under Linux (updated Arch with last kernel available).

Here is the Blender crash log I got:

# Blender 4.3.2, Commit date: 2024-12-16 21:10, Hash 32f5fdce0a0a

# backtrace
/usr/bin/blender(+0x213e33b) [0x5b3efeade33b]
/usr/bin/blender(+0x164dabd) [0x5b3efdfedabd]
/usr/lib/libc.so.6(+0x3d1d0) [0x76afebc4c1d0]
/usr/lib/libQt5Gui.so.5(_ZN8QPainter3endEv+0x143) [0x76af84be1db3]
/usr/lib/libQt5Gui.so.5(_ZN8QPainterD1Ev+0x91) [0x76af84be1ea1]
/usr/lib/python3.13/site-packages/PyQt5/QtGui.abi3.so(+0x104682) [0x76af84504682]
/usr/lib/python3.13/site-packages/PyQt5/sip.cpython-313-x86_64-linux-gnu.so(+0x1b3a4) [0x76af911c43a4]
/usr/lib/python3.13/site-packages/PyQt5/sip.cpython-313-x86_64-linux-gnu.so(+0x1b427) [0x76af911c4427]
/usr/lib/libpython3.13.so.1.0(+0x1d35f2) [0x76afecbd35f2]
/usr/lib/libpython3.13.so.1.0(+0x1a83cd) [0x76afecba83cd]
/usr/lib/libpython3.13.so.1.0(+0x1a66c5) [0x76afecba66c5]
/usr/lib/libpython3.13.so.1.0(+0x1a670d) [0x76afecba670d]
/usr/lib/libpython3.13.so.1.0(+0x14db54) [0x76afecb4db54]
/usr/lib/libpython3.13.so.1.0(+0x27cdf7) [0x76afecc7cdf7]
/usr/lib/python3.13/site-packages/PyQt5/QtCore.abi3.so(+0x1a25b1) [0x76af865a25b1]
/usr/lib/python3.13/site-packages/PyQt5/sip.cpython-313-x86_64-linux-gnu.so(+0xd240) [0x76af911b6240]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x944ef) [0x76af858944ef]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0xdd572) [0x76af858dd572]
/usr/lib/libQt5Widgets.so.5(_ZNK11QWidgetItem14heightForWidthEi+0x117) [0x76af851776a7]
/usr/lib/libQt5Widgets.so.5(_ZNK13QWidgetItemV214heightForWidthEi+0x13c) [0x76af8517782c]
/usr/lib/libQt5Widgets.so.5(_ZNK10QBoxLayout14heightForWidthEi+0xf6) [0x76af85165ae6]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2d06fc) [0x76af85ad06fc]
/usr/lib/libQt5Widgets.so.5(_ZNK7QLayout19totalHeightForWidthEi+0x2e) [0x76af851709ee]
/usr/lib/libQt5Widgets.so.5(_ZNK11QWidgetItem14heightForWidthEi+0x65) [0x76af851775f5]
/usr/lib/libQt5Widgets.so.5(_ZNK13QWidgetItemV214heightForWidthEi+0x13c) [0x76af8517782c]
/usr/lib/libQt5Widgets.so.5(_ZNK10QBoxLayout14heightForWidthEi+0x226) [0x76af85165c16]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2d07ac) [0x76af85ad07ac]
/usr/lib/libQt5Widgets.so.5(_ZNK7QLayout19totalHeightForWidthEi+0x2e) [0x76af851709ee]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x30694c) [0x76af85b0694c]
/usr/lib/libQt5Widgets.so.5(+0x2f7178) [0x76af852f7178]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x153cf4) [0x76af85953cf4]
/usr/lib/libQt5Widgets.so.5(_ZN7QWidget5eventEP6QEvent+0x54a) [0x76af8518fa3a]
/usr/lib/libQt5Widgets.so.5(_ZN6QFrame5eventEP6QEvent+0x28) [0x76af8523c2e8]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x15483c) [0x76af8595483c]
/usr/lib/libQt5Core.so.5(_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent+0x92) [0x76af860ae332]
/usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x81) [0x76af85156571]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2dd987) [0x76af85add987]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128) [0x76af860aee98]
/usr/lib/libQt5Widgets.so.5(_ZN14QWidgetPrivate15setGeometry_sysEiiiib+0x2e2) [0x76af8518c762]
/usr/lib/libQt5Widgets.so.5(_ZN7QWidget11setGeometryERK5QRect+0x9d) [0x76af8518d03d]
/usr/lib/libQt5Widgets.so.5(_ZN26QAbstractScrollAreaPrivate21layoutChildren_helperEPbS0_+0xada) [0x76af8524bb7a]
/usr/lib/libQt5Widgets.so.5(_ZN26QAbstractScrollAreaPrivate14layoutChildrenEv+0x3d) [0x76af8524c0cd]
/usr/lib/libQt5Widgets.so.5(_ZN19QAbstractScrollArea5eventEP6QEvent+0x309) [0x76af8524cef9]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x1533ac) [0x76af859533ac]
/usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x91) [0x76af85156581]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2dd987) [0x76af85add987]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128) [0x76af860aee98]
/usr/lib/libQt5Widgets.so.5(_ZN14QWidgetPrivate15setGeometry_sysEiiiib+0x2e2) [0x76af8518c762]
/usr/lib/libQt5Widgets.so.5(_ZN7QWidget11setGeometryERK5QRect+0x9d) [0x76af8518d03d]
/usr/lib/libQt5Widgets.so.5(+0x177b7e) [0x76af85177b7e]
/usr/lib/libQt5Widgets.so.5(_ZN10QBoxLayout11setGeometryERK5QRect+0x47e) [0x76af851720be]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2d491c) [0x76af85ad491c]
/usr/lib/libQt5Widgets.so.5(_ZN14QLayoutPrivate8doResizeEv+0x9a) [0x76af8517093a]
/usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x75) [0x76af85156565]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2dd987) [0x76af85add987]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128) [0x76af860aee98]
/usr/lib/libQt5Widgets.so.5(_ZN14QWidgetPrivate15setGeometry_sysEiiiib+0x2e2) [0x76af8518c762]
/usr/lib/libQt5Widgets.so.5(_ZN7QWidget11setGeometryERK5QRect+0x9d) [0x76af8518d03d]
/usr/lib/libQt5Widgets.so.5(+0x177b7e) [0x76af85177b7e]
/usr/lib/libQt5Widgets.so.5(_ZN10QBoxLayout11setGeometryERK5QRect+0x47e) [0x76af851720be]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2cb7ac) [0x76af85acb7ac]
/usr/lib/libQt5Widgets.so.5(_ZN14QLayoutPrivate8doResizeEv+0x9a) [0x76af8517093a]
/usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x75) [0x76af85156565]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2dd987) [0x76af85add987]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128) [0x76af860aee98]
/usr/lib/libQt5Widgets.so.5(_ZN14QWidgetPrivate15setGeometry_sysEiiiib+0x2e2) [0x76af8518c762]
/usr/lib/libQt5Widgets.so.5(_ZN7QWidget11setGeometryERK5QRect+0x9d) [0x76af8518d03d]
/usr/lib/libQt5Widgets.so.5(+0x177b7e) [0x76af85177b7e]
/usr/lib/libQt5Widgets.so.5(_ZN10QBoxLayout11setGeometryERK5QRect+0x47e) [0x76af851720be]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2d491c) [0x76af85ad491c]
/usr/lib/libQt5Widgets.so.5(_ZN14QLayoutPrivate8doResizeEv+0x9a) [0x76af8517093a]
/usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x75) [0x76af85156565]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2dd987) [0x76af85add987]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128) [0x76af860aee98]
/usr/lib/libQt5Widgets.so.5(_ZN14QWidgetPrivate15setGeometry_sysEiiiib+0x2e2) [0x76af8518c762]
/usr/lib/libQt5Widgets.so.5(_ZN7QWidget11setGeometryERK5QRect+0x9d) [0x76af8518d03d]
/usr/lib/libQt5Widgets.so.5(+0x177b7e) [0x76af85177b7e]
/usr/lib/libQt5Widgets.so.5(_ZN10QBoxLayout11setGeometryERK5QRect+0x47e) [0x76af851720be]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2cb7ac) [0x76af85acb7ac]
/usr/lib/libQt5Widgets.so.5(_ZN14QLayoutPrivate8doResizeEv+0x9a) [0x76af8517093a]
/usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x75) [0x76af85156565]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2dd987) [0x76af85add987]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128) [0x76af860aee98]
/usr/lib/libQt5Widgets.so.5(_ZN14QWidgetPrivate15setGeometry_sysEiiiib+0x2e2) [0x76af8518c762]
/usr/lib/libQt5Widgets.so.5(_ZN7QWidget11setGeometryERK5QRect+0x9d) [0x76af8518d03d]
/usr/lib/libQt5Widgets.so.5(_ZN14QStackedLayout11setGeometryERK5QRect+0x7b) [0x76af85177dbb]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x12e99c) [0x76af8592e99c]
/usr/lib/libQt5Widgets.so.5(_ZN14QLayoutPrivate8doResizeEv+0x9a) [0x76af8517093a]
/usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x75) [0x76af85156565]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2dd987) [0x76af85add987]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128) [0x76af860aee98]
/usr/lib/libQt5Widgets.so.5(_ZN14QWidgetPrivate15setGeometry_sysEiiiib+0x2e2) [0x76af8518c762]
/usr/lib/libQt5Widgets.so.5(_ZN7QWidget11setGeometryERK5QRect+0x9d) [0x76af8518d03d]
/usr/lib/libQt5Widgets.so.5(+0x177b7e) [0x76af85177b7e]
/usr/lib/libQt5Widgets.so.5(_ZN10QBoxLayout11setGeometryERK5QRect+0x47e) [0x76af851720be]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2cb7ac) [0x76af85acb7ac]
/usr/lib/libQt5Widgets.so.5(_ZN14QLayoutPrivate8doResizeEv+0x9a) [0x76af8517093a]
/usr/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x75) [0x76af85156565]
/usr/lib/python3.13/site-packages/PyQt5/QtWidgets.abi3.so(+0x2dd987) [0x76af85add987]
/usr/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128) [0x76af860aee98]

# Python backtrace
  File "/home/cuissedemouche/.local/share/AYON/addons/blender_0.2.8/ayon_blender/api/ops.py", line 205 in _process_app_events

Thanks in advance for your help.
I hope I post this in the right section of the forum.

For Blender 4, blender addon provides a hook that installs PySide6 if missing on launch.
Do you have PySide6 installed?

I have PySide6 installed yes, by asking which version inside Blender I have the version 6.8.1.1.

Sorry I don’t find how to edit my post.
Indeed in the version 4.2.6 LTS Blender doesn’t find PySide6, but it does for Blender 4.3.2.
I’ll have a look into that.
But for Blender 4.3.2, is it normal that the Publish window is crashing?

So I just sourced my PySide package in Blender 4.2 startup and AYON is loading correctly in it, and I can open the Publish window.
So my problem is only with the last version of Blender.

@Yul has pointed out that the PySide6 version is hard coded.

Thank you for report.
Feel free to open an issue on ayon-blender.

1 Like

Ok thank you for your help.
I switched from 6.8.1.1 on Blender 4.2, I’ll check for Blender 4.3 later since it use Python 3.13 and I have to deal with all my other packages system wide for this.

Across the tech community I’ve seen some reports of people having crashes with PySide 6.8.x.

Could you check running with PySide 6.7.3? Or like the install script mentions, try with e.g. 6.6.3 instead to also avoid the QTextEdit bug mentioned there potentially.

We’ve seen similar crash reports using e.g. PySide 6.8.0 and 6.8.1 together with Unreal Engine, regardless of platform to my understanding.

Sorry for the late reply.

I just reread my previous message and realized I forgot to mention two words. I successfully switched from 6.8.1.1 to 6.7.3 in Blender 4.2.

However, in Blender 4.3.2, I couldn’t install the 6.7.3 package because the latest version of Blender was using the system-wide Python version. I tried several workarounds but had no success.

In the end, I downloaded the portable version of Blender 4.3.2 instead of the one provided by Pacman. This version included an older Python release (3.11), which is the same as in Blender 4.2. I then manually installed PySide 6.7.3 in Python 3.11.

From there, everything worked perfectly.