-
Notifications
You must be signed in to change notification settings - Fork 284
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
Markdown Render failure #8274
Comments
A few questions: How did you install quarto? Can you provide the output of I suspect something is going bad when Pandoc is being executed. |
I downloaded the .pkg from the Quarto website. And also updated to the new version 1.4.543, same issue. Output from pandoc 3.1.11
Features: +server +lua
Scripting engine: Lua 5.4
User data directory: /Users/sidojensma/.local/share/pandoc
Copyright (C) 2006-2023 John MacFarlane. Web: https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose. |
Is there anything unconventional about your environment? That error happens because some binary is attempting to call a dynamically-loaded library that's missing. Unfortunately I can't repro the problem locally (I'm on macOS as well). Are you, by chance, on an Intel Mac laptop? We'll need more information about your specific setup to know more. |
I am on an intel Mac laptop (2.2 GHz 6-Core Intel Core i7). I just downloaded the .pkg and installed it. Also I just installed quarto 1.3.450 and this works with no problem on the same file. The output from [✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.1: OK
Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.3.450
Path: /Applications/quarto/bin
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.12.1
Path: /Users/sidojensma/Documents/gitea/Quarto/env/bin/python
Jupyter: 5.7.1
Kernels: python3
(|) Checking Jupyter engine render....0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........OK
Version: 4.3.2
Path: /Library/Frameworks/R.framework/Resources
LibPaths:
- /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library
knitr: 1.45
rmarkdown: 2.25
[✓] Checking Knitr engine render......OK
|
Ok, this is great information, thanks! Let me investigate and I'll follow up.
|
@gimmiereddy Unfortunately, I just tested this on a 14.2.1 macOS laptop and I can't reproduce. It's also a 6-core i7. Do you mind sharing the result of running |
I just email the output from |
After a long process (thank you so much @gimmiereddy for helping along) we've identified the bug.
The easy fix here here is for Quarto to hard-code LUA_CPATH to never use system paths. |
Apologies if this resurrects a dead thread, but reading the comments in pandoc.ts sent me here.
ERROR: Missing environment variable: QUARTO_LUA_CPATH Stack trace:
|
@eo1989 I think this was a bad fix on my side. I think you have a |
We now always override LUA_CPATH. If |
Current output from quarto check. The Lua error is at the end.
|
@mroberts1 what do you get from |
@mroberts1 oh I'm so sorry, you're running 1.4. This fix is in 1.5! |
Thank you, the upgrade to 1.5.37 finally fixed the Lua error. |
Bug description
When I try to preview or render a quarto document on my MacBook I get a failure to compile. I used VS Code and R studio, both give me the same failures.
Not sure where to go from here? Couldn't find a similar issue on github
Steps to reproduce
When compiling a simple hello world document I get an error saying
dyld[XXXXX] missing symbol called
.This was the document:
compiling the document using export
export QUARTO_PRINT_STACK=true
I get some additional information usingquarto render xxx.qmd
:Expected behavior
Rendering of Markdown
Actual behavior
Crash during compilation
Your environment
Quarto check output
Quarto 1.4.542 [✓] 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.542 Path: /Applications/quarto/bin [✓] Checking tools....................OK TinyTeX: v2024.01 Chromium: 869685 [✓] Checking LaTeX....................OK Using: TinyTex Path: /Users/sidojensma/Library/TinyTeX/bin/universal-darwin Version: 2023 (\) Checking basic markdown render....dyld[10249]: missing symbol called [✓] Checking basic markdown render....OK ERROR: Error at renderFiles (file:///Applications/quarto/bin/quarto.js:77056:29) at eventLoopTick (ext:core/01_core.js:183:11) at async render (file:///Applications/quarto/bin/quarto.js:81789:21) at async file:///Applications/quarto/bin/quarto.js:98507:25 at async withSpinner (file:///Applications/quarto/bin/quarto.js:75255:16) at async checkInstall (file:///Applications/quarto/bin/quarto.js:98493:5) at async check (file:///Applications/quarto/bin/quarto.js:98383:13) at async Command.fn (file:///Applications/quarto/bin/quarto.js:98666:5) at async Command.execute (file:///Applications/quarto/bin/quarto.js:8102:13) at async quarto (file:///Applications/quarto/bin/quarto.js:114950:5)
The text was updated successfully, but these errors were encountered: