Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Viewer will not convert Office Documents but PDF works fine. #40

Closed
guyonphone opened this issue Sep 27, 2013 · 1 comment
Closed

Comments

@guyonphone
Copy link

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

@guyonphone
Copy link
Author

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!.

Just in case anyone else runs into this issue.

Thank You

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants