quarto-dev / quarto-dev/quarto-cli

be mindful of case sensitivity in project outputs (was: Website with LICENSE.md and license.qmd fails to render)

Open
#6,848 6 comments 0 reactions 1 assignee View on GitHub

@cscheid is already working on this.

Since Sep 15, 2023.

enhancement projects
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Bug description

I have a website project with a LICENSE.md file and a license.qmd file. The idea was that LICENSE.md is for folks perusing the repo (and used to seeing that file in GitHub repos) and license.qmd can be a page on my actual website. I'm fairly certain this wasn't a problem a couple of months ago when I first put this project together, but today with 1.4.366 it fails to render with the error:

ERROR: NotFound: No such file or directory (os error 2): rename '/Users/mine/Desktop/test-website-license/LICENSE.html' -> '/Users/mine/Desktop/test-website-license/_site/LICENSE.html'

Stack trace:
    at Object.renameSync (ext:deno_fs/30_fs.js:215:7)
    at renderProject (file:///Applications/quarto/bin/quarto.js:76830:22)
    at eventLoopTick (ext:core/01_core.js:181:11)
    at async serveProject (file:///Applications/quarto/bin/quarto.js:95892:24)
    at async Command.fn (file:///Applications/quarto/bin/quarto.js:96481:9)
    at async Command.execute (file:///Applications/quarto/bin/quarto.js:8111:13)
    at async quarto (file:///Applications/quarto/bin/quarto.js:111446:5)
    at async file:///Applications/quarto/bin/quarto.js:111464:9

And this happens whether license.qmd is listed in _quarto.yml or not.

Steps to reproduce

Clone https://github.com/mine-cetinkaya-rundel/test-website-license and render it.

Expected behavior

No response

Actual behavior

No response

Your environment
  • RStudio: Version 2023.06.2+561 (2023.06.2+561)
  • OS: MacOS Ventura 13.5 (22G74)
Quarto check output
Quarto 1.4.366
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.8: OK
      Dart Sass version 1.55.0: OK
      Deno version 1.33.4: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.4.366
      Path: /Applications/quarto/bin

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

[✓] Checking LaTeX....................OK
      Using: TinyTex
      Path: /Users/mine/Library/TinyTeX/bin/universal-darwin
      Version: 2023

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

[✓] Checking Python 3 installation....OK
      Version: 3.9.6
      Path: /Library/Developer/CommandLineTools/usr/bin/python3
      Jupyter: 5.3.0
      Kernels: python3

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

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

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.