mdbook-latex icon indicating copy to clipboard operation
mdbook-latex copied to clipboard

Unable to deserialize the RenderContext, missing field.

Open chengchangwu opened this issue 3 years ago • 2 comments

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

chengchangwu avatar Jun 07 '21 10:06 chengchangwu

I've got the same issue.

mkpankov avatar Jun 08 '21 09:06 mkpankov

Same

IssaAboudi avatar Sep 26 '22 03:09 IssaAboudi