BlendLuxCore icon indicating copy to clipboard operation
BlendLuxCore copied to clipboard

Failed to load on Blender 3.4.1

Open dozerman-ms opened this issue 1 year ago • 4 comments

Finding the downloaded Blender zip file (for the Blender addon) and importing it in blender 3.4.1 results in the error code:

Traceback (most recent call last):
  File "/usr/share/blender/scripts/modules/addon_utils.py", line 333, in enable
    mod = __import__(module_name)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/andrew/.config/blender/3.4/scripts/addons/BlendLuxCore/__init__.py", line 66, in <module>
    raise Exception(msg + "\n\nImportError: %s" % error) from None
Exception: 

Could not import pyluxcore.

ImportError: /home/andrew/.config/blender/3.4/scripts/addons/BlendLuxCore/bin/pyluxcore.so: undefined symbol: _PyTraceMalloc_NewReference



dozerman-ms avatar Jan 18 '24 01:01 dozerman-ms

What version of LuxCore and what operating system?

wizard3376 avatar Jan 18 '24 08:01 wizard3376

It looks like you simply have incompatible versions of blender and LuxCore, try downloading from this link

https://github.com/LuxCoreRender/BlendLuxCore/tree/blender_3_0

wizard3376 avatar Jan 18 '24 08:01 wizard3376

Finding the downloaded Blender zip file (for the Blender addon) and importing it in blender 3.4.1 results in the error code:

Traceback (most recent call last):
  File "/usr/share/blender/scripts/modules/addon_utils.py", line 333, in enable
    mod = __import__(module_name)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/andrew/.config/blender/3.4/scripts/addons/BlendLuxCore/__init__.py", line 66, in <module>
    raise Exception(msg + "\n\nImportError: %s" % error) from None
Exception: 

Could not import pyluxcore.

ImportError: /home/andrew/.config/blender/3.4/scripts/addons/BlendLuxCore/bin/pyluxcore.so: undefined symbol: _PyTraceMalloc_NewReference

There are hae not for Blender 3.4.1 due to every new release has been posted into "last" release version.

odil24 avatar Jan 20 '24 22:01 odil24

You need jump to Blender 3.6 LTS if you would like to use at least

odil24 avatar Jan 20 '24 22:01 odil24