Blender rna_uiItem0: operator missing srna
Zitat von aditiavfx am 27. August 2020, 4:26 UhrHello, I've stumbled this issue with Blender. I'm not sure is it need Blender to be installed in usr/local?
rna_uiItemO: operator missing srna 'object.prism_save' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:282 rna_uiItemO: operator missing srna 'object.prism_savecomment' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:285 rna_uiItemO: operator missing srna 'object.prism_browser' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:288 rna_uiItemO: operator missing srna 'object.prism_manager' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:291 rna_uiItemO: operator missing srna 'object.prism_settings' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:294 rna_uiItemO: operator missing srna 'object.prism_save' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:282 rna_uiItemO: operator missing srna 'object.prism_savecomment' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:285 rna_uiItemO: operator missing srna 'object.prism_browser' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:288 rna_uiItemO: operator missing srna 'object.prism_manager' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:291 rna_uiItemO: operator missing srna 'object.prism_settings' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:294 rna_uiItemO: operator missing srna 'object.prism_save' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:282 rna_uiItemO: operator missing srna 'object.prism_savecomment' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:285 rna_uiItemO: operator missing srna 'object.prism_browser' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:288 rna_uiItemO: operator missing srna 'object.prism_manager' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:291 rna_uiItemO: operator missing srna 'object.prism_settings' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:294 rna_uiItemO: operator missing srna 'object.prism_save' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:282 rna_uiItemO: operator missing srna 'object.prism_savecomment' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:285 rna_uiItemO: operator missing srna 'object.prism_browser' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:288 rna_uiItemO: operator missing srna 'object.prism_manager' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:291 rna_uiItemO: operator missing srna 'object.prism_settings' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:294
Hello, I've stumbled this issue with Blender. I'm not sure is it need Blender to be installed in usr/local?
rna_uiItemO: operator missing srna 'object.prism_save' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:282 rna_uiItemO: operator missing srna 'object.prism_savecomment' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:285 rna_uiItemO: operator missing srna 'object.prism_browser' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:288 rna_uiItemO: operator missing srna 'object.prism_manager' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:291 rna_uiItemO: operator missing srna 'object.prism_settings' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:294 rna_uiItemO: operator missing srna 'object.prism_save' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:282 rna_uiItemO: operator missing srna 'object.prism_savecomment' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:285 rna_uiItemO: operator missing srna 'object.prism_browser' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:288 rna_uiItemO: operator missing srna 'object.prism_manager' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:291 rna_uiItemO: operator missing srna 'object.prism_settings' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:294 rna_uiItemO: operator missing srna 'object.prism_save' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:282 rna_uiItemO: operator missing srna 'object.prism_savecomment' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:285 rna_uiItemO: operator missing srna 'object.prism_browser' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:288 rna_uiItemO: operator missing srna 'object.prism_manager' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:291 rna_uiItemO: operator missing srna 'object.prism_settings' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:294 rna_uiItemO: operator missing srna 'object.prism_save' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:282 rna_uiItemO: operator missing srna 'object.prism_savecomment' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:285 rna_uiItemO: operator missing srna 'object.prism_browser' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:288 rna_uiItemO: operator missing srna 'object.prism_manager' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:291 rna_uiItemO: operator missing srna 'object.prism_settings' /opt/blender/next/lts/2.83/scripts/startup/bl_ui/space_topbar.py:294
Zitat von RichardF am 27. August 2020, 16:08 UhrThis looks like you removed the 2.83/scripts/startup/PrismInit.py file manually. It's better to use the Prism Settings dialog to rermove the Prism integration from Blender.
The issue is that the Prism menu is added to this file:
2.83/scripts/startup/bl_ui/space_topbar.py
Before Prism modified that file it created a space_topbar.py.bak file in the same folder. Use that to restore the original menu, which should remove the warnings.
This looks like you removed the 2.83/scripts/startup/PrismInit.py file manually. It's better to use the Prism Settings dialog to rermove the Prism integration from Blender.
The issue is that the Prism menu is added to this file:
2.83/scripts/startup/bl_ui/space_topbar.py
Before Prism modified that file it created a space_topbar.py.bak file in the same folder. Use that to restore the original menu, which should remove the warnings.
Zitat von aditiavfx am 28. August 2020, 12:59 UhrHi RichardF,
Thank for the reply, but it seems I can't get it to work in blender 2.83. I want to install prism integration not removing it. So the menu showing but not the content.
Hi RichardF,
Thank for the reply, but it seems I can't get it to work in blender 2.83. I want to install prism integration not removing it. So the menu showing but not the content.
Hochgeladene Dateien:
- Du musst dich anmelden um auf Uploads zugreifen zu können.
Zitat von RichardF am 28. August 2020, 14:17 UhrThen either the PrismInit.py doesn't exist or it has an error during loading. Do you see any other errors in the terminal when starting Blender?
Then either the PrismInit.py doesn't exist or it has an error during loading. Do you see any other errors in the terminal when starting Blender?
Zitat von aditiavfx am 29. August 2020, 7:23 UhrI've got the following when starting blender
found bundled python: /opt/blender/next/lts/2.83/python
Traceback (most recent call last):
File "/opt/blender/next/lts/2.83/scripts/modules/bpy/utils/__init__.py", line 109, in _test_import
mod = __import__(module_name)
File "/opt/blender/next/lts/2.83/scripts/startup/PrismInit.py", line 54, in <module>
from PySide2.QtCore import *
ModuleNotFoundError: No module named 'PySide2'
I think it's related with disabling pyside in prism directory, but still the blender integration not calling from system pyside.
I've got the following when starting blender
found bundled python: /opt/blender/next/lts/2.83/python
Traceback (most recent call last):
File "/opt/blender/next/lts/2.83/scripts/modules/bpy/utils/__init__.py", line 109, in _test_import
mod = __import__(module_name)
File "/opt/blender/next/lts/2.83/scripts/startup/PrismInit.py", line 54, in <module>
from PySide2.QtCore import *
ModuleNotFoundError: No module named 'PySide2'
I think it's related with disabling pyside in prism directory, but still the blender integration not calling from system pyside.
Zitat von RichardF am 30. August 2020, 17:20 UhrLooks like Blender is not using the system environment variables by default.
To let Blender find your system PySide you have two options:
- Like suggested here you can start Blender with the
--python-use-system-env
argument.- You can add the path to pyside into
blender-2.83.3-linux64/2.83/scripts/startup/PrismInit.py
by adding this line:sys.path.append("/path/to/pyside2/parent/folder")
Looks like Blender is not using the system environment variables by default.
To let Blender find your system PySide you have two options:
- Like suggested here you can start Blender with the
--python-use-system-env
argument. - You can add the path to pyside into
blender-2.83.3-linux64/2.83/scripts/startup/PrismInit.py
by adding this line:sys.path.append("/path/to/pyside2/parent/folder")
Zitat von aditiavfx am 1. September 2020, 2:08 UhrHmm, now another error showing ?
found bundled python: /opt/blender/next/lts/2.83/python
Traceback (most recent call last):
File "/opt/blender/next/lts/2.83/scripts/modules/bpy/utils/__init__.py", line 109, in _test_import
mod = __import__(module_name)
File "/opt/blender/next/lts/2.83/scripts/startup/PrismInit.py", line 58, in <module>
from PySide2.QtCore import *
File "/usr/lib/python3/dist-packages/PySide2/__init__.py", line 51, in <module>
_setupQtDirectories()
File "/usr/lib/python3/dist-packages/PySide2/__init__.py", line 21, in _setupQtDirectories
import shiboken2
File "/usr/lib/python3/dist-packages/shiboken2/__init__.py", line 27, in <module>
from .shiboken2 import *
ModuleNotFoundError: No module named 'shiboken2.shiboken2'
Hmm, now another error showing ?
found bundled python: /opt/blender/next/lts/2.83/python
Traceback (most recent call last):
File "/opt/blender/next/lts/2.83/scripts/modules/bpy/utils/__init__.py", line 109, in _test_import
mod = __import__(module_name)
File "/opt/blender/next/lts/2.83/scripts/startup/PrismInit.py", line 58, in <module>
from PySide2.QtCore import *
File "/usr/lib/python3/dist-packages/PySide2/__init__.py", line 51, in <module>
_setupQtDirectories()
File "/usr/lib/python3/dist-packages/PySide2/__init__.py", line 21, in _setupQtDirectories
import shiboken2
File "/usr/lib/python3/dist-packages/shiboken2/__init__.py", line 27, in <module>
from .shiboken2 import *
ModuleNotFoundError: No module named 'shiboken2.shiboken2'
Zitat von RichardF am 1. September 2020, 14:27 Uhrshiboken2 is a dependency of PySide2. Usually when you install PySide2 it installs shiboken2 automatically as well, but there might be something wrong with your version.
Maybe reinstalling it fixes it. Maybe you need to install a different version. It's hard to say what exactly the problem is without having a look at your environment.
I'd recommend installing Python 3.7 making sure PySide2 works in it before trying to load it into Blender.
shiboken2 is a dependency of PySide2. Usually when you install PySide2 it installs shiboken2 automatically as well, but there might be something wrong with your version.
Maybe reinstalling it fixes it. Maybe you need to install a different version. It's hard to say what exactly the problem is without having a look at your environment.
I'd recommend installing Python 3.7 making sure PySide2 works in it before trying to load it into Blender.
Zitat von aditiavfx am 1. September 2020, 16:55 UhrHi Richard,
Finally I'm getting back using pyenv and everything works fine. I use pyenv to install Python 3.7.9 and append
sys.path.append(
"/home/aditia/.pyenv/versions/3.7.9/lib/python3.7/site-packages"
)Thank you so much
Hi Richard,
Finally I'm getting back using pyenv and everything works fine. I use pyenv to install Python 3.7.9 and append
sys.path.append(
"/home/aditia/.pyenv/versions/3.7.9/lib/python3.7/site-packages"
)
Thank you so much
Hochgeladene Dateien:
- Du musst dich anmelden um auf Uploads zugreifen zu können.