On Linux I installed pip through this method:
../Blender_Sandbox/4.2/python/bin/python3.11
>>> import ensurepip
>>> ensurepip.bootstrap()
Looking in links: /tmp/tmp4sm481wu
Requirement already satisfied: setuptools in ./opt/blender_launcher/custom/Blender_Sandbox/4.2/python/lib/python3.11/site-packages (63.2.0)
Requirement already satisfied: pip in ./opt/blender_launcher/custom/Blender_Sandbox/4.2/python/lib/python3.11/site-packages (23.2.1)
>>> exit()
../Blender_Sandbox/4.2/python/bin/python3.11 -m pip install PySide2
Collecting PySide2
Obtaining dependency information for PySide2 from https://files.pythonhosted.org/packages/ea/58/e5a1aa7417f87987f03f02c0d0ce4bb1112ae9981667107ee9a1560f3607/PySide2-5.13.2-5.13.2-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl.metadata
Using cached PySide2-5.13.2-5.13.2-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl.metadata (4.8 kB)
Collecting shiboken2==5.13.2 (from PySide2)
Obtaining dependency information for shiboken2==5.13.2 from https://files.pythonhosted.org/packages/31/90/7d22091d25492af3c49f47dd255c761b45c1b93e60e164d8007ed2146758/shiboken2-5.13.2-5.13.2-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl.metadata
Using cached shiboken2-5.13.2-5.13.2-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl.metadata (2.4 kB)
Using cached PySide2-5.13.2-5.13.2-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl (156.1 MB)
Using cached shiboken2-5.13.2-5.13.2-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl (832 kB)
Installing collected packages: shiboken2, PySide2
Successfully installed PySide2-5.13.2 shiboken2-5.13.2
WARNING: There was an error checking the latest version of pip.
Running Blender from AYON launcher tray
./ayon --use-staging
opening a task based on this PR for the AYON blender addon by @BigRoy :
gives me this console output:
hannah@hannah-B250-HD3P:~/opt/AYON-1.0.4-dev.1-linux$ ./ayon --use-staging
/home/hannah/opt/AYON-1.0.4-dev.1-linux/dependencies/blessed/terminal.py:183: UserWarning: Failed to setupterm(kind='xterm-256color'): setupterm: could not find terminal
warnings.warn(msg)
>>> Connected to AYON server http://REDACTED:5000
/home/hannah/Downloads/AYON-1.0.3-linux/dependencies/blessed/terminal.py:183: UserWarning: Failed to setupterm(kind='xterm-256color'): setupterm: could not find terminal
warnings.warn(msg)
--- your system is set to use custom CA certificate bundle.
>>> Connected to AYON server http://REDACTED:5000
/home/hannah/Downloads/AYON-1.0.3-linux/dependencies/blessed/terminal.py:183: UserWarning: Failed to setupterm(kind='xterm-256color'): setupterm: could not find terminal
warnings.warn(msg)
--- your system is set to use custom CA certificate bundle.
*** AYON [1.0.3] -------------------------------------------------------------
>>> Using AYON from [ /home/hannah/Downloads/AYON-1.0.3-linux ]
... AYON variant: [ staging ]
... AYON bundle: [ 2024.06.1-full_kitsu-2024-07-07-02_TEST ]
>>> loading environments ...
- global AYON ...
- for addons ...
Registered font families: Noto Sans, Noto Sans, Noto Sans, Noto Sans, Noto Sans Mono, Noto Sans Mono ExtraBold, Noto Sans Mono, Noto Sans Mono ExtraLight, Noto Sans Mono, Noto Sans Mono, Noto Sans Mono Light, Noto Sans Mono, Noto Sans Mono SemiBold, Noto Sans Mono, Noto Sans Mono Black, Noto Sans Mono, Noto Sans Mono Medium, Noto Sans Mono, Noto Sans Mono, Noto Sans Mono Thin
WARNING:TrayAddonsManager:Addon "kitsu" crashed on `tray_start`.
Traceback (most recent call last):
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/addon/base.py", line 1490, in start_addons
addon.tray_start()
File "/home/hannah/.local/share/AYON/addons/kitsu_1.2.2/ayon_kitsu/addon.py", line 64, in tray_start
if validate_credentials(login, password):
File "/home/hannah/.local/share/AYON/addons/kitsu_1.2.2/ayon_kitsu/credentials.py", line 29, in validate_credentials
raise
RuntimeError: No active exception to reraise
------------------+-----------+--------------+---------+---------------+---------+------------+-----
Addon name |Version |Initialization|Tray init|Connect modules|Tray menu|Addons start|Total
------------------+-----------+--------------+---------+---------------+---------+------------+-----
applications |0.2.4 |0.000 |N/A |0.000 |N/A |N/A |0.000
ayon_ocio |1.1.1 |0.000 |N/A |0.000 |N/A |N/A |0.000
ayon_third_party |1.1.1 |0.000 |0.000 |0.000 |0.000 |0.441 |0.441
blender |0.2.1-dev.1|0.000 |N/A |0.000 |N/A |N/A |0.000
celaction |0.2.0 |0.000 |N/A |0.000 |N/A |N/A |0.000
deadline |0.2.2 |0.000 |N/A |0.000 |N/A |N/A |0.000
kitsu |1.2.2 |0.000 |0.000 |0.000 |0.000 |0.231 |0.231
launcher_tool |1.0.0 |0.000 |0.053 |0.000 |0.000 |0.000 |0.054
loader_tool |1.0.0 |0.000 |0.032 |0.000 |0.000 |0.000 |0.032
python_interpreter|1.0.0 |0.000 |0.011 |0.000 |0.000 |0.000 |0.012
royalrender |0.2.1 |0.000 |N/A |N/A |N/A |N/A |0.000
sitesync |1.1.2 |0.000 |0.417 |0.000 |0.000 |0.000 |0.417
traypublisher |0.2.4 |0.000 |0.000 |0.000 |0.000 |0.000 |0.000
tvpaint |0.2.2 |0.000 |N/A |0.000 |N/A |N/A |0.000
webserver |1.0.0 |0.000 |0.145 |0.000 |0.010 |0.000 |0.156
------------------+-----------+--------------+---------+---------------+---------+------------+-----
Total |(15) |0.001 |0.659 |0.000 |0.011 |0.672 |1.343
/home/hannah/Downloads/AYON-1.0.3-linux/dependencies/blessed/terminal.py:183: UserWarning: Failed to setupterm(kind='xterm-256color'): setupterm: could not find terminal
warnings.warn(msg)
>>> [ Starting SiteSync ]
>>> [ SiteSync Started ]
>>> [ Starting WebServer server ]
>>> [ Opening of last workfile was disabled by user ]
>>> [ Colorspace management is disabled globally. ]
>>> [ Last workfile does not exist. ]
>>> [ Custom templates are not filled. Skipping template copy. ]
>>> [ Registered custom templates didn't match current context. ]
>>> [ Current context does not have any workfile yet. ]
>>> [ Launching "blender/4-2" with args (2): ['/home/hannah/opt/blender_launcher/custom/Blender_Sandbox/blender', '--python-use-system-env'] ]
>>> [ Installed event handler _on_save_pre... ]
>>> [ Installed event handler _on_save_post... ]
>>> [ Installed event handler _on_load_post... ]
>>> [ Installed event callback for 'taskChanged'... ]
Registered font families: Noto Sans, Noto Sans, Noto Sans, Noto Sans, Noto Sans Mono, Noto Sans Mono, Noto Sans Mono, Noto Sans Mono, Noto Sans Mono, Noto Sans Mono, Noto Sans Mono, Noto Sans Mono, Noto Sans Mono
Running the Creator operator returns me this inside the AYON launcher console:
Initialising WM_OT_avalon_creator...
Using existing QApplication..
TypeError: 'PySide2.QtCore.Qt.KeyboardModifier' object cannot be interpreted as an integer
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/hannah/.local/share/AYON/addons/blender_0.2.1-dev.1/ayon_blender/api/ops.py", line 312, in execute
host_tools.show_publisher(tab="create")
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 399, in show_publisher
_SingletonPoint.show_tool_by_name("publisher", parent, **kwargs)
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 349, in show_tool_by_name
cls.helper.show_tool_by_name(tool_name, parent, *args, **kwargs)
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 321, in show_tool_by_name
self.show_publisher_tool(parent, *args, **kwargs)
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 251, in show_publisher_tool
window = self.get_publisher_tool(parent, controller)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 236, in get_publisher_tool
from ayon_core.tools.publisher.window import PublisherWindow
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/publisher/window.py", line 20, in <module>
from .constants import ResetKeySequence
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/publisher/constants.py", line 32, in <module>
ResetKeySequence = QtGui.QKeySequence(
^^^^^^^^^^^^^^^^^^^
SystemError: <class 'PySide2.QtGui.QKeySequence'> returned a result with an exception set
Error: Python: TypeError: 'PySide2.QtCore.Qt.KeyboardModifier' object cannot be interpreted as an integer
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 251, in show_publisher_tool
window = self.get_publisher_tool(parent, controller)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 236, in get_publisher_tool
from ayon_core.tools.publisher.window import PublisherWindow
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/publisher/window.py", line 20, in <module>
from .constants import ResetKeySequence
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/publisher/constants.py", line 32, in <module>
ResetKeySequence = QtGui.QKeySequence(
^^^^^^^^^^^^^^^^^^^
SystemError: <class 'PySide2.QtGui.QKeySequence'> returned a result with an exception set
Traceback (most recent call last):
File "/home/hannah/.local/share/AYON/addons/blender_0.2.1-dev.1/ayon_blender/api/ops.py", line 198, in _process_app_events
if app._instance:
^^^^^^^^^^^^^
AttributeError: 'PySide2.QtWidgets.QApplication' object has no attribute '_instance'
This is what it returns on Blender:
Python: TypeError: 'PySide2.QtCore.Qt.KeyboardModifier' object cannot be interpreted as an integer
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 251, in show_publisher_tool
window = self.get_publisher_tool(parent, controller)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 236, in get_publisher_tool
from ayon_core.tools.publisher.window import PublisherWindow
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/publisher/window.py", line 20, in <module>
from .constants import ResetKeySequence
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/publisher/constants.py", line 32, in <module>
ResetKeySequence = QtGui.QKeySequence(
^^^^^^^^^^^^^^^^^^^
SystemError: <class 'PySide2.QtGui.QKeySequence'> returned a result with an exception set
When I run the Load operator I get this inside of the launcher:
Initialising WM_OT_avalon_loader...
Traceback (most recent call last):
File "/home/hannah/.local/share/AYON/addons/blender_0.2.1-dev.1/ayon_blender/api/ops.py", line 244, in execute
window = host_tools.get_tool_by_name(self._tool_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 359, in get_tool_by_name
return _SingletonPoint.get_tool_by_name(tool_name, parent, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 354, in get_tool_by_name
return cls.helper.get_tool_by_name(tool_name, parent, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 265, in get_tool_by_name
return self.get_loader_tool(parent, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 75, in get_loader_tool
loader_window = LoaderWindow(
^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/loader/ui/window.py", line 127, in __init__
self.setWindowFlags(self.windowFlags() | QtCore.Qt.Window)
TypeError: 'PySide2.QtCore.Qt.WindowType' object cannot be interpreted as an integer
Error: Python: Traceback (most recent call last):
File "/home/hannah/.local/share/AYON/addons/blender_0.2.1-dev.1/ayon_blender/api/ops.py", line 244, in execute
window = host_tools.get_tool_by_name(self._tool_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 359, in get_tool_by_name
return _SingletonPoint.get_tool_by_name(tool_name, parent, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 354, in get_tool_by_name
return cls.helper.get_tool_by_name(tool_name, parent, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 265, in get_tool_by_name
return self.get_loader_tool(parent, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 75, in get_loader_tool
loader_window = LoaderWindow(
^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/loader/ui/window.py", line 127, in __init__
self.setWindowFlags(self.windowFlags() | QtCore.Qt.Window)
TypeError: 'PySide2.QtCore.Qt.WindowType' object cannot be interpreted as an integer
Traceback (most recent call last):
File "/home/hannah/.local/share/AYON/addons/blender_0.2.1-dev.1/ayon_blender/api/ops.py", line 198, in _process_app_events
if app._instance:
^^^^^^^^^^^^^
AttributeError: 'PySide2.QtWidgets.QApplication' object has no attribute '_instance'
Blender info log:
Python: Traceback (most recent call last):
File "/home/hannah/.local/share/AYON/addons/blender_0.2.1-dev.1/ayon_blender/api/ops.py", line 244, in execute
window = host_tools.get_tool_by_name(self._tool_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 359, in get_tool_by_name
return _SingletonPoint.get_tool_by_name(tool_name, parent, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 354, in get_tool_by_name
return cls.helper.get_tool_by_name(tool_name, parent, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 265, in get_tool_by_name
return self.get_loader_tool(parent, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/utils/host_tools.py", line 75, in get_loader_tool
loader_window = LoaderWindow(
^^^^^^^^^^^^^
File "/home/hannah/.local/share/AYON/addons/core_0.4.0/ayon_core/tools/loader/ui/window.py", line 127, in __init__
self.setWindowFlags(self.windowFlags() | QtCore.Qt.Window)
TypeError: 'PySide2.QtCore.Qt.WindowType' object cannot be interpreted as an integer