Skip to content

Visual Editor mode fails in VS Code due to unfound pandoc  #344

Closed
@kmasiello

Description

@kmasiello

Bug description

Visual Editor mode in VS Code fails with a message "Unexpected Error Loading Editor" Request pandoc_list_extensions failed with message: spawn /Users/katie/local/share/qvm/versions/v1.4.513/bin/tools/pandoc ENOENT
image

Rendering the document still works.

Quarto was installed via qvm. Per internal discussions, another user reported similar with Quarto installed from Mamba.

Steps to reproduce

Install Quarto via qvm.
Request Visual Editor mode in VS Code.
This may or may not be repeatable -- I'm confident I've used Visual Editor mode in VS Code previously and have always managed my Quarto versions with qvm.

Expected behavior

Visual Editor mode should work.

Actual behavior

Error message when activating Visual Mode.

Your environment

  • IDE: Visual Studio Code 1.84.2
  • OS: Mac Sonoma 14.1.2

Quarto check output

Quarto 1.4.513
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.9: 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.513
      Path: /Users/katie/.local/share/qvm/versions/v1.4.513/bin

[✓] Checking tools....................OK
      TinyTeX: v2023.11
      Chromium: 869685

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

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

[✓] Checking Python 3 installation....OK
      Version: 3.11.6
      Path: /opt/homebrew/opt/[email protected]/bin/python3.11
      Jupyter: 5.3.0
      Kernels: python3

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

[✓] Checking R installation...........OK
      Version: 4.2.3
      Path: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources
      LibPaths:
        - /Users/katie/Library/R/arm64/4.2/library
        - /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library
      knitr: 1.42
      rmarkdown: 2.21

[✓] 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