Skip to content

Configure.cmd does not work when spaces are in path #3225

@jlgraves-ubc

Description

@jlgraves-ubc

Bug description

Hi all,

I am trying to make some basic adjustments to a few files, and I wanted to set up the development version of the Quarto CLI.

  • I git cloned a fresh version from my fork of main
  • I then ran configure.cmd as direct and it doesn't complete successfully.

I think it has something to do with the package/src/store_win_configuration.bat file, in that it's not parsing the paths correctly. However, I'm not an experienced Windows shell developer, so I am not comfortable trying to fix it.

Can anyone help me out? I've included the output of the configure.cmd terminal output below. If it helps, I'm running on Windows 11 (dun dun dun).

C:\Users\Jonathan Graves\Documents\GitHub\quarto-cli>configure.cmd
The system cannot find the path specified.
The system cannot find the file Graves\Documents\GitHub\quarto-cli\package\src\\..\..\configuration.
"Translated/recorded configuration settings from unix configuration script"
'win_configuration.bat' is not recognized as an internal or external command,
operable program or batch file.
The syntax of the command is incorrect.
A subdirectory or file \tools already exists.
Bootstrapping Deno...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
tar: Error opening archive: Failed to open 'deno-x86_64-pc-windows-msvc.zip'
Could Not Find C:\tools\deno-x86_64-pc-windows-msvc.zip
.
The system cannot find the path specified.
Configuring Quarto from C:\Users\Jonathan Graves\Documents\GitHub\quarto-cli
'quarto-bld.cmd' is not recognized as an internal or external command,
operable program or batch file.
Configuration done
Revendoring quarto dependencies
Downloading Deno Stdlib
The system cannot find the path specified.
NOTE: To use quarto please use quarto-cmd (located in this folder) or add the following path to your PATH
ECHO is off.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwindows

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions