Closed Kreyren closed 2 years ago
The error probably happend when FirefoxPWA tried to launch your IceCat runtime, but for some reason the binary didn't exist. Can you check if all required runtime files (firefox
and application.ini
) are in the correct directory? Or maybe this is caused by symlinks you did to link your IceCat installation to FiefoxPWA.
Can you check if all required runtime files (firefox and application.ini) are in the correct directory? Or maybe this is caused by symlinks you did to link your IceCat installation to FiefoxPWA. -- @filips123 (https://github.com/filips123/FirefoxPWA/issues/91#issuecomment-986016633)
Can you elaborate? I've symlinked only firefox and firefox-bin to the output of command -v icecat
and executing the symlinks opens icecat.
FWIW Guix should already handle the required dependencies for the executables.
Unfortunately, I don't have much experience with Guix. I thought it may be a problem with symlinks, but if you can execute them directly, it's probably not.
Normally, FirefoxPWA expects that ~/.local/share/firefoxpwa/runtime/
contains completely standalone Firefox installation. It uses application.ini
to determine its version and firefox
binary to launch it. Before launching, it also copies some files to the runtime directory so Firefox can load the required UI modifications.
On Ubuntu, for example, symlinking only application.ini
and firefox
binary to globally-installed Firefox won't work, because launching the binary would fail with "Couldn't load XPCOM". Even though Guix seems to be able to correctly handle launching from symlinks, something still causes FirefoxPWA to fail.
I'm not sure how to debug this. Maybe you could try to use strace -f firefoxpwa site launch ...
to check if there are any interesting system calls, or modify this code which is used for launching runtime binary and try to debug it somehow. Unfortunately, I won't have much time to debug this until around December 15th, but if you won't be able to solve this yourself until then, I will try to install Guix myself and debug it.
Closing in favor of https://github.com/filips123/FirefoxPWA/issues/90 as solution to use native icecat to avoid this issue
Description
Refuses to open the website with
No such file or directory (os error 2)
in both icecat and CLIFollowing https://github.com/filips123/FirefoxPWA/wiki/Troubleshooting:
glibc-2.31
-> Same issuefirefoxpwa-stderr.log
Steps to Reproduce
Additional Information
OS: GNU Guix Nix/Linux
with GNU IceCat
Affected Websites
Environment
config.scm
used to build the system usingguix system reconfigure config.scm
from guix installer:Hypothesis
I assume that this is an issue caused by either icecat of Nix's file hierarchy.
You should be able to install
guix
package on majority of linux/hurd distributions and then justguix pull && guix install icecat
should provide the environment, note https://github.com/filips123/FirefoxPWA/pull/88 used to provide the dependencies to build the project.CC @filips123