MeshChatX icon indicating copy to clipboard operation
MeshChatX copied to clipboard

[Bug]: MacOS LXST Codec2 Broken

Open Sudo-Ivan opened this issue 3 months ago • 5 comments

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

  1. 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

Sudo-Ivan avatar Aug 15 '26 19:08 Sudo-Ivan

Looks like this is already fixed in master. Is another release coming soon?

ronandi avatar Aug 19 '26 20:08 ronandi

Yes, fixing a few more things.

Sudo-Ivan avatar Aug 19 '26 20:08 Sudo-Ivan

Should be fixed in v4.8.4 and above, if not please let me know. I have no way to test it.

Sudo-Ivan avatar Aug 21 '26 20:08 Sudo-Ivan

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.

gralexey avatar Sep 03 '26 16:09 gralexey

Fixed in v4.9.2

Sudo-Ivan avatar Sep 28 '26 13:09 Sudo-Ivan