debugging advice for main.lua errors #9334
Replies: 5 comments 13 replies
-
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Thanks. The usual debugging step is to make a reproducible example because it makes it easier to see what input is causing this (it could be a Quarto bug). Note that sharing an error code without context is unlikely to get you with a concrete solution (here and anywhere else). See https://quarto.org/docs/troubleshooting/index.html for the troubleshooting guide. You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
Additionally and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.
-
I will work to make one. The file I'm working with is quite large and complex. I was hoping to find a way to narrow down how to locate the problem within my file to create an example. As a bit of context, I've been working on this as a html output for a while. The computations are complex and when I also output a ipynb format, quarto recomputes everything twice, so I disable the ipynb output until I'm done, then I reenable the ipynb output for the final product. because of this I don't know where to start looking for the issue. I can go thru and remove each section one at a time, but that will take a while. I guess my question is if there is a way to find the location of the error in my code. |
Beta Was this translation helpful? Give feedback.
-
To help debug, you could also activate Verbose mode and stack trace. It could say more that the current error You could also try latest stable version 1.4, and possibly dev version of Quarto in case this is fixed already |
Beta Was this translation helpful? Give feedback.
-
(And, just to be clear, this is a Quarto bug! no crashes like that should happen.) |
Beta Was this translation helpful? Give feedback.
-
The following example throws an error on quarto 1.5.54 --- title: "Minimal example" format: gfm --- ```{python} #| label: fig-sin import matplotlib.pyplot as plt import numpy as np x = np.linspace(0,1,10) y = np.sin(x) plt.plot(x,y) ``` The error is the following:
It sounds like it has something to do with the |
Beta Was this translation helpful? Give feedback.
-
Description
I'm getting an error when I try to render to a jupyter notebook, but i don't get the error if I just make a webpage. It looks like some kind of formatting issue in my qmd file. Is there a way to find out more details about where the error is? I see line numbers that refer to the
main.lua
script, but nothing referring to my inputs. Is there a way to find out where the error is so that I can try to address it?The error looks like this:
Beta Was this translation helpful? Give feedback.
All reactions