Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PWA doesn't install #519

Closed
hollerknight opened this issue Jun 22, 2024 · 12 comments
Closed

PWA doesn't install #519

hollerknight opened this issue Jun 22, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@hollerknight
Copy link

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 hollerknight added the bug Something isn't working label Jun 22, 2024
@filips123
Copy link
Owner

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.

@hollerknight
Copy link
Author

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

@filips123
Copy link
Owner

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.

@hollerknight
Copy link
Author

i can't seem to open that for some reason

@filips123
Copy link
Owner

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
Copy link
Owner

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.

@NiffirgkcaJ
Copy link

I can't install any PWA in Arch Linux.

@filips123
Copy link
Owner

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

@NiffirgkcaJ
Copy link

NiffirgkcaJ commented Jun 28, 2024

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.

@filips123
Copy link
Owner

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

@NiffirgkcaJ
Copy link

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.

@filips123
Copy link
Owner

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 filips123 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants