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

Datagrid examples don't work #1364

Open
sidviny opened this issue May 8, 2024 · 3 comments
Open

Datagrid examples don't work #1364

sidviny opened this issue May 8, 2024 · 3 comments
Labels
question Further information is requested

Comments

@sidviny
Copy link

sidviny commented May 8, 2024

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.

@cpsievert
Copy link
Collaborator

cpsievert commented May 8, 2024

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

@schloerke schloerke added question Further information is requested and removed needs-triage labels May 8, 2024
@sidviny
Copy link
Author

sidviny commented May 13, 2024

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

image

image

image

@sidviny
Copy link
Author

sidviny commented May 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants