PWAsForFirefox icon indicating copy to clipboard operation
PWAsForFirefox copied to clipboard

PWA doesn't install

Open hollerknight opened this issue 1 year ago • 11 comments

Description

Steps to Reproduce

  1. Go to '....'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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

hollerknight avatar Jun 22 '24 18:06 hollerknight

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.

filips123 avatar Jun 22 '24 21:06 filips123

i don't have runtime installed i think how can i do that

hollerknight avatar Jun 23 '24 11:06 hollerknight

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.

filips123 avatar Jun 23 '24 16:06 filips123

i can't seem to open that for some reason

hollerknight avatar Jun 23 '24 18:06 hollerknight

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:

slika

Then, in that URL, replace manifest.json with setup/install.html.

filips123 avatar Jun 23 '24 19:06 filips123

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.

filips123 avatar Jun 23 '24 19:06 filips123

I can't install any PWA in Arch Linux.

NiffirgkcaJ avatar Jun 27 '24 17:06 NiffirgkcaJ

What exactly happens? Please provide the extension and native logs.

filips123 avatar Jun 27 '24 17:06 filips123

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.

NiffirgkcaJ avatar Jun 28 '24 09:06 NiffirgkcaJ

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...

filips123 avatar Jun 28 '24 11:06 filips123

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.

NiffirgkcaJ avatar Jun 28 '24 13:06 NiffirgkcaJ

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.

filips123 avatar Jul 10 '24 18:07 filips123