posit-dev/py-shiny

Datagrid examples don't work

sidviny opened this issue · 3 comments

Hi,

I'm running an app that was created with "shiny create" -> "dashboard example". That app works seems to start up nicely, but it does not show the datagrid.

The reason behind this, is most likely this: there are errors in the Javascript console (Google Chrome) telling that the mime type is not correct. I attached a screenshot.

Capture

I have tested with both Shiny core as Shiny express. Both samples of the datagrid (core / express) seem to have the same problem.

I'm unable to replicate this -- would you mind including another screenshot of what you see when going to the "Network" tab and select the "data-frame.js" file? I'm mainly interested in the response headers. This is what I see:

Screenshot 2024-05-08 at 10 53 23 AM

Hi, sorry for the late response. Long weekend here in Belgium ...

image

image

image

Further information:

I'm running on Windows, with a conda environment created as local admin because I need to write in c:\ProgramData\Miniconda3, which is by default protected by our company.

Strangely, I have also a WSL environment on the same machine. When I run this in a conda environment that is rebuild with the same packages, and I run it from WSL, I do get to see the data-view.

Here's the same info as above, but when started from WSL

image

image