JessicaTegner/pypandoc

RuntimeError: Pandoc died with exitcode "63" during conversion: b"couldn't parse docx file\n"

Closed this issue · 4 comments

RuntimeError: Pandoc died with exitcode "63" during conversion: b"couldn't parse docx file\n"

While converting docx file into html encountered this error

Sorry, this is a pandoc error, could you try running the conversion directly with pandoc and report the error to pandoc?

RuntimeError: Pandoc died with exitcode "63" during conversion: b"couldn't parse docx file\n"

Hello @Durgesh-Chalvadi -- I also encountered the problem you describe. To verify that the issue wasn't with the input, I verified the conversion process using a web interface

Then I read on https://pypi.org/project/pypandoc/ that "It's also possible to directly let pandoc write the output to a file. This is the only way to convert to some output formats (e.g. odt, docx, epub, epub3, pdf)".

Are you writing the output to a .docx file?

as @bhpayne pointed out, this is the only way to write some output formats.

As the original author hasn't responded, I see this issue as resolved.
If not, feel free to open a new issue!