Unable to activate addon
System Information
Ubuntu MATE 16.04.4, Nvidia GeForce GTX 550Ti, driver version 384.111
Software Version
- Blender version: 2.79b (from Thomas Schiex PPA)
- LuxCore version: 2 beta2
Error message from Blender console
Traceback (most recent call last):
File "/usr/share/blender/2.79/scripts/modules/addon_utils.py", line 331, in enable
mod = __import__(module_name)
File "~/.config/blender/2.79/scripts/addons/BlendLuxCore/__init__.py", line 2, in <module>
from .bin import pyluxcore
ImportError: ~/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/libembree.so.2: undefined symbol: _ZN3tbb10interface78internal15task_arena_base24internal_max_concurrencyEPKNS0_10task_arenaE
Short description of error
Addon installs, but unable to activate
Exact steps for others to reproduce the error
Launch Blender, install addon, try to activate.
Blender 2.79 official works nice.
Blender 2.79 official works nice.
So only the 2.79b from this PPA fails to load it? Have you tried with the official Blender 2.79b?
We can only support official Blender releases due to a lack of manpower.
It reminds me a bit of this problem, it had to do with an older Blender version: https://forums.luxcorerender.org/viewtopic.php?f=4&t=193#p2510
It is like if this special version of Blender is compiled with an older version of Intel TBB and there is conflict with the newer version required by Intel Embree.
Anyway I don't have such a problem using official Blender 2.79b. The procedure used to compile Blender version: 2.79b (from Thomas Schiex PPA) may be not entirely correct or conform to what Blender Foundation does.
Any particular reason to not use the official Blender 2.79b ?
Kubuntu Linux x64, Blender 2.79b official
Had trouble activating addon while following installation instruction.
Traceback (most recent call last):
File "/opt/blender-2.79b/2.79/scripts/modules/addon_utils.py", line 331, in enable
mod = __import__(module_name)
File "/home/al/.config/blender/2.79/scripts/addons/BlendLuxCore/__init__.py", line 2, in <module>
from .bin import pyluxcore
ImportError: /home/al/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/pyluxcore.so: undefined symbol: rtcSetTransform2
Like pyluxcore binary has interface different from what LuxBlend expected.
Finally I found that I need to disable old LuxRender 1.7 addon and not only that, but restart Blender after deactivation, and now new LuxCore addon activation went smoothly. So, I think, it would be helpful, if installation instruction had something like:
1. disable old LuxRender 1.6/1.7 addon (if any)
2. save user settings and restart Blender
3. activate new LuxCore addon
4. save user settings and restart Blender
Hope it is relevant.
I think step 4 is not needed, or is it? It should be added to the wiki here: https://wiki.luxcorerender.org/BlendLuxCore_Installation You can do it yourself if you want (create a wiki account) or I can do it.
I think step 4 is not needed, or is it?
Yes, step 4 looks unnecessary.
You can do it yourself if you want (create a wiki account) or I can do it.
I'm not a native english-speaker. But I can do that. If nobody will make it in about a day than I will register and add a mark.
It may be handy to have a check in BlendLuxCore if the old plugin is enabled, is it possible ?
I'm not a native english-speaker. But I can do that.
Nobody in the team is, currently ;) I'm asking you to do it because we are very few developers and it would be great if more people would participate in the project. Every bit that we don't have to do gives us more time to focus on the actual development.
It may be handy to have a check in BlendLuxCore if the old plugin is enabled, is it possible ?
I'll look into it.
OK, 2.79b official activates the addon, but crashes while attempting to render.
Any particular reason to not use the official Blender 2.79b ?
It is cozily to get updates automatically, no need to go to the website, download an archive and unzip it. Nothing more.
Any useful error messages or just the usual ERROR_ACCESS_VIOLATION?
It may be handy to have a check in BlendLuxCore if the old plugin is enabled, is it possible ?
See my post here: https://forums.luxcorerender.org/viewtopic.php?f=5&p=2637#p2637
~$ Downloads/blender-2.79b-linux-glibc219-x86_64/blender
Read prefs: ~/.config/blender/2.79/config/userpref.blend
found bundled python: ~ /Downloads/blender-2.79b-linux-glibc219-x86_64/2.79/python
Registered Animation Nodes with 497 modules.
pyluxcore version: 2.0beta2
Updating OpenCL device list
init
LuxCoreRenderEngine del
init
LuxCoreRenderEngine del
init
Can't tag errorlog for redraw in _RestrictContext
Rendering layer "RenderLayer"
exporter init
create_session
[SDL][86.457] Camera type: perspective
[SDL][86.457] Camera position: Point[7.48113, -6.50764, 5.34367]
[SDL][86.457] Camera target: Point[6.82957, -5.89347, 4.89839]
[SDL][86.457] Camera clipping plane disabled
converting lamp: Lamp
[SDL][86.463] Material definition: Surface_Material_140459269407240
Недопустимая инструкция (сделан дамп памяти) translating: "Invalid instruction (core dumped)"
What I did: started Blender, removed standard material, created new (matte, glossy, glass), changed lamp to Sun, attached it to Sky, started render.
Can you post the scene triggering this crash, are you rendering on CPU or GPU ?
And what CPU do you have ? It is unlikely but if you have a very old CPU, LuxCore may have been compiled with some instruction set is not supported by your CPU.
My CPU is AMD Phenom II 1055T. No matter what I choose: CPU or GPU only, it crashes.
https://drive.google.com/open?id=1nmz43ddjVzNasMGd2_k2M0v0egb48gBs
I'm asking you to do it because we are very few developers and it would be great if more people would participate in the project.
Got it. Added to the Wiki page.
https://drive.google.com/open?id=1nmz43ddjVzNasMGd2_k2M0v0egb48gBs
works fine for me, CPU, GPU, both. Intel i7 3770, AMD R9 290. So no new info from my side.
P.S. Tried to build Blender following instructions there: https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Ubuntu/CMake and got Blender incompatible with LuxCore 2.0 beta2. Error message at activation exactly like presented by mageaster.
ImportError: /home/al/.config/blender/2.79/scripts/addons/BlendLuxCore/bin/libembree.so.2: undefined symbol: ZN3tbb10interface78internal15task_arena_base24internal_max_concurrencyEPKNS0_10task_arenaE
The scene works fine here too. There must be something in mageaster installation.
@mageaster, can you try to download and install the BlendLuxCore CPU-only version (OpenCL-less) ? If it works it may be a problem strictly related to your OpenCL driver installation (not uncommon on Linux when using AMD/NVIDIA binary drivers).
@Dade916, OpenCL-less version crashes as well.
Strange problem, one more test: try to download the stand alone cpu-only version (https://github.com/LuxCoreRender/LuxCore/releases/download/luxcorerender_v2.0beta2/luxcorerender-v2.0beta2-linux64.tar.bz2), unpack the tar and run the following command:
./bin/luxcoreui scenes/cornell/cornell.cfg
Does it work ?
~/Downloads/luxcorerender-v2.0beta2-linux64$ ./bin/luxcoreui scenes/cornell/cornell.cfg
bash: ./bin/luxcoreui: Нет такого файла или каталога (no such file or directory)
~/Downloads/luxcorerender-v2.0beta2-linux64$ ./luxcoreui scenes/cornell/cornell.cfg
LuxCoreUI v2.0beta2 (LuxCore demo: http://www.luxcorerender.org)
[LuxCore][0.000] Configuration:
[LuxCore][0.001] film.width = "512"
[LuxCore][0.001] film.height = "512"
[LuxCore][0.001] image.filename = "cornell.png"
[LuxCore][0.001] scene.file = "scenes/cornell/cornell.scn"
[SDL][0.001] Reading scene: scenes/cornell/cornell.scn
[SDL][0.001] Material definition: Khaki
Недопустимая (illegal) инструкция (instruction) (сделан дамп памяти)
Russian isn't exactly my native language, anyway I assume it is a crash.
There is something different in your system, it may be some language related setting. If you switch to a western language, I assume that it will work. I can not investigate this problem because I don't have such a system.