PDF ドキュメントをインラインで表示できるようにする document.viewer を Plone にインストールしようとしていますが、これまでのところ、pdf ファイルを変換して表示することはできますが、.doc .ppt ファイルを変換しようとすると、次のエラーが発生します。 、私のオペレーティング システムは Fedora です。
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/collective.documentviewer-2.2-py2.7.egg/collective/documentviewer/convert.py", line 530, in __call__
pages = self.run_conversion()
File "/usr/local/Plone/buildout-cache/eggs/collective.documentviewer-2.2-py2.7.egg/collective/documentviewer/convert.py", line 379, in run_conversion
return docsplit.convert(self.storage_dir, **args)
File "/usr/local/Plone/buildout-cache/eggs/collective.documentviewer-2.2-py2.7.egg/collective/documentviewer/convert.py", line 285, in convert
self.convert_to_pdf(path, filename, output_dir)
File "/usr/local/Plone/buildout-cache/eggs/collective.documentviewer-2.2-py2.7.egg/collective/documentviewer/convert.py", line 256, in convert_to_pdf
self._run_command(cmd)
File "/usr/local/Plone/buildout-cache/eggs/collective.documentviewer-2.2-py2.7.egg/collective/documentviewer/convert.py", line 118, in _run_command
raise Exception(error)
Exception: Command
/usr/local/bin/docsplit pdf /tmp/tmp9c0S1q/dump.doc --output /tmp/tmp9c0S1q
finished with return code
1
and output:
Error: Could not find or load main class .usr.lib.libreoffice
私はすでにopenofficeをインストールしており、usr/libフォルダーにlibreofficeという名前のフォルダーがあることに注意してください。Plone は、管理者権限を持つスタンドアロンとしてインストールされます。この問題を解決するにはどうすればよいですか?