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

Gap between errors and documentation in embedding extensions? #10674

Open
mcanouil opened this issue Sep 1, 2024 Discussed in #10603 · 1 comment
Open

Gap between errors and documentation in embedding extensions? #10674

mcanouil opened this issue Sep 1, 2024 Discussed in #10603 · 1 comment
Labels
bug Something isn't working extensions relates to Quarto extensions mechanism

Comments

@mcanouil
Copy link
Collaborator

mcanouil commented Sep 1, 2024

Discussed in #10603

Originally posted by andrewpbray August 25, 2024

Description

I added an extension within an extension (just kinda to see what would happen) and I got this error:

ERROR: Failed to resolve referenced filter countdown.lua - path does not exist.
If you are attempting to use another extension within this extension, please install the extension using the 'quarto install --embedded' command.

To learn more, I tried the help:

(base) MacBookPro:stat20slides andrewbray$ quarto install --help 
Usage:   quarto install [target...]
Version: 1.6.6                     

Description:

  Installs a global dependency (TinyTex or Chromium).

Options:

  -h, --help               - Show this help.                              
  --no-prompt              - Do not prompt to confirm actions             
  --update-path            - Update system path when a tool is installed  
  --log          <file>    - Path to log file                             
  --log-level    <level>   - Log level (info, warning, error, critical)   
  --log-format   <format>  - Log format (plain, json-stream)              
  --quiet                  - Suppress console output.                     
  --profile                - Active project profile(s)                    

Commands:

  help  [command]  - Show this help or the help of a sub-command.

Examples:

  Install TinyTeX:        quarto install tinytex 
  Install Chromium:       quarto install chromium
  Choose tool to install: quarto install

And when I went to run the recommended command at the root of the project I got:

(base) MacBookPro:stat20slides andrewbray$ quarto install --embedded
ERROR: Unknown option "--embedded". Did you mean option "--embed"?

So then:

(base) MacBookPro:stat20slides andrewbray$ quarto install --embed
ERROR: Missing value for option "--embed".

I'm not sure if this has already beed logged, but if not I figured I'd get it on the to-do list.

(quarto add <org/repo> --embed <extension> still works 👌 )

@mcanouil mcanouil added bug Something isn't working extensions relates to Quarto extensions mechanism labels Sep 1, 2024
@mcanouil
Copy link
Collaborator Author

mcanouil commented Jan 2, 2025

FYI, I think the issue is a bit deeper:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working extensions relates to Quarto extensions mechanism
Projects
None yet
Development

No branches or pull requests

1 participant