I began to use Quarto generate pdf files one or two months ago. It works well until I encountered “ERROR: No inspectable targets” today. Following are relevant info
Operating system: Windows 11 with vscode with quarto 1.2.280
Works well to generate html files but fails in generating pdf files
It seems that problem arose in generating mermaid and dot diagrams because it works well after I delete relevant parts.
It is a strange error because I don’t modify any relevant setting recently. Much thanks for your help.
cderv
March 6, 2023, 11:42pm
2
This is probably an issue with recent Chrome browser version. You can follow along at
opened 09:13PM - 06 Mar 23 UTC
bug
windows
mermaid
### Bug description
Hello,
Í'm using:
- Latest version of R (4.2.2)
- Late… st version of Rstudio (2022.12.0 Build 353)
- Latest Quarto (version 1.2.335)
- Windows 10 Enterprise 22H2
When rendering a PDF from a .QMD-file containing a Mermaid diagram [(https://quarto.org/docs/authoring/diagrams.html)](https://quarto.org/docs/authoring/diagrams.html), my Rstudio gives the error "ERROR: No inspectable targets" and crashes (I'm unable to press stop).
In the past the same .QMD file rendered to PDF without any problem. Rendering to .HTML still works. The same error was recently reported by an Obsidian user: [https://forum.obsidian.md/t/about-quarto-no-inspectable-targets-error/54757](https://forum.obsidian.md/t/about-quarto-no-inspectable-targets-error/54757).
The .QMD-file i'm using can be found in the attached .ZIP (Github doesn't allow uploading QMD's directly, therefore I zipped).
Thanks for the good work!
Best,
Thomas
[testdia.zip](https://github.com/quarto-dev/quarto-cli/files/10902790/testdia.zip)
### Checklist
- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
Using chromium binary you can install with quarto install tools chromium
should work. This require Quarto v1.3 latest pre-release
We are looking into the issue.
Also for Quarto issue, best is to report in Quarto repo as issue or even question in discussion board (quarto-dev/quarto-cli · Discussions · GitHub · GitHub )