Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken Quarto 0.9.598 when using brew install/upgrade quarto #1188

Closed
mcanouil opened this issue Jun 20, 2022 · 6 comments
Closed

Broken Quarto 0.9.598 when using brew install/upgrade quarto #1188

mcanouil opened this issue Jun 20, 2022 · 6 comments
Assignees
Milestone

Comments

@mcanouil
Copy link
Collaborator

When filling #1186, I upgraded Quarto as usual with brew upgrade quarto and I encountered an error while trying to render #1186 again.

assertion failed [block != nullptr]: BasicBlock requested for unrecognized address
(BuilderBase.h:550 block_for_offset)
/Applications/quarto/bin/quarto: line 106: 44356 Trace/BPT trap: 5       "${SCRIPT_PATH}/tools/deno" ${QUARTO_ACTION} ${QUARTO_DENO_OPTIONS} ${QUARTO_DENO_EXTRA_OPTIONS} "${QUARTO_IMPORT_ARGMAP}" "${QUARTO_TARGET}" "$@"

I tried to reinstall 0.9.598 (latest: https://formulae.brew.sh/cask/quarto#default) which produced the same result.

OS: MacOS arm64

@mcanouil
Copy link
Collaborator Author

mcanouil commented Jun 20, 2022

I found the issue, this is (again) related to Shell integration and #1154
I still had to add the vscode workspace setting to disable this option (until 1.25.0 of quarto-vscode is released).

@jjallaire
Copy link
Collaborator

I'd like to understand the exact source of this problem better -- we updated to deno 1.22.3 and @softwarenerd saw this exact same error -- I then downgraded to deno 1.22 and that cleared up the error.

So perhaps some interaction between shell settings and the deno update.

@dragonstyle I don't think we can update to deno 1.22.3 (which I would like to do for this release) until we understand the source of this problem better.

@mcanouil If you have insight about what specifically is different about the shell environment that would help. @softwarenerd are you just using the default zsh shell on OS X or something more custom?

@jjallaire jjallaire reopened this Jun 20, 2022
@jjallaire jjallaire added this to the 1.0 milestone Jun 20, 2022
@mcanouil
Copy link
Collaborator Author

mcanouil commented Jun 20, 2022

In addition to zsh, I am using https://github.com/romkatv/powerlevel10k which is known to have some issues with VSCode microsoft/vscode#146587
Although, I am not sure how or if it is related to the current issue here.

Edit: I disabled it and Quarto still produced the above error, so this is not it. I'll keep searching.

@mcanouil
Copy link
Collaborator Author

mcanouil commented Jun 21, 2022

I upgraded Quarto to 0.9.600, and now disabling Shell Integration or not does not help with the error.
Quarto 0.9.600 produces the error all the time.

I am wondering could it be a conflict issue with installed binaries?
image

I tried:

  • with and without Shell Integration in VSCode
  • with and without PowerLevel10k
  • in VSCode ZSH terminal
  • in Terminal zsh
  • in terminal bash

Edit: without restarting anything, it now just "works" as before Deno upgrade in Quarto ... 😵‍💫
It definitely seems to be a conflict with something.

@ha0ye
Copy link

ha0ye commented Jun 21, 2022

I had the same issue over the weekend.

Downloading either a new binary from https://quarto.org/docs/get-started/ or building 0.9.600 from source here resolved the issue for me (in both RStudio and CLI).

No particular shell customizations here.

zsh and Mac arm64 (OS 11.6)

@jjallaire
Copy link
Collaborator

I think the issue here is related an interaction between deno 1.22.3, possibly the deno 0.143.0 standard library, and M1/M2 macs. We have reverted to deno 1.22.0 and deno_std 0.138.0 which should serve as a temporary resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants