Skip to content

ERROR: Template partial was not found #8103

@pieterprovoost

Description

@pieterprovoost

Bug description

I'm not able to render a minimal dashboard with quarto-cli 1.4.534, presumable due to incorrect partials path resolution. quarto render test.qmd results in:

ERROR: Template partial /Users/pieter/Desktop/quarto/Applications/quarto/share/formats/dashboard/title-block.html was not found. Please confirm that the path to the file is correct.

Stack trace:
    at file:///Applications/quarto/bin/quarto.js:41469:19
    at Array.flatMap (<anonymous>)
    at readPartials (file:///Applications/quarto/bin/quarto.js:41463:20)
    at runPandoc (file:///Applications/quarto/bin/quarto.js:68818:30)
    at eventLoopTick (ext:core/01_core.js:183:11)
    at async renderPandoc (file:///Applications/quarto/bin/quarto.js:70020:26)
    at async Object.onRender (file:///Applications/quarto/bin/quarto.js:77193:36)
    at async renderFileInternal (file:///Applications/quarto/bin/quarto.js:77170:17)
    at async renderFiles (file:///Applications/quarto/bin/quarto.js:76994:17)
    at async renderProject (file:///Applications/quarto/bin/quarto.js:77321:25)

Source:

---
title: "Testing dashboard"
author: "Test Author"
format: dashboard
---

Test.

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Your environment

  • OS: macOS Sonoma 14.2.1

Quarto check output

Quarto 1.4.534
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.11: OK
      Dart Sass version 1.69.5: OK
      Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.4.534
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: Installation From Path
      Path: /Library/TeX/texbin
      Version: 2023

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.9.6
      Path: /Users/pieter/.pyenv/versions/3.9.6/bin/python3
      Jupyter: 4.10.0
      Kernels: python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.2.2
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library
      knitr: 1.43
      rmarkdown: 2.23

[✓] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions