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

Nothing happens after generate mesh button is clicked #8

Open
madeleinelmuller opened this issue Nov 29, 2024 · 5 comments
Open

Nothing happens after generate mesh button is clicked #8

madeleinelmuller opened this issue Nov 29, 2024 · 5 comments

Comments

@madeleinelmuller
Copy link

I’ve been waiting for almost four hours, and nothing has happened yet. I still have zero vertices, edges, etc. Yes, I do have the dependencies.

@dylanebert
Copy link
Collaborator

What is the output in the console?

@madeleinelmuller
Copy link
Author

What is the output in the console?

bpy.ops.meshgen.load_generator()

@mak448a
Copy link

mak448a commented Dec 23, 2024

Same problem?

Failed to load generator: Failed to load shared library '/home/user/.config/blender/4.2/scripts/addons/meshgen/.python_dependencies/llama_cpp/lib/libllama.so': libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/home/user/.config/blender/4.2/scripts/addons/meshgen/.python_dependencies/llama_cpp/llama_cpp.py", line 75, in _load_shared_library
    return ctypes.CDLL(str(_lib_path), **cdll_args)  # type: ignore
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.13/ctypes/__init__.py", line 390, in __init__
    self._handle = _dlopen(self._name, mode)
                   ~~~~~~~^^^^^^^^^^^^^^^^^^
OSError: libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/.config/blender/4.2/scripts/addons/meshgen/generator/generator.py", line 80, in load_generator
    import llama_cpp
  File "/home/user/.config/blender/4.2/scripts/addons/meshgen/.python_dependencies/llama_cpp/__init__.py", line 1, in <module>
    from .llama_cpp import *
  File "/home/user/.config/blender/4.2/scripts/addons/meshgen/.python_dependencies/llama_cpp/llama_cpp.py", line 88, in <module>
    _lib = _load_shared_library(_lib_base_name)
  File "/home/user/.config/blender/4.2/scripts/addons/meshgen/.python_dependencies/llama_cpp/llama_cpp.py", line 77, in _load_shared_library
    raise RuntimeError(f"Failed to load shared library '{_lib_path}': {e}")
RuntimeError: Failed to load shared library '/home/user/.config/blender/4.2/scripts/addons/meshgen/.python_dependencies/llama_cpp/lib/libllama.so': libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory

@dylanebert
Copy link
Collaborator

@mak448a you may be able to try the solution here alexander-akhmetov/python-telegram#3 (comment)

apt-get install musl-dev
ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1

@mak448a
Copy link

mak448a commented Dec 24, 2024

Hi @dylanebert, after installing musl-devel (dnf) and symlinking, it still produced the error. Do you know how to fix this?

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

3 participants