-
Notifications
You must be signed in to change notification settings - Fork 72
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
Assertion error in Safari, unless the Web Inspector is open #189
Comments
Interesting! No, I have not seen that error before. I think I will need to reproduce so as to learn more. Your demo website seems to be working for me OK now, running in Safari 16.3 and Safari Tech Preview 16.4. Did you change something? If not, which version of Safari are you currently running? |
In Version 16.3 (18614.4.6.1.6) on Ventura (latest stable) I too do not see
an assertion error.
…On Thu, Apr 6, 2023 at 10:00 AM George Stagg ***@***.***> wrote:
Interesting! No, I have not seen that error before. I think I will need to
reproduce so as to learn more.
Your demo website seems to be working for me OK now, running in Safari
16.3 and Safari Tech Preview 16.4. Did you change something? If not, which
version of Safari are you currently running?
—
Reply to this email directly, view it on GitHub
<#189 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD4PNSZP5NAGPB3KBWNILTW73D6JANCNFSM6AAAAAAWTIE7PY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Odd! It's working fine for me now as well. Feel free to close the issue and I'll be back in case it pops up again. |
Coincidentally, I just started it up and I have the problem again. Same Netlify link. Running Safari Version 16.4 (18615.1.26.11.23 and Ventura 13.3.1 (22E261). |
Still no assertion error here, but I've reopened so we can track this. |
Thanks. I just tried it on the most recent version of Safari Technology Preview, but same issue. No issue on my iPad though. |
I have since taken down the website where I had the issue. I've been messing around with another example and I ran into the same issue. Hosted page: https://main--unrivaled-cranachan-f0332f.netlify.app |
@WillemSleegers might be worth another try. I had the same issue on Safari 16.5.2 (18615.2.9.11.10), but since today I don't get the error anymore |
I have a hunch that this is related to CloudFront caching of webr.r-wasm.org and mismatched versions of the webR TypeScript library and the R.bin.wasm WebAssembly binary being used together, but I have no real evidence. That would explain the transient nature, if it is the case then the problems would go away once CloudFront's caches are all back in sync with the backing storage. I guess the right thing to do would be to tweak our CI scripts to force a cache invalidation on webr.r-wasm.org/latest whenever a new commit is pushed to |
Any updates on this? I have a single HTML file that runs fine in Chrome and Edge, but I'm getting messages similar to @WillemSleegers in Safari. My webR code starts like this:
|
Yeah I also still get those messages. Would be nice to resolve that. |
The @baogorek Does your code run any computation with webR after |
@georgestagg , here's an example: https://github.com/baogorek/Miscellaneous/blob/master/R-code/hello-webR.html I just reallized it halfway works on Safari. On Chrome, you'll see the attached image, although there is a few seconds delay to get the plot. On Safari, you'll see the "Hello, World! x= 12" from the first R code block, but the second part of the block - the plotting portion - failed. So it looks like the problem is related to displaying the image:
Sorry that it looks like those messages were a red herring, but I guess it did make debugging more challenging. Let me know if you want me to start another issue. |
No worries, I understand.
Yes, that is probably a good idea. When you open the issue please add what version of Safari you see the problems with (Safari -> About Safari in the top menu will tell you). Older versions of Safari didn't support a feature called |
I'm having a weird bug that WebR produces an assertion error in Safari but not if I open the Web Inspector. If I have the inspector open, refresh the page, it all works fine. It also works fine in Chrome. Any clues as to what may cause an error like this?
A screenshot of the error message:
A link to the hosted page:
https://642c95d6d914dd11c91843b1--webr-template.netlify.app
Link to the code:
https://github.com/WillemSleegers/webr-template
The text was updated successfully, but these errors were encountered: