Skip to content

quarto publish connect from windows corrupts path delimiters in the bundle tar.gz #8749

@eugen-lounkine-bms

Description

@eugen-lounkine-bms

Bug description

I am trying to get a blog hosted on Post Connect. I write it locally on my windows machine, with a local python environment, coding in VS Code, and using Git Bash as my terminal (I did try with windows cmd, and it has the same behavior as Git Bash);

When I do so with quarto publish connect, it creates the bundle, uploads it, and hosts the content, but it has a bug during bundle creation: relative paths (local folders) are not represented as folders in the bundle tar.gz;
This makes only the main index.html accessible on Posit Connect, without any of the blog posts (they are in a subfolder).
The path delimiters are replaced with a \uf05c character.

Steps to reproduce

Shift+Ctrl+P -> Create new quarto Project -> Blog

This creates the default blog setup
image

Expected behavior

After I quarto publish connect, the blog should render correctly on posit.

Actual behavior

The blog lacks styles, and the links to the posts do not work.
The bundle has replaced path delimiter (\ on windows, should be / in the bundle) with a \uf05c character.
image

bundle-41602.tar.gz

Your environment

  • OS: Win10
  • IDE: VSCode
  • language: Python
  • terminal: Git Bash and CMD have same behavior

Quarto check output

Quarto 1.4.549
[>] 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.549
Path: C:\Users\lounkine\AppData\Local\Programs\Quarto\bin
CodePage: 1252

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

[>] Checking LaTeX....................OK
Tex: (not detected)

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

[>] Checking Python 3 installation....(None)

  Unable to locate an installed version of Python 3.
  Install Python 3 from https://www.python.org/downloads/

[>] Checking R installation...........OK
Version: 4.3.2
Path: C:/Users/lounkine/AppData/Local/Programs/R/R-4.3.2
LibPaths:
- C:/Users/lounkine/AppData/Local/Programs/R/R-4.3.2/library
knitr: 1.45
rmarkdown: 2.25

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions