[Bug]: MacOS LXST Codec2 Broken
MeshChatX version
4.8.3
Operating system
macOS
OS details (if Other)
No response
How did you install MeshChatX?
macOS app
What happened?
Reported via email
Steps to reproduce
- Attempt to run MeshChatX on MacOS
Logs or error output
--- STDOUT ---
No output recorded.
--- STDERR ---
Traceback (most recent call last):
File "__startup__.py", line 137, in run
File "console.py", line 27, in run
File "meshchat.py", line 50, in <module>
File "LXST/__init__.py", line 5, in <module>
File "LXST/Pipeline.py", line 5, in <module>
File "LXST/Sources.py", line 10, in <module>
File "LXST/Sinks.py", line 9, in <module>
File "LXST/Codecs/__init__.py", line 7, in <module>
File "LXST/Codecs/Codec2.py", line 6, in <module>
File "pycodec2/__init__.py", line 1, in <module>
ImportError: dlopen(/Applications/Reticulum [MeshChatX.app/Contents/Resources/backend/lib/pycodec2/pycodec2.cpython-314-darwin.so](http://meshchatx.app/Contents/Resources/backend/lib/pycodec2/pycodec2.cpython-314-darwin.so), 0x0002): Library not loaded: @executable_path/lib/libcodec2.1.2.dylib
Referenced from: <1C1BCBA5-45A6-3F58-B8F4-085296E9C887> /Applications/Reticulum [MeshChatX.app/Contents/Resources/backend/lib/pycodec2/pycodec2.cpython-314-darwin.so](http://meshchatx.app/Contents/Resources/backend/lib/pycodec2/pycodec2.cpython-314-darwin.so)
Reason: tried: '/Applications/Reticulum [MeshChatX.app/Contents/Resources/backend/lib/libcodec2.1.2.dylib](http://meshchatx.app/Contents/Resources/backend/lib/libcodec2.1.2.dylib)' (no such file)
Checklist
- [x] I searched existing issues to avoid duplicates
- [x] I included my MeshChatX version and operating system
Looks like this is already fixed in master. Is another release coming soon?
Yes, fixing a few more things.
Should be fixed in v4.8.4 and above, if not please let me know. I have no way to test it.
Faced this issue (macOS 15.2) at current last commit.
For me it helped to do brew install codec2 and run uv sync the following way during installing from sources at step through UV / pnpm myself:
CPATH="$(brew --prefix codec2)/include" LIBRARY_PATH="$(brew --prefix codec2)/lib" uv sync
Without that it silently crashes, including Docker.
Fixed in v4.9.2