Unable to run Luxcore 2.5 in Blender 2.92

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
zooropa
Posts: 72
Joined: Sat Mar 28, 2020 10:36 am

Unable to run Luxcore 2.5 in Blender 2.92

Post 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
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Unable to run Luxcore 2.5 in Blender 2.92

Post 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.
zooropa
Posts: 72
Joined: Sat Mar 28, 2020 10:36 am

Re: Unable to run Luxcore 2.5 in Blender 2.92

Post by zooropa »

You solved, thank you
Post Reply