Chromium tool should be used by default if installed #13292
Replies: 5 comments 9 replies
-
Thanks for considering this! It was a brutal process tracking this issue down. Hopefully it is easy enough to flip for quarto 1.8 if you agree with the suggestion. |
Beta Was this translation helpful? Give feedback.
-
Yes.
That's the logic for the environment variable, see below an extract of my
|
Beta Was this translation helpful? Give feedback.
-
Gotcha. The short answer is Yes, I think that if someone went through the trouble of installing the The tool might be outdated, but the system ones crashed on both my macOS and the GitHub CI! |
Beta Was this translation helpful? Give feedback.
-
I am so sorry but I coudlnt' get a minimal working example. It was a mess to even find that it was related to the headless chrome given how intermittent it was and the lack of debugging information (even setting If it happens on my machine again (the one without the tool installed) then what logfile/output would help you see why it was hanging? |
Beta Was this translation helpful? Give feedback.
-
FWIW, it is the sort of bug where if it hangs on your desktop you just hit |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have:
Bug description
I had a great deal of trouble getting some of my code working in CI due to hangs (more intermittent, but happened on my computer as well). Still not sure what markdown caused the issue (possibly graphviz).
However, the details of my issue are less important than the proposed solution: if
quarto install tool chromium
has been executed, then it should be the default CHROMIUM unlessQUARTO_CHROMIUM
has been explicitly set. The behavior right now is that you need to manually find and set that environment variable .Steps to reproduce
What would happen is that when compiling a
ipynb: default
for my setup, it would sometimes hang and debugging information was not especially helpful. Eventually I tracked it down to a hanging of chromium (which was preinstalled in the container image).Actual behavior
Intermittent hanging.
If you install the
quarto install tool chromium
then aquarto check
defaults to the system Chromium if it can find it, rather than the newly installed tool.Expected behavior
My workaround in CI was the following:
Then checked with
quarto check
But that is very specific to the CI setup. On a general computer it is difficult to find where the tool was installed.
Right now the logic seems to be:
Proposed logic:
Your environment
Quarto check output
This was on multiple machines. See above.
Beta Was this translation helpful? Give feedback.
All reactions