Page 1 of 1

Unable to run Luxcore 2.5 in Blender 2.92

Posted: Sun Jun 27, 2021 9:12 am
by zooropa
Hi guys and girls.

I am trying to run luxcore, but I get this message:

[SDL][22.265] Light definition: __WORLD_BACKGROUND_LIGHT__
ERROR: Config: 'LuxCoreAddonPreferences' object has no attribute 'use_optix_if_available'
Traceback (most recent call last):
File "C:\Users\Bruno\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\BlendLuxCore\export\config.py", line 102, in convert
if (pipeline.transparent_film or use_backgroundimage(context, scene)) and not use_filesaver:
File "C:\Users\Bruno\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\BlendLuxCore\export\imagepipeline.py", line 102, in use_backgroundimage
return pipeline.backgroundimage.is_enabled(context) and (final_render or viewport_in_camera_view)
File "C:\Users\Bruno\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\BlendLuxCore\properties\imagepipeline.py", line 15, in is_enabled
using_OIDN_in_viewport = context and context.scene.luxcore.viewport.get_denoiser(context) == "OIDN"
File "C:\Users\Bruno\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\BlendLuxCore\properties\viewport.py", line 65, in get_denoiser
if self.can_use_optix_denoiser(context):
File "C:\Users\Bruno\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\BlendLuxCore\properties\viewport.py", line 60, in can_use_optix_denoiser
return preferences.gpu_backend == "CUDA" and preferences.film_device != "none" and preferences.use_optix_if_available
AttributeError: 'LuxCoreAddonPreferences' object has no attribute 'use_optix_if_available'
ERROR: Errors in config, check error log
Traceback (most recent call last):
File "C:\Users\Bruno\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\BlendLuxCore\engine\viewport.py", line 76, in view_update
engine.session = engine.exporter.create_session(depsgraph, context, engine=engine)
File "C:\Users\Bruno\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\BlendLuxCore\export\__init__.py", line 158, in create_session
raise Exception("Errors in config, check error log")
Exception: Errors in config, check error log

Re: Unable to run Luxcore 2.5 in Blender 2.92

Posted: Sun Jun 27, 2021 9:56 am
by B.Y.O.B.
It sounds like you overwrote an old BlendLuxcore installation with a new one and something went wrong. Try to delete it completely and do a fresh reinstall.

Re: Unable to run Luxcore 2.5 in Blender 2.92

Posted: Sun Jun 27, 2021 1:35 pm
by zooropa
You solved, thank you