posit-dev / py-shiny

Shiny for Python
https://shiny.posit.co/py/
MIT License
1.3k stars 78 forks source link

Issue rendering data frame with Safari #1245

Open Marionina opened 7 months ago

Marionina commented 7 months ago

I canot render a simple dataframe with safari, even the overview on the official website. Capture d’écran 2024-03-22 à 10 02 28 image It works well with Chrome.

wch commented 7 months ago

With the Shinylive app, when you open the JavaScript console, does it show any errors? (Click on Develop in the menu bar, then Show JavaScript Console.)

This is what it looks like for me:

image
Marionina commented 7 months ago

This is what it looks like for me: image Many thanks

karangattu commented 7 months ago

Can you list the Safari version that you are using Safari > About Safari ? Thank you.

wch commented 7 months ago

Wow, that is very strange. I wonder if Safari somehow received and cached a broken build of dataframe.js. I have reset the cache on our hosting provider. Please try clearing your browser cache and reloading that app.

Marionina commented 7 months ago

Can you list the Safari version that you are using Safari > About Safari ? Thank you.

Capture d’écran 2024-04-02 à 17 03 30
Marionina commented 7 months ago

Wow, that is very strange. I wonder if Safari somehow received and cached a broken build of dataframe.js. I have reset the cache on our hosting provider. Please try clearing your browser cache and reloading that app.

It doesn't work after clearing my browser cache.

karangattu commented 7 months ago

Can you list the Safari version that you are using Safari > About Safari ? Thank you.

Capture d’écran 2024-04-02 à 17 03 30

Interesting.. Is there any way you could upgrade macOS version to latest, that would bump the safari version to v17.x which should fix the issue.

karangattu commented 7 months ago

Tested it on an older version of Safari v16.6 and it seems to be working fine.

Shiny_editor
sidviny commented 6 months ago

Actually, I experience the same problem on a Windows machine with Edge and unfortunately also Chrome.

I have the idea that when I start the application, some libraries are downloaded when running the first time. I am stuck behind a very restrictive firewall. pip for example needs the ssl workaround or I can't download. I suppose it could be with that ?