Closed mfisher87 closed 2 months ago
It's back in 1.5 (#52)
It should have been fixed for 1.4.557 following
$ git tag --contains 458da63
v1.4.555
v1.4.556
v1.4.557
Maybe this needs specific adaptation in here ?
This was due to specific dependencies problem in building the JS
And for what it worth, I have it on windows...
❯ ls C:\Users\chris\miniconda3\envs\myenv\Library\share\quarto\preview\
Directory: C:\Users\chris\miniconda3\envs\myenv\Library\share\quarto\preview
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 31/07/2024 11:07 jats
-a--- 27/06/2024 19:01 543 quarto-preview.html
-a--- 16/07/2024 18:12 447110 quarto-preview.js
Though somehow this install does not work for me, but that is probably another issue. (first time I try the conda package)
Do we get a new issue on other OS ? 🤔 I see no error on our latest v1.4 build for the web UI. So possibly a conda only thing
I see it builds on the last conda forge run https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=970683&view=logs&j=ced5d8de-8227-5f3f-33a1-45cf1592c45a&t=f7bcb349-6dca-53ba-d88d-1d9963e119ba&l=2200
Not sure why not available then... 🤔
I'm really confused as well.
I was able to reproduce this in a local build. I may have been looking at the wrong build output when I suggested that it wasn't reproducing locally. No other news :)
Do I understand correctly it is missing in latest stable 1.5 too when build for conda ?
Is it missing on windows ? Or in all builds ?
Maybe there is a copy issue - the file being built correctly but not copied to what creates the conda forge bundle 🤔
Thanks for helping look in to this! I'd love to be able to spend more time on this, but $DAY_JOB
is taking a lot out of me and my time for open source contributions (volunteer and funded) has been much less than I'd like.
Do I understand correctly it is missing in latest stable 1.5 too when build for conda ?
Correct, but not 1.4.550.
Is it missing on windows ? Or in all builds ?
This still needs to be answered. I was able to confirm the Linux impact by downloading and unzipping tarballs from here: https://anaconda.org/conda-forge/quarto/files We should be able to do the same for the Mac/Win builds.
Maybe there is a copy issue - the file being built correctly but not copied to what creates the conda forge bundle 🤔
This sounds plausible! The logs show the preview build occurring. :thinking:
Restored a patch we used to hackily force the build of the preview script. I thought it was no longer needed, and removed it without testing thoroughly enough.
I apologize, but my time has been fairly limited and I don't yet understand why the upstream change didn't cause the script to be built the way I expected. Any help with this would be greatly appreciated so we can drop this patch.
Solution to issue cannot be found in the documentation.
Issue
The .js file is present in 1.4.550; it was poor testing on my part for #50 I think. I was sure I'd tested preview :confused:
Installed packages
Environment info