App crashes due to port file not being read
complete
Oisho Tamam
I get an error like this:
[2024-08-01][18:24:30][INFO][plugin_runtime::nodejs] Starting plugin runtime
→ port_file=/tmp/6ad92fW8Ja
→ plugins_dir=/usr/lib/yaak-app/plugins
→ runtime_dir=/usr/lib/yaak-app/plugin-runtime/index.cjs
Waiting on plugin runtime
thread 'main' panicked at /home/runner/work/app/app/src-tauri/tauri-plugin-plugin-runtime/src/nodejs.rs:86:13:
Failed to read port file in time
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'tokio-runtime-worker' panicked at /home/runner/work/app/app/src-tauri/tauri-plugin-plugin-runtime/src/nodejs.rs:76:14:
Kill channel errored: RecvError(())
My device is a Fedora KDE running on an intel CPU. I've tried both the latest version and the stable version. They both give the same issue.
If there is any other info I can provide to help, let me know. I'm happy to help
Gregory Schier
complete
This should hopefully be fixed in the latest beta. I wasn't able to reproduce but the plugin system was refactored and no longer requires writing the port file https://yaak.app/blog/2024.8.0-beta.1
Gregory Schier
planned
My only guess is it's failing to write to /tmp/ for some reason? Regardless, I'm going to update this to not require a port file. Watch out for a fix soon.
J
Jean Valjean
Exact same problem on Fedora 40 Gnome. From RPM & .AppImage