AlJohri / docx2pdf

MIT License
497 stars 94 forks source link

convert fails silently if Microsoft Word is not available #56

Open jftsang opened 2 years ago

jftsang commented 2 years ago

Environment: MacOS machine where Microsoft Word is not available.

Steps to reproduce: Run on the command line: docx2pdf file.docx or use convert('file.docx') in a script.

Desired behaviour: An exception to indicate that the conversion has been unsuccessful.

Actual behaviour: Silent failure; the only way to check is to see whether file.pdf has been created (and what if that file already exists?).

Related to, but not quite the same as, #55.