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

Can't install on 3.0.1 on linux. #753

Closed
asluizh opened this issue Feb 24, 2022 · 7 comments
Closed

Can't install on 3.0.1 on linux. #753

asluizh opened this issue Feb 24, 2022 · 7 comments

Comments

@asluizh
Copy link

asluizh commented Feb 24, 2022

Was able to install on 3.0.0
After updating blender and upon opening the program, luxcore addon was disabled. Trying to re-enable it produced an error. Removing it and installing it again gave the same error.

Error message from Blender console:

Traceback (most recent call last):
  File "/usr/share/blender/3.0/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/user/.config/blender/3.0/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/user/.config/blender/3.0/scripts/addons/BlendLuxCore/bin/pyluxcore.so: undefined symbol: _PyTraceMalloc_NewReference

OS: Manjaro Linux
Blender version: 3.0.1
LuxCore version: Latest build (d435660, 8 jan 2022)

@SteffenDuenner
Copy link

Hmm... I can activate it in (Linux) Blender 3.0.1 and it works (except for the bug I already reported #745 ).

But I get a similar error message as you got when I try to activate it in Blender 3.1.0.

@edin45
Copy link

edin45 commented Mar 11, 2022

Same here, with Blender 3.1.0, My os is: Debian 11

@neo2068
Copy link
Member

neo2068 commented Mar 11, 2022

Blender 3.1 uses Python 3.10 dependencies. The latest version of LuxCore uses 3.9 to be compatible with Blender 3.0. LuxCore has to be built with the same Python version as Blender.

@neo2068
Copy link
Member

neo2068 commented Mar 14, 2022

The latest version should work with Blender 3.1 now. Link
Please check and comment if it works for you.

@SteffenDuenner
Copy link

The Python updates that were committed are Windows-only sadly. So no change for Linux users yet.

@asluizh
Copy link
Author

asluizh commented Mar 20, 2022

Indeed, the error persists on 3.1 with the latest build (march 14) on linux.

Traceback (most recent call last):
  File "/usr/share/blender/3.1/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/user/.config/blender/3.1/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/user/.config/blender/3.1/scripts/addons/BlendLuxCore/bin/pyluxcore.so: undefined symbol: _PyTraceMalloc_NewReference

@CodeFHD
Copy link
Member

CodeFHD commented Jan 6, 2025

Closing this issue after a review with the following reasons/conclusions:

  • Issue affected old Blender + LuxCore versions that are no longer supported
  • Based on answers given, issue is obsolete by now

If you feel this issue is still relevant in 2025, please re-test it with a recent Blender + LuxCore version, then ask to reopen and provide the following information:

  • Operating System
  • CPU + GPU model
  • Blender and LuxCoreRender version used for re-test
  • Detailed steps how to reproduce the bug from an empty scene,
  • provide a specific .blend-file

@CodeFHD CodeFHD closed this as completed Jan 6, 2025
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

5 participants