documentcloud / docsplit

Break Apart Documents into Images, Text, Pages and PDFs
http://documentcloud.github.com/docsplit/
Other
833 stars 214 forks source link

Executable filename issue with latest version (5.0.4) of LibreOffice on RHEL #137

Open neilneyman opened 8 years ago

neilneyman commented 8 years ago

I was recently deploying some scripts to a production Red Hat server that use docsplit on word docs. The dev server had been using LibreOffice 5.0.3, where everything worked, but the production server installed the latest 5.0.4, and in this case docsplit failed when trying to extract_pdf on a .doc file with the error: unable to find Office Software.

Apparently with this latest version of LibreOffice installed, the executable name was /usr/bin/libreoffice5.0

As a workaround I was able to get docsplit working simply by linking the libreoffice executable to the name libreoffice: sudo ln -s /usr/bin/libreoffice5.0 /usr/bin/libreoffice

Just wanted to give a heads up about that.

knowtheory commented 8 years ago

Thanks, we can add that to the list of executables.