You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed Document Viewer and all it's dependencies in Plone 4.2.6.
It is working for PDF documents, but for some reason it will not work for any office documents. I have the newest version of LibreOffice 4.1 installed. I get the following error:
Error converting to pdf
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/collective.documentviewer-2.2.1-py2.7.egg/collective/documentviewer/convert.py", line 537, in __ call __
pages = self.run_conversion()
File "/usr/local/Plone/buildout-cache/eggs/collective.documentviewer-2.2.1-py2.7.egg/collective/documentviewer/convert.py", line 386, in run_conversion
return docsplit.convert(self.storage_dir, **args)
File "/usr/local/Plone/buildout-cache/eggs/collective.documentviewer-2.2.1-py2.7.egg/collective/documentviewer/convert.py", line 292, in convert
self.convert_to_pdf(path, filename, output_dir)
File "/usr/local/Plone/buildout-cache/eggs/collective.documentviewer-2.2.1-py2.7.egg/collective/documentviewer/convert.py", line 271, in convert_to_pdf
raise Exception("Error converting to pdf")
Exception: Error converting to pdf
Does anyone have any ideas? I am kind of an novice when it comes to linux, I managed to get everything installed, but I have no idea hot to troubleshoot this. I hope this is the right place to ask this question.
Thanks
The text was updated successfully, but these errors were encountered:
I have resolved my problem. It looks like this issue has something to do with docsplit and the new version of Libreoffice 4.1 not working together. I uninstalled libreoffice and installed openoffice and conversion now works!.
Hello Everyone,
I have installed Document Viewer and all it's dependencies in Plone 4.2.6.
It is working for PDF documents, but for some reason it will not work for any office documents. I have the newest version of LibreOffice 4.1 installed. I get the following error:
Error converting to pdf
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/collective.documentviewer-2.2.1-py2.7.egg/collective/documentviewer/convert.py", line 537, in __ call __
pages = self.run_conversion()
File "/usr/local/Plone/buildout-cache/eggs/collective.documentviewer-2.2.1-py2.7.egg/collective/documentviewer/convert.py", line 386, in run_conversion
return docsplit.convert(self.storage_dir, **args)
File "/usr/local/Plone/buildout-cache/eggs/collective.documentviewer-2.2.1-py2.7.egg/collective/documentviewer/convert.py", line 292, in convert
self.convert_to_pdf(path, filename, output_dir)
File "/usr/local/Plone/buildout-cache/eggs/collective.documentviewer-2.2.1-py2.7.egg/collective/documentviewer/convert.py", line 271, in convert_to_pdf
raise Exception("Error converting to pdf")
Exception: Error converting to pdf
Does anyone have any ideas? I am kind of an novice when it comes to linux, I managed to get everything installed, but I have no idea hot to troubleshoot this. I hope this is the right place to ask this question.
Thanks
The text was updated successfully, but these errors were encountered: