-
Notifications
You must be signed in to change notification settings - Fork 336
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
"Couldn't find open server" for diagram in pdf/docx #10573
Comments
Unfortunately, I don't think this is a Quarto bug. I suspect something changed in the way your Chrome installation works (or communicates with the window server). |
In case anyone else is having this issue: My workaround is to remove quarto-cli/src/core/cri/cri.ts Line 85 in 09c61d5
At some point, |
I started getting a similar error this morning. Key features:
This command fails (error below):
work around: This command works without errors
More details. This command:
takes a LONG time to complete, then finally drops this error:
Here is the quarto check:
|
@jleonard99 We need a full example rather than a description of one. Can you create a minimal git repository from which |
Hi @cscheid - I've put together a minimal repo: https://github.com/LJFRIESE/mermaid_example Preview will work, render will fail. Removing the docx format will let render succeed. Same if docx is replaced with pdf. |
I think this and #10626 are duplicates. |
Looks like this workaround is now implemented in #10627.
|
This would have caught the issues reported in quarto-dev#10573 and quarto-dev#10626. It should help identifying if similar issues arise through a change in the chromium cli arguments.
I use 1.5.57 and 1.6.9 to render Documents that contain mermaid diagrams, still get this error. |
+1, tested on 1.6.8 and got the same errors. |
I'm getting this same error PDF render with dot graphs with Quarto 1.6.10 and Chrome version 128.0.6613.138. (also tried forcing deno.exe to version 1.46.3). (On Windows 11)
|
@javajon please format correctly code in your issue post, this will make it easier to read.
An advice: Don't try to force a deno version to solve an issue. Not a good idea and can mess up more that it is. Regarding the chrome issue, I can't reproduce on my side (windows 11) too, so this will be hard to debug BTW chrome is now 129.0.6668.59 for me. So there are some differences in environment somehow. I think we'll need to add more debug info to this error |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@javajon yes, that's an unrelated bug to this one. |
I got this error, when using Chrome 130.0.6723.59 , and Quarto 1.6.29, macos 15.0.1
|
Bug description
Documents that contain mermaid diagrams don't render for docx / pdf anymore, while the html output still works. This used to work fine until last week.
Maybe unrelated, but at the same time I started seeing this issue, I saw a second error about a missing xdg fileChooser. I solved this by installing additional packages, namely
xdg-desktop-portal-termfilechooser
. It was curious that both errors started showing up at the same time.I tested this in quarto-1.6.5 and quarto-1.5.56 with similar results.
Steps to reproduce
This
document.qmd
produces an html output, but generates errors for docx or pdf formatsThis works:
This fails:
Expected behavior
I would expect a
document.docx
file.Actual behavior
Your environment
quarto install chromium
with Chromium 869685Quarto check output
The text was updated successfully, but these errors were encountered: