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

notebook cell embedding not working in book project/pdf output #5239

Closed
2 of 5 tasks
MHellmund opened this issue Apr 19, 2023 · 2 comments
Closed
2 of 5 tasks

notebook cell embedding not working in book project/pdf output #5239

MHellmund opened this issue Apr 19, 2023 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@MHellmund
Copy link
Contributor

Bug description

  • quarto 1.3.330 on Debian Linux
  • book project, HTML and pdf output,
  • quarto preview in VS Code works perfect
  • quarto render --to html works perfect
  • quarto render --to pdf fails

index.qmd:

# index
{{< embed notebooks/nb1.ipynb#cell1  >}}

quarto render --to pdf fails:

ERROR: Internal Error: named lifetime render-file not found

Error: Internal Error: named lifetime render-file not found
    at getCachedNotebookInfo (file:///opt/quarto/bin/quarto.js:80750:15)
    at notebookMarkdown (file:///opt/quarto/bin/quarto.js:80700:32)
    at replaceNotebookPlaceholders (file:///opt/quarto/bin/quarto.js:80679:38)
    at renderPandoc (file:///opt/quarto/bin/quarto.js:80981:34)
    at renderSingleFileBook (file:///opt/quarto/bin/quarto.js:98912:36)
    at async Object.onComplete (file:///opt/quarto/bin/quarto.js:98890:48)
    at async renderFiles (file:///opt/quarto/bin/quarto.js:86640:16)
    at async renderProject (file:///opt/quarto/bin/quarto.js:86785:25)
    at async Command.fn (file:///opt/quarto/bin/quarto.js:90841:32)
    at async Command.execute (file:///opt/quarto/bin/quarto.js:8437:13)

all files attached in test.zip
test.zip

Checklist

  • Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.
  • Please provide the output of quarto check so we know which version of quarto and its dependencies you're running.
@MHellmund MHellmund added the bug Something isn't working label Apr 19, 2023
@cderv cderv added the triaged-to Issues that were not self-assigned, signals that an issue was assigned to someone. label Apr 19, 2023
@dragonstyle dragonstyle added this to the v1.3 milestone Apr 19, 2023
@dragonstyle
Copy link
Collaborator

Thanks for reporting this - I can reproduce it. It appears to be related to being a in book project. We'll take a look ASAP.

@dragonstyle
Copy link
Collaborator

This should be fixed in the next pre-release build (should be available any time). The fix is here:

#5241

Thanks again from reporting this!

@allenmanning allenmanning removed the triaged-to Issues that were not self-assigned, signals that an issue was assigned to someone. label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants