Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to enable it #237

Closed
xalteropsx opened this issue Apr 25, 2022 · 16 comments
Closed

unable to enable it #237

xalteropsx opened this issue Apr 25, 2022 · 16 comments
Assignees

Comments

@xalteropsx
Copy link

xalteropsx commented Apr 25, 2022

``bpy.context.space_data.system_bookmarks_active = 3
Modules Installed (hdusd) from 'C:\Users\haide\Downloads\BlenderUSDHydraAddon_1.0.65_Windows.zip' into 'C:\Users\haide\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons'
Traceback (most recent call last):
File "X:\BnSModding\blender\3.1\scripts\modules\addon_utils.py", line 351, in enable
mod = import(module_name)
File "C:\Users\haide\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\hdusd_init_.py", line 39, in
from . import engine, properties, ui, usd_nodes, mx_nodes, bl_nodes
File "C:\Users\haide\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\hdusd\engine_init_.py", line 39, in
from . import engine, handlers
File "C:\Users\haide\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\hdusd\engine\engine.py", line 21, in
from ..utils.stage_cache import CachedStage
File "C:\Users\haide\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\hdusd\utils\stage_cache.py", line 15, in
from pxr import Usd
File "C:\Users\haide\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\hdusd\libs\lib\python\pxr\Usd_init_.py", line 24, in
from pxr import Tf
File "C:\Users\haide\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\hdusd\libs\lib\python\pxr\Tf_init_.py", line 163, in
PreparePythonModule()
File "C:\Users\haide\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\hdusd\libs\lib\python\pxr\Tf_init_.py", line 88, in PreparePythonModule
module = importlib.import_module(
File "X:\BnSModding\blender\3.1\python\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed while importing _tf: The specified module could not be found.

Python: Traceback (most recent call last):
File "X:\BnSModding\blender\3.1\scripts\startup\bl_operators\userpref.py", line 782, in execute
shutil.rmtree(path)
File "X:\BnSModding\blender\3.1\python\lib\shutil.py", line 739, in rmtree
return _rmtree_unsafe(path, onerror)
File "X:\BnSModding\blender\3.1\python\lib\shutil.py", line 617, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "X:\BnSModding\blender\3.1\python\lib\shutil.py", line 615, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\haide\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\hdusd\hdusd.log'

location: :-1

``

@DagerD DagerD self-assigned this Apr 29, 2022
@DagerD
Copy link
Contributor

DagerD commented Apr 29, 2022

Hi.

For Blender 3.1 please download our latest build with 3.10 Python BlenderUSDHydraAddon_1.0.92_3.10_Windows.zip

@ultra-sonic
Copy link

ultra-sonic commented May 20, 2022

I have the same issue on Centos 7.9 Linux with blender 3.1.2 using python 3.10
Read prefs: /home/olimar/.config/blender/3.1/config/userpref.blend 2022-05-20 17:25:13,421 INFO hdusd.init [140579243983232]: Loading USD Hydra addon version=(1, 0, 97), build=8416bf5 Traceback (most recent call last): File "/usr/local/blender/blender-3.1.2-linux-x64/3.1/scripts/modules/addon_utils.py", line 351, in enable mod = __import__(module_name) File "/raid/standards/base-setups/blender/production/3.1/scripts/addons/hdusd/__init__.py", line 108, in <module> from . import engine, properties, ui, usd_nodes, mx_nodes, bl_nodes File "/raid/standards/base-setups/blender/production/3.1/scripts/addons/hdusd/engine/__init__.py", line 43, in <module> from . import engine, handlers File "/raid/standards/base-setups/blender/production/3.1/scripts/addons/hdusd/engine/engine.py", line 21, in <module> from ..utils.stage_cache import CachedStage File "/raid/standards/base-setups/blender/production/3.1/scripts/addons/hdusd/utils/stage_cache.py", line 15, in <module> from pxr import Usd File "/mutter/users/olimar/hdusd/libs-3.10/lib/python/pxr/Usd/__init__.py", line 24, in <module> from pxr import Tf File "/mutter/users/olimar/hdusd/libs-3.10/lib/python/pxr/Tf/__init__.py", line 163, in <module> PreparePythonModule() File "/mutter/users/olimar/hdusd/libs-3.10/lib/python/pxr/Tf/__init__.py", line 88, in PreparePythonModule module = importlib.import_module( File "/usr/local/blender/blender-3.1.2-linux-x64/3.1/python/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ImportError: libpython3.10.so.1.0: cannot open shared object file: No such file or directory

find /usr/local/blender/ -name "*libpython*"
gives me:
/usr/local/blender/blender-3.1.2-linux-x64/3.1/python/lib/python3.10/config-3.10-x86_64-linux-gnu/libpython3.10.a /usr/local/blender/blender-3.1.2-linux-x64/3.1/python/lib/python3.10/site-packages/Cython/Debugger/libpython.py /usr/local/blender/blender-3.1.2-linux-x64/3.1/python/lib/python3.10/site-packages/Cython/Debugger/Tests/test_libpython_in_gdb.py
not sure why it wants to import the libpython3.10.so.1.0 and not libpython3.10.a

any ideas?

thanks a lot and have a great weekend!

@masahiroteraoka
Copy link

masahiroteraoka commented May 27, 2022

Hello, Thank you for this exciting addon! it works in my windows11 with blender 3.1.2, but unfortunately doesn't work in linux mint with same 3.1.2. Seems like kinda same issue which ultra-sonic said.

2022-05-28 08:43:14,983 INFO hdusd.init [139899604664704]: Loading USD Hydra addon version=(1, 0, 95), build=ca41f09 Traceback (most recent call last): File "/home/mteraoka/software/blender-3.1.2-linux-x64/3.1/scripts/modules/addon_utils.py", line 351, in enable mod = __import__(module_name) File "/home/mteraoka/.config/blender/3.1/scripts/addons/hdusd/__init__.py", line 37, in <module> from . import engine, properties, ui, usd_nodes, mx_nodes, bl_nodes File "/home/mteraoka/.config/blender/3.1/scripts/addons/hdusd/engine/__init__.py", line 43, in <module> from . import engine, handlers File "/home/mteraoka/.config/blender/3.1/scripts/addons/hdusd/engine/engine.py", line 21, in <module> from ..utils.stage_cache import CachedStage File "/home/mteraoka/.config/blender/3.1/scripts/addons/hdusd/utils/stage_cache.py", line 15, in <module> from pxr import Usd File "/home/mteraoka/.config/blender/3.1/scripts/addons/hdusd/libs-3.10/lib/python/pxr/Usd/__init__.py", line 24, in <module> from pxr import Tf File "/home/mteraoka/.config/blender/3.1/scripts/addons/hdusd/libs-3.10/lib/python/pxr/Tf/__init__.py", line 163, in <module> PreparePythonModule() File "/home/mteraoka/.config/blender/3.1/scripts/addons/hdusd/libs-3.10/lib/python/pxr/Tf/__init__.py", line 88, in PreparePythonModule module = importlib.import_module( File "/home/mteraoka/software/blender-3.1.2-linux-x64/3.1/python/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ImportError: libpython3.10.so.1.0: cannot open shared object file: No such file or directory

Thank you very much, in advance!

@xalteropsx
Copy link
Author

https://github.com/GPUOpen-LibrariesAndSDKs/BlenderUSDHydraAddon/releases

thnx the weekly update of urs solve the bug but above link expire
thank u again for quick fix

@DagerD
Copy link
Contributor

DagerD commented May 30, 2022

@masahiroteraoka @ultra-sonic

Try to run apt install libpython3.10.

@ultra-sonic
Copy link

why would i need to install this when i'm already inside of a 3.10 interpreter?

@DagerD
Copy link
Contributor

DagerD commented May 30, 2022

Because on Unix-like systems you very often don't have required packages.

@Nikita-schetko
Copy link

Guys, is there a solution for that problem? Cannot use it on macOs 12.4 Monterey

@bsavery
Copy link
Contributor

bsavery commented Jun 23, 2022

There is a blender side issue that doesn't allow us to import USD libraries. We're trying to find another solution but there has to be a change on the blender side.

@xalteropsx
Copy link
Author

image
new issue has been arrise black screen

@xalteropsx
Copy link
Author

xalteropsx commented Jun 23, 2022

rpr not working only GL work which is slow

@xalteropsx
Copy link
Author

rx 580 gpu bug issue 3.10.2 blender

@DagerD
Copy link
Contributor

DagerD commented Jun 24, 2022

Could you please close this issue if it has been resolved and open a new one with attached scene and logs from console?

@xalteropsx
Copy link
Author

xalteropsx commented Jun 24, 2022

2022-06-24 17:40:57,875 INFO hdusd.init [8868]: Loading USD Hydra addon version=(1, 1, 2), build=efbe19d
###################################################################################

HD_ENABLE_SCENE_INDEX_EMULATION is overridden to 'false'. Default is 'true'.

###################################################################################
2022-06-24 17:41:03,725 WARNING hdusd.bl_nodes [8868]: Ignoring unsupported UV Map, TANGENT, <bpy_struct, ShaderNodeNormalMap("Normal Map") at 0x0000018C4912C408>, <bpy_struct, Material("col1") at 0x0000018C41C1E988>, No UV Map will be used
[RPR ERROR] Failed to create RPR context -- invalid api version in RprUsdCreateContext at line 410 of C:\JN\WS\BlenderUSDHydraPlugin_Build\BlenderUSDHydraAddon\deps\HdRPR\pxr\imaging\rprUsd\contextHelpers.cpp(a8cd939)
@DagerD sorry sir for late reply

@xalteropsx
Copy link
Author

xalteropsx commented Jun 24, 2022

Read prefs: C:\Users\haide\AppData\Roaming\Blender Foundation\Blender\3.1\config\userpref.blend
2022-06-24 17:48:46,555 INFO rpr.engine.init [17220]: Core version: 2.2.12 build 0x4382e327
2022-06-24 17:48:46,565 INFO rpr.engine.init [17220]: RIF version: 1.7.1 build 0xfdc139ba
Error: Required device extension VK_KHR_deferred_host_operations is not supported.
2022-06-24 17:48:46,636 WARNING rpr.engine.init [17220]: ('Plugin is not registered', WindowsPath('C:/Users/haide/AppData/Roaming/Blender Foundation/Blender/3.1/scripts/addons/rprblender/HybridPro.dll'), '')
2022-06-24 17:48:47,460 INFO rpr.material_library [17220]: Material library located at C:\ProgramData\RadeonProRender\MaterialLibrary\Xml
Zen UV Library: REGISTERED.
2022-06-24 17:48:48,890 INFO hdusd.init [17220]: Loading USD Hydra addon version=(1, 1, 2), build=efbe19d
###################################################################################

HD_ENABLE_SCENE_INDEX_EMULATION is overridden to 'false'. Default is 'true'.

###################################################################################
Load Handler:
Scanning directory: C:\Users\haide\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\Vera Lighting Studio\thumbs/c
[RPR ERROR] Failed to create RPR context -- invalid api version in RprUsdCreateContext at line 410 of C:\JN\WS\BlenderUSDHydraPlugin_Build\BlenderUSDHydraAddon\deps\HdRPR\pxr\imaging\rprUsd\contextHelpers.cpp(a8cd939)

@xalteropsx
Copy link
Author

i guess it resolve on new blender version 3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants