Flutter can't run a binary from /app/bin (original) (raw)
February 17, 2024, 2:54pm 1
What could be the reason for this error?
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: ProcessException: No such file or directory
Command: /app/bin/qrcp -i wlo1 receive
$ ls -la .local/share/flatpak/app/io.github.faveoled.qrshare/current/active/files/bin/qrcp
-rwxr-xr-x 2 user user 10350592 Jan 1 1970 .local/share/flatpak/app/io.github.faveoled.qrshare/current/active/files/bin/qrcp
chrisaw (Chris Williams) February 17, 2024, 4:41pm 2
Are you able to run it directly?
flatpak run --command=qrcp io.github.faveoled.qrshare
If not, sometimes ENOENT isn’t referring to the file you’re trying to execute. For example, it may be referring to the loader if this is a 32-bit executable and you didn’t enable the i386 compat extension in your flatpak.
It’s also possible that the API you’re using doesn’t expect to get a command line string, so it’s trying to execute a file called qrcp -i wlo1 receive
. There’s probably a better venue for that discussion though; I don’t think Flutter is particularly relevant to GNOME.
faveoled (Fave Oled) February 17, 2024, 6:37pm 3
This runs fine.
Works without Flatpak
system (system) Closed March 18, 2024, 6:37pm 4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.