collective / collective.documentviewer

https://pypi.org/project/collective.documentviewer
21 stars 22 forks source link

Converting to .doc and .xls files in Plone does not work with latest Libreoffice #49

Open gregory-zero opened 9 years ago

gregory-zero commented 9 years ago

System Spec: Debian stable Plone 4.3.4 with collective.documentviewer 3.0.2 and docsplit 0.7.6 and latest stable Libreoffice When I try to convert some .doc or .xls documents in Plone, I get this error:

Command /usr/local/bin/docsplit pdf /tmp/tmpTUgROI/dump.doc --output /tmp/tmpTUgROI finished with return code 1 and output: terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException' Aborted /var/lib/gems/1.9.1/gems/docsplit-0.7.6/lib/docsplit/pdf_extractor.rb:33:in libre_office?': undefined methodmatch' for nil:NilClass (NoMethodError) from /var/lib/gems/1.9.1/gems/docsplit-0.7.6/lib/docsplit/pdf_extractor.rb:128:in block in extract' from /var/lib/gems/1.9.1/gems/docsplit-0.7.6/lib/docsplit/pdf_extractor.rb:120:ineach' from /var/lib/gems/1.9.1/gems/docsplit-0.7.6/lib/docsplit/pdf_extractor.rb:120:in extract' from /var/lib/gems/1.9.1/gems/docsplit-0.7.6/lib/docsplit.rb:65:inextract_pdf' from /var/lib/gems/1.9.1/gems/docsplit-0.7.6/lib/docsplit/command_line.rb:47:in run' from /var/lib/gems/1.9.1/gems/docsplit-0.7.6/lib/docsplit/command_line.rb:37:ininitialize' from /var/lib/gems/1.9.1/gems/docsplit-0.7.6/bin/docsplit:5:in new' from /var/lib/gems/1.9.1/gems/docsplit-0.7.6/bin/docsplit:5:in<top (required)>' from /usr/local/bin/docsplit:23:in load' from /usr/local/bin/docsplit:23:in

'