PWA doesn't install
Description
Steps to Reproduce
- Go to '....'
- Click on '....'
- Scroll down to '....'
- See error
Additional Information
Affected Websites
- ...
- ...
Environment
- Operating system:Windows 7
- System architecture:
- Desktop environment:
- Installation method:
- PWAsForFirefox extension version:
- PWAsForFirefox native version:
- PWAsForFirefox runtime version:
- Firefox version:115esr
- Errors:
- Error in parsing value for ‘white-space’. Declaration dropped. 4 manage.html
Uncaught (in promise) Error: An unexpected error occurred undefined
$ moz-extension://a74677a2-c513-4f4e-bd82-c7a2ebdd9dc1/sites/manage.216686a6.js:1
AsyncFunctionThrow self-hosted:856
(Async: async)
moz-extension://a74677a2-c513-4f4e-bd82-c7a2ebdd9dc1/sites/manage.216686a6.js:1 Uncaught (in promise) Error: An unexpected error occurred undefined moz-extension://a74677a2-c513-4f4e-bd82-c7a2ebdd9dc1/sites/manage.216686a6.js:1 AsyncFunctionThrow self-hosted:856 (Async: async) moz-extension://a74677a2-c513-4f4e-bd82-c7a2ebdd9dc1/sites/manage.216686a6.js:1 Uncaught (in promise) Error: An unexpected error occurred undefined D moz-extension://a74677a2-c513-4f4e-bd82-c7a2ebdd9dc1/sites/manage.216686a6.js:1 AsyncFunctionThrow self-hosted:856 (Async: async) moz-extension://a74677a2-c513-4f4e-bd82-c7a2ebdd9dc1/sites/manage.216686a6.js:1 Uncaught (in promise) Error: An unexpected error occurred undefined H moz-extension://a74677a2-c513-4f4e-bd82-c7a2ebdd9dc1/sites/manage.216686a6.js:1 AsyncFunctionThrow self-hosted:856 (Async: async) H moz-extension://a74677a2-c513-4f4e-bd82-c7a2ebdd9dc1/sites/manage.216686a6.js:1 InterpretGeneratorResume self-hosted:1455 AsyncFunctionNext self-hosted:852 (Async: async) moz-extension://a74677a2-c513-4f4e-bd82-c7a2ebdd9dc1/sites/manage.216686a6.js:1 Error in parsing value for ‘white-space’. Declaration dropped. 4 manage.html Uncaught (in promise) Error: An unexpected error occurred undefined Uncaught (in promise) Error: An unexpected error occurred undefined Uncaught (in promise) Error: An unexpected error occurred undefined Uncaught (in promise) Error: An unexpected error occurred undefined Error in parsing value for ‘white-space’. Declaration dropped. 4 install.html XHRGET https://www.ecosia.org/static/manifest.json [HTTP/2 200 OK 480ms]
Uncaught (in promise) Error: An unexpected error occurred undefined
When did this error happen? If it happened when installing a PWA, please check if it works with other websites. Also, please provide the native logs.
i don't have runtime installed i think how can i do that
Well, opening PWAsForFirefox popup should show you the setup page if the native program and runtime are not already installed. If it didn't open for some reason, you can manually open moz-extension://c7c2a08c-f45b-440d-80c7-c96aebfc80f1/setup/install.html. Then, follow the instructions to install the native program and runtime.
i can't seem to open that for some reason
Oh, the extension UUID might be unique for each installation, so that URL won't work. Instead, try to go to about:debugging#/runtime/this-firefox (copy and paste it, clicking won't work), find Progressive Web Apps for Firefox in the list, and click on the manifest URL:
Then, in that URL, replace manifest.json with setup/install.html.
Also, I've noticed that you are using Windows 7. Rust no longer supports Windows 7 in the default target, so it's possible that the native program won't work. If this is the case, you will have to download Rust (version 1.77.1, for example, this one, as newer versions don't support Windows 7), clone the repository and build it yourself. You can see the instructions here. However, Windows 7 is not tested and supported officially, so things may not work properly.
I can't install any PWA in Arch Linux.
What exactly happens? Please provide the extension and native logs.
What exactly happens? Please provide the extension and native logs.
The extension doesn't show the "Install" button when I try to install a website, it seems like the extension prompt is being cut-off. I have tried it on multiple Arch distros both the KDE and GNOME DEs so I think the issue has nothing to do with the DEs, but it's the same. It works on my Ubuntu installation though.
Do you have fractional scaling enabled? There are some issues with cut-off extension popup when it's enabled for some reason. see #230 and #503.
Also, you can try to zoom in/out in the popup by pressing Ctrl and scrolling with the scrollwheel. Maybe the button will appear...
Do you have fractional scaling enabled? There are some issues with cut-off extension popup when it's enabled for some reason. see #230 and #503.
Also, you can try to zoom in/out in the popup by pressing Ctrl and scrolling with the scrollwheel. Maybe the button will appear...
You're right, it's because of the fractional scaling.
I think the original issue happened because Windows 7 is no longer supported, so I will close it. If it also happens on supported systems, please let me know.