Closed mikegilchrist closed 2 years ago
There's a bug in the error handling code that is invoked when Pandoc fails. Currently, the error message is using proc.stderr
, but there are failure modes where proc
never gets defined. I'll have to reorganize this a little.
In terms of why Pandoc is failing, my guess would be that there are missing LaTeX packages. text2qti
needs everything that Pandoc usually requires, plus fontawesome
. Until the bug is fixed, you might try creating solutions in md format, and then try to convert that to PDF to see if Pandoc will provide additional details.
Thanks for the work around. It takes care of my issue.
Update: Problem disappears if you use a more recent version of pandoc, such as 2.16.2
I'm using text2qti 0.6.0.dev5 which I installed from github. I can create the QTI .zip files from my .md files, but when trying to create .pdf versions of my quizzes, I get the following error
I get the same behavior if I use the
--only-solutions
option.I've looked at the code in text2qti/cmdline.py, but can't see why it's a problem. This seems to be the relevant code
Here's my test file
I apologize if this is really a user error, but do appreciate the package. It's very helpful