quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.87k stars 317 forks source link

Dashboard Error #7685

Open sophiestrazie opened 11 months ago

sophiestrazie commented 11 months ago

Bug description

When I try using the dashboard feature in my Quarto website to showcase my portfolio, I get an error.

Screenshot 2023-11-22 at 7 00 28 PM

Steps to reproduce

---
title: "Quantitative"
format: dashboard
---

Expected behavior

Renders an empty dashboard.

Actual behavior

Renders and creates an error message

Your environment

Quarto check output

Quarto 1.4.510
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.9: OK
      Dart Sass version 1.69.5: OK
      Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.4.510
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: Installation From Path
      Path: /Library/TeX/texbin
      Version: 2020

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.9.13 (Conda)
      Path: /Applications/anaconda3/bin/python
      Jupyter: 5.3.0
      Kernels: python3, ir

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.2.2
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.2/Resources/library
      knitr: 1.45
      rmarkdown: 2.25

[✓] Checking Knitr engine render......OK
cderv commented 11 months ago

When I try using the dashboard feature in my Quarto website to showcase my portfolio,

Can you share more about your complete case ? It seems you are using it in website context ?

Because if I just run

---
title: "Quantitative"
format: dashboard
---

I correcly get an empty dashboard

image

sophiestrazie commented 11 months ago

Dear Mr.Dervieux,

What specific information can I provide which would help you?

Best,

Sophie Strassmann-Peña

(she/her)

--

Schedule a meeting herehttps://calendly.com/sophie-strassmann/professional-sixty-minutes-mon-fri-9am-5pm with Calendly

No confirmation needed!

--


