Skip to content
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

Unable to install TinyTex via Quarto #25828

Closed
Vasu2499 opened this issue Sep 23, 2024 · 5 comments
Closed

Unable to install TinyTex via Quarto #25828

Vasu2499 opened this issue Sep 23, 2024 · 5 comments

Comments

@Vasu2499
Copy link

Version: Deno x.x.x
When I try to run quarto list tools or quarto install tinytex via the terminal (directory is my project's working directory), I get this "panicked" error -

(|) Inspecting tools
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.

Platform: windows x86_64
Version: 1.41.0
Args: ["C:\\Users\\vasud\\AppData\\Local\\Programs\\Quarto\\bin\\tools\\x86_64\\deno", "run", "--unstable-ffi", "--no-config", "--cache
d-only", "--allow-read", "--allow-write", "--allow-run", "--allow-env", "--allow-net", "--allow-ffi", "--v8-flags=--enable-experimeArgs: ["C:\\Users\\vasud\\AppData\\Local\\Programs\\Quarto\\bin\\tools\\x86_64\\deno", "run", "--unstable-ffi", "--no-config", "--cached-only", "--allow-read", "--allow-write", "--allow-run", "--allow-env", "--allow-net", "--allow-ffi", "--v8-flags=--enable-experimental-regexp-engine,--max-old-space-size=8192,--max-heap-size=8192", "--importmap", "C:\\Users\\vasud\\AppData\\Local\\Programs\\Quarto\\bin\\vendor\\import_map.json", "C:\\Users\\vasud\\AppData\\Local\\Programs\\Quarto\\bin\\quarto.js", "list", "tools"]

thread 'main' panicked at cli\args\mod.rs:596:14:
Failed to add platform cert to root cert store: InvalidCertificate(BadEncoding)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@marvinhagemeister
Copy link
Contributor

Duplicate of #24137 . This is an upstream issue in quarto (see quarto-dev/quarto-cli#10809) as they're using a pretty old Deno version and haven't updated yet. This can only be fixed by quarto updating their Deno version.

@Vasu2499
Copy link
Author

So I have to wait for Quarto to implement the fix on their end?

@marvinhagemeister
Copy link
Contributor

Yes, they need to update the Deno version.

@OlexiyPukhov
Copy link

I am getting the same issue, and my quarto is not compiling correctly. I tried to uninstall tinytex and install it again but I get this issue. Is there a fix to this issue?

@marvinhagemeister
Copy link
Contributor

This issue has long been fixed on the Deno side, but the Quarto team hasn't updated their built-in Deno binary to a version that includes the fix. Nothing we can do about that on the Deno side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants