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

briefcase run web shows blank page -- resource is blocked by OpaqueResponseBlocking?? #2094

Open
debboutr opened this issue Dec 24, 2024 · 1 comment
Labels
bug A crash or error in behavior.

Comments

@debboutr
Copy link

Describe the bug

I am just getting a blank web page when trying to run briefcase run web. I've found this error in devtools

image

and a mention in Firefox console:
A resource is blocked by OpaqueResponseBlocking, please check browser console for details. pyscript.css

Steps to reproduce

Follow the tutorial, Everything else worked fine but this is where I got held up.

Expected behavior

I was hoping to see the website as it looks in the tutorial or on the android emulator

Screenshots

No response

Environment

  • Operating System: Pop!OS 22.04
  • Python version: 3.10.12
  • Software versions:
    • Briefcase: 0.3.20
    • Toga: 0.4.8
    • ...

Logs


Additional context

No response

@debboutr debboutr added the bug A crash or error in behavior. label Dec 24, 2024
@freakboy3742
Copy link
Member

Thanks for the report.

It appears that we've been caught out by PyScript's release process. We haven't updated the web backend for a while, and we've been relying on the latest release tag. They formally deprecated the use of this tag a little over a year ago ... and at some point in the last couple of days, they removed the latest code from their CDN.

The good news is that this has already been addressed (in beeware/briefcase-web-static-template#16); the bad news is that we need to publish an update to Briefcase to make this change available (or you need to install the in-development version of Briefcase).

I was hoping to cut a new release early in the new year when I'm back in the office after a Christmas break. In the meantime, I can only apologise for the inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A crash or error in behavior.
Projects
None yet
Development

No branches or pull requests

2 participants