From: Christophe Dervieux @.> Sent: Thursday, November 23, 2023 10:17 AM To: quarto-dev/quarto-cli @.> Cc: Sophie Strassmann @.>; Author @.> Subject: Re: [quarto-dev/quarto-cli] Dashboard Error (Issue #7685)

When I try using the dashboard feature in my Quarto website to showcase my portfolio,

Can you share more about your complete case ? It seems you are using it in website context ?

Because if I just run


title: "Quantitative" format: dashboard

I correcly get an empty dashboard

[image]https://user-images.githubusercontent.com/6791940/285249350-5c8b08f1-4a84-4209-9be9-7d99d13f8906.png

— Reply to this email directly, view it on GitHubhttps://github.com/quarto-dev/quarto-cli/issues/7685#issuecomment-1824600604, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATQHXQAQYXFYHIGN6BTU5VTYF5SH3AVCNFSM6AAAAAA7X35RWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRUGYYDANRQGQ. You are receiving this because you authored the thread.Message ID: @.***>

cderv commented 11 months ago

What specific information can I provide which would help you?

Anything that allow us to reproduce what does not work for you. As you can see by running the example your shared for now, I can see no error.

If you have the issue, there must be other thing to know about your context, and how to reproduce this. I am asking especially because you are talking website project.

sophiestrazie commented 11 months ago

For sure, feel free to replicate these results with a quarto website on a laptop with my configuration. I'm not an engineer so I don't know how you simulate these results. Let me know if you have any specific questions I can help with!

Best,

Sophie Strassmann-Peña

(she/her)

--

Schedule a meeting herehttps://calendly.com/sophie-strassmann/professional-sixty-minutes-mon-fri-9am-5pm with Calendly

No confirmation needed!

--


From: Christophe Dervieux @.> Sent: Thursday, November 23, 2023 12:22 PM To: quarto-dev/quarto-cli @.> Cc: Sophie Strassmann @.>; Author @.> Subject: Re: [quarto-dev/quarto-cli] Dashboard Error (Issue #7685)

What specific information can I provide which would help you?

Anything that allow us to reproduce what does not work for you. As you can see by running the example your shared for now, I can see no error.

If you have the issue, there must be other thing to know about your context, and how to reproduce this. I am asking especially because you are talking website project.

— Reply to this email directly, view it on GitHubhttps://github.com/quarto-dev/quarto-cli/issues/7685#issuecomment-1824753346, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATQHXQGWLWOM7OIIJNO3IALYF6A35AVCNFSM6AAAAAA7X35RWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRUG42TGMZUGY. You are receiving this because you authored the thread.Message ID: @.***>

cderv commented 11 months ago

Thanks for replying quickly and baring with me. This is not an engineer thing - just a user (you) guiding another user (me), so that I can try reproduce the issue. Let me guide you with questions:

In the meantime I'll try on my windows machine inside an empty website. Having more information will help though.

Thank you Sophie !

mcanouil commented 11 months ago

Is the issue happening only when using Quarto inside RStudio?

cderv commented 11 months ago

In the meantime I'll try on my windows machine inside an empty website. Having more information will help though.

Yeah I can't reproduce adding into a demo website

project:
  type: website

website:
  title: "Demo"
  navbar:
    left:
      - href: index.qmd
        text: Home
      - href: about.qmd
        text: About

format:
  html: default

with this about.qmd file

---
title: "Quantitative"
format: dashboard
---

No error.

sophiestrazie commented 10 months ago

It seems like you're focused on the yml file. Does having my .yml file help you in any way?

Additionally, please let me know if there is a place where I can copy any traceback processes with specific error codes. I am not a developer so I do not know how to look for those.

If there is anything specific I can give you to help, please let me know.

Best,

Sophie Strassmann-Peña

(she/her)

--

Schedule a meeting herehttps://calendly.com/sophie-strassmann/professional-sixty-minutes-mon-fri-9am-5pm with Calendly

No confirmation needed!

--


From: Christophe Dervieux @.> Sent: Thursday, November 23, 2023 2:25 PM To: quarto-dev/quarto-cli @.> Cc: Sophie Strassmann @.>; Author @.> Subject: Re: [quarto-dev/quarto-cli] Dashboard Error (Issue #7685)

In the meantime I'll try on my windows machine inside an empty website. Having more information will help though.

Yeah I can't reproduce adding into a demo website

project: type: website

website: title: "Demo" navbar: left:

format: html: default

with this about.qmd file


title: "Quantitative" format: dashboard

No error.

— Reply to this email directly, view it on GitHubhttps://github.com/quarto-dev/quarto-cli/issues/7685#issuecomment-1824842637, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATQHXQDLH65CGRCCU24UXCDYF6PJ7AVCNFSM6AAAAAA7X35RWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRUHA2DENRTG4. You are receiving this because you authored the thread.Message ID: @.***>

cderv commented 10 months ago

@sophiestrazie I am just trying to help you by reproducing what you are seeing. And I need you to help me help you. No need to be a developer to answer.

It seems like you're focused on the yml file. Does having my .yml file help you in any way?

Anything that would help us know what you are doing is helpful. Usually, we are asking for reproducible example (https://quarto.org/bug-reports.html), the minimal the better. This is what I tried to by trying to run a demo dashboard, inside a Quarto website.

If this is not what you are doing, you need to explain to us (with your word and what you can share), what you are doing. Again, no need to be a developer.

Additionally, please let me know if there is a place where I can copy any traceback processes with specific error codes. I am not a developer so I do not know how to look for those.

If you have a error while rendering you can share that with us.

Otherwise, as you mentioned it, if you know how to, you can activate an environment variable to get a traceback to the error you get (https://quarto.org/docs/troubleshooting/#get-a-stack-trace).

Thanks for your patience - I would also invite you to upgrade to latest 1.4 version available regularly to see if the problem is fixed on your end. It could happen when using the pre-release build of Quarto.

github-actions[bot] commented 10 months ago

Thank you for using Quarto and reporting an issue!

Unfortunately, this issue is now considered stale because it has been opened since 14 days without providing a "working" reproducible example to help us investigate. If you are still facing the issue, please review the "Bug Reports" guide on how to provide a fully reproducible example as a self-contained Quarto document or a link to a Git repository. Without a reproducible example, it is unlikely that the issue will be addressed.

You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````).

````qmd
---
title: "Reproducible Quarto Document"
format: html
---

This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.

```{r}
plot(cars)

The end.