2

我正在使用django-webodt从 Django 创建 PDF,其中 LibreOffice 作为 Ubuntu 12.04 下的转换器。

我使用以下命令以无头模式启动 LibreOffice:

soffice '--accept=socket,host=127.0.0.1,port=2002;urp;StarOffice.NamingService' --headless

但是,我从 LibreOffice 收到一个间歇性错误:

com.sun.star.lang.IllegalArgumentException at /report/2013/09/Unsupported URL <private:stream>: ""

我已经使用sudo apt-get install libreoffice. 这个问题是间歇性的,昨天它还在工作,今天我收到了这个错误!什么都没有改变,除了系统重新启动。

任何人都可以帮助解释问题可能是什么?

4

0 回答 0