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
{{ message }}
Repository navigation
Failed to open file: Error: Server failed to start #136
The bug is similar to #120 but I'm on MacOS 26.3.1 (a) version. Running rustfava -p 5009 main.bean also failing after update to latest version uv tool upgrade rustfava with error share/uv/tools/rustfava/lib/python3.13/site-packages/rustfava/rustledger/engine.py", line 164, in _rpc_call raise RustledgerError(f"Empty response: {error_msg}") rustfava.rustledger.engine.RustledgerError: Empty response: rustledger-ffi-wasi - Rustledger FFI via WASI (JSON API for embedding)
The crash comes from the legacy JSON-RPC backend, which runs rledger by spawning a wasmtime CLI subprocess. On macOS that bundled binary is blocked by Gatekeeper/quarantine (note you had to xattr -d com.apple.quarantine), so the subprocess produces no output and you get Empty response: rustledger-ffi-wasi (and, in the desktop app, "Server failed to start").
This is already fixed on main: the default backend is now the in-process Component-Model engine (loaded via wasmtime-py, no subprocess), so there's no external binary for Gatekeeper to block. Your reports are from v1.30.12, which predates that change — the fix reaches you in the next release (uv tool upgrade rustfava once it's out, or a new desktop build).
#187 additionally makes the remaining legacy/fallback failures actionable (the "Empty response" / "wasmtime not found" messages now explain the cause and point at the component backend), so if anything still goes wrong you get guidance instead of a cryptic error.
I'll leave this open until a release with the component default ships; if you'd like to verify sooner, a pip install from main (or a pre-release build) should resolve it.
Fixed in v1.30.13 (just released — PyPI, Docker, Nix, and the desktop .dmg). The default backend is now the in-process Component-Model engine (rustledger v0.16.5): it loads via wasmtime-py and runs in-process, so there is no wasmtime subprocess for macOS Gatekeeper to block — which was the root cause of the "Server failed to start" / "Empty response" errors.
Activity
vsenn commentedon May 7, 2026
The bug is similar to #120 but I'm on MacOS 26.3.1 (a) version. Running
rustfava -p 5009 main.beanalso failing after update to latest versionuv tool upgrade rustfavawith errorshare/uv/tools/rustfava/lib/python3.13/site-packages/rustfava/rustledger/engine.py", line 164, in _rpc_call raise RustledgerError(f"Empty response: {error_msg}") rustfava.rustledger.engine.RustledgerError: Empty response: rustledger-ffi-wasi - Rustledger FFI via WASI (JSON API for embedding)fix(engine): actionable errors when the legacy backend can't start (#136
robcohen commentedon Jun 19, 2026
Root cause + fix status
The crash comes from the legacy JSON-RPC backend, which runs rledger by spawning a
wasmtimeCLI subprocess. On macOS that bundled binary is blocked by Gatekeeper/quarantine (note you had toxattr -d com.apple.quarantine), so the subprocess produces no output and you getEmpty response: rustledger-ffi-wasi(and, in the desktop app, "Server failed to start").This is already fixed on
main: the default backend is now the in-process Component-Model engine (loaded viawasmtime-py, no subprocess), so there's no external binary for Gatekeeper to block. Your reports are from v1.30.12, which predates that change — the fix reaches you in the next release (uv tool upgrade rustfavaonce it's out, or a new desktop build).#187 additionally makes the remaining legacy/fallback failures actionable (the "Empty response" / "wasmtime not found" messages now explain the cause and point at the component backend), so if anything still goes wrong you get guidance instead of a cryptic error.
#120 is the same issue — consolidating there.
I'll leave this open until a release with the component default ships; if you'd like to verify sooner, a
pip installfrommain(or a pre-release build) should resolve it.fix(engine): actionable errors when the legacy backend can't start (#136
robcohen commentedon Jun 19, 2026
Fixed in v1.30.13 (just released — PyPI, Docker, Nix, and the desktop
.dmg). The default backend is now the in-process Component-Model engine (rustledger v0.16.5): it loads viawasmtime-pyand runs in-process, so there is nowasmtimesubprocess for macOS Gatekeeper to block — which was the root cause of the "Server failed to start" / "Empty response" errors.To get the fix:
uv tool upgrade rustfava(oruv tool install rustfava).dmgfrom ReleasesPlease reopen if it still fails on v1.30.13 — that would be a genuinely new failure mode (the subprocess is gone) and I'd want the details.