Repository navigation
Closed
Labels
bugSomething isn't workingSomething isn't workingextensionsrelates to Quarto extensions mechanismrelates to Quarto extensions mechanismwindows
Description
Hi @cderv, thanks again for the fix in 1.9.38. quarto check and rendering worked for me after your fix. However, I’m hitting what looks like the same root cause through a different code path.
On Quarto 1.9.38 (enterprise Windows, Group Policy blocks .bat execution from %TEMP%), quarto use template fails at the unzip step. It is still routed through the quarto-safe-exec*.bat wrapper:PS S:\<PATH>> quarto use template thomasfaria/paesf-quarto-extensions --log-level debug Quarto version: 1.9.38 Quarto templates may execute code when documents are rendered. If you do not trust the authors of the template, we recommend that you do not install or use the template. ? Do you trust the authors of this template (Y/n) » Yes ? Create a subdirectory for template? (Y/n) » Yes ? Directory name: » BLS-template [>] Downloading [execProcess] cmd /c C:\Users\<USERNAME>\AppData\Local\Temp\quarto-safe-exec9b0aa88488df71f4.bat (-) UnzippingCe programme est bloqu� par une strat�gie de groupe. Pour plus d'informations, contactez votre administrateur syst�me. [execProcess] Success: false, code: 1 [>] Unzipping ERROR: Failed to unzip template. Ce programme est bloqu� par une strat�gie de groupe. Pour plus d'informations, contactez votre administrateur syst�me. Stack trace: at file:///C:/Program Files/Quarto/bin/quarto.js:174201:15 at eventLoopTick (ext:core/01_core.js:179:7) at async withSpinner (file:///C:/Program Files/Quarto/bin/quarto.js:134073:12) at async unzipInPlace (file:///C:/Program Files/Quarto/bin/quarto.js:174196:3) at async stageTemplate2 (file:///C:/Program Files/Quarto/bin/quarto.js:174093:5) at async useTemplate (file:///C:/Program Files/Quarto/bin/quarto.js:173987:23) at async _Command.actionHandler (file:///C:/Program Files/Quarto/bin/quarto.js:173971:5) at async _Command.execute (file:///C:/Program Files/Quarto/bin/quarto.js:102091:7) at async _Command.parseCommand (file:///C:/Program Files/Quarto/bin/quarto.js:101968:14) at async quarto4 (file:///C:/Program Files/Quarto/bin/quarto.js:187649:5)Is this already fixed in 1.10? I can’t install a new release on my work machine myself. If you can confirm it’s fixed there, then no problem I'll ask for an upgrade.
ThanksThanks!
Originally posted by @ThomasFaria in #14367
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingextensionsrelates to Quarto extensions mechanismrelates to Quarto extensions mechanismwindows
Activity
cderv commentedon Oct 26, 2026
I'll try to have a look but hard to reproduce on my side. I'll run investigation with 🤖 but it would really help if you can new new stable release.
Can you ask your IT to install new stable release ?
Otherwise, quarto is also available as an .exe file that does not require any installation and can be downloaded, and put in a folder for trying out.
See
quarto-1.10.19-win.zipat https://github.com/quarto-dev/quarto-cli/releases/tag/v1.10.19Do you think you could try it ?
Thanks
ThomasFaria commentedon Oct 26, 2026
Thanks for opening an issue !
Downloading Quarto actually works fine for me. The problem is running the executable, which is blocked:
I’m going to ask IT for an upgrade, but it may take a while. I’ll keep you posted.
cderv commentedon Oct 27, 2026
Thanks for trying. I need to correct my earlier suggestion: upgrading to 1.10 would not have helped for this one.
The unzip step goes through the same temporary
.batwrapper since 2022, and the fix in 1.9.38 only covered dart-sass. So 1.10.19 has exactly the same code, and asking IT for this upgrade won't solvequarto use templateorquarto addfrom GitHub.I opened #15202 so that zip extraction on Windows launches PowerShell directly, without any
.batfile. It should be part of 1.11.Meanwhile, you can skip the unzip step entirely by giving a local folder to
quarto use template. A local folder is copied as is, without extraction. I tested this with 1.9.38:Does this work for you ?
Fix zip extraction on Windows when Group Policy blocks .bat files (qu…