lbeckman314 / mdbook-latex

An mdbook backend for generating LaTeX and PDF documents.
https://liambeckman.com/code/mdbook-latex/
Mozilla Public License 2.0
104 stars 11 forks source link

Unable to deserialize the RenderContext, missing field. #18

Open chengchangwu opened 3 years ago

chengchangwu commented 3 years ago

I've run mdbook build and encountered the following error, I've tectonic installed and using debian linux. Any idea?

2021-06-07 18:41:15 [INFO] (mdbook::book): Book building has started
2021-06-07 18:41:16 [INFO] (mdbook::book): Running the latex backend
2021-06-07 18:41:16 [INFO] (mdbook::renderer): Invoking the "latex" renderer
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(Msg("Unable to deserialize the `RenderContext`"), State { next_error: Some(Error("missing field `__non_exhaustive`", line: 1, column: 221881)), backtrace: InternalBacktrace { backtrace: None } })', /home/ccwu/.cargo/registry/src/github.com-1ecc6299db9ec823/mdbook-latex-0.1.24/src/main.rs:45:52
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2021-06-07 18:41:16 [ERROR] (mdbook::renderer): Renderer exited with non-zero return code.
2021-06-07 18:41:16 [ERROR] (mdbook::utils): Error: Rendering failed
2021-06-07 18:41:16 [ERROR] (mdbook::utils):    Caused By: The "latex" renderer failed
mkpankov commented 3 years ago

I've got the same issue.

IssaAboudi commented 1 year ago

Same