You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your setup
Version: 0.6.2
Operating System: MacOS Ventura (Intel-based iMac)
IDE / Integration:** VS Code – official Odoo Language Server extension
Describe the bug
When running the Odoo Language Server on an Intel-based macOS machine, the bundled macos_odoo_ls_server binary fails to launch with a CPU‐architecture mismatch. The output in the “Odoo Language Server” panel reads: Error: spawn Unknown system error -86 at ChildProcess.spawn (node:internal/child_process:420:11) at Object.spawn (node:child_process:796:9) at /Users/karizma/.vscode/extensions/odoo.odoo-0.6.2/client/out/main.js:113:32891 at async Dh.createConnection (/Users/karizma/.vscode/extensions/odoo.odoo-0.6.2/client/out/main.js:113:12653) at async Dh.start (/Users/karizma/.vscode/extensions/odoo.odoo-0.6.2/client/out/main.js:113:2940)
macOS reports “bad CPU type in executable” (EF_BADARCH, error code –86), indicating the shipped binary is compiled for ARM64 rather than x86_64.
To Reproduce
On an Intel-based Mac running macOS Ventura, install the Odoo Language Server extension v0.6.2 in VS Code.
Clone or open any Odoo 18.0 codebase folder.
Ensure your Python interpreter is set to a valid Odoo-18.0 virtual environment.
Reload VS Code or open the workspace; the extension will attempt to spawn the odoo-ls server.
Observe the spawn failure and the “Unknown system error –86” in the extension output.
Expected behavior
The Odoo Language Server should launch without any problems
Screenshots
Additional context
I configured odoo-ls with a cloned odoo 18.0 and a python venv.
The text was updated successfully, but these errors were encountered:
Hello,
Actually we are only packaging on some platforms for each OS.
On macos, we only compile it for ARM64 right now, because it is our development setup.
We still have to setup a full crosscompilation setup for each platform, and we will do that before the official release of course.
Before that, you can stilll compile the code yourself (clone the repository, launch "cargo --build -r", then copy and rename the produce executable (target/release/odoo_ls_server) to your extension installation (something like $HOME/.vscode/extension/odoo/mac_odoo_ls_server).
Unfortunately that's the only way to use the extension for now on this platform/os.
If you need help to build the executable, do not hesitate to ask here, I would be glad to help you
Your setup
Version: 0.6.2
Operating System: MacOS Ventura (Intel-based iMac)
IDE / Integration:** VS Code – official Odoo Language Server extension
Describe the bug
When running the Odoo Language Server on an Intel-based macOS machine, the bundled
macos_odoo_ls_server
binary fails to launch with a CPU‐architecture mismatch. The output in the “Odoo Language Server” panel reads:Error: spawn Unknown system error -86 at ChildProcess.spawn (node:internal/child_process:420:11) at Object.spawn (node:child_process:796:9) at /Users/karizma/.vscode/extensions/odoo.odoo-0.6.2/client/out/main.js:113:32891 at async Dh.createConnection (/Users/karizma/.vscode/extensions/odoo.odoo-0.6.2/client/out/main.js:113:12653) at async Dh.start (/Users/karizma/.vscode/extensions/odoo.odoo-0.6.2/client/out/main.js:113:2940)
macOS reports “bad CPU type in executable” (EF_BADARCH, error code –86), indicating the shipped binary is compiled for ARM64 rather than x86_64.
To Reproduce
odoo-ls
server.Expected behavior
The Odoo Language Server should launch without any problems
Screenshots

Additional context
I configured
odoo-ls
with a cloned odoo 18.0 and a python venv.The text was updated successfully, but these errors were encountered: