Hallo Harold, Olli & alle,,
On Wed, 23 May 2012, Oliver Fromme wrote:
> os.environ['LD_LIBRARY_PATH'] = oolibpath + os.pathsep +
> os.environ.get('LD_LIBRARY_PATH', "")
Danke, das funktioniert (Mußte auch noch den Binary-Namen fürs OpenOffice
hinzufügen, den unoconv nicht findet, es ist openoffice-3.4.0).
Jetzt läuft das Skript, nur nicht erfolgreich:
File "/root/unoconv-0.4/unoconv", line 538, in __init__
self.desktop =
unosvcmgr.createInstanceWithContext("com.sun.star.frame.Desktop",
unocontext)
uno.RuntimeException: Binary URP bridge disposed during call
Nach https://github.com/dagwieers/unoconv/issues/22:
"This is caused by OpenOffice/LibreOffice crashing."
Hmmh, im Jail ist der OpenOffice-Prozess tatsächlich beendet worden, auf
dem Hostsystem läuft er allerdings durch:
0 63416 63410 0 52 0 268456 54500 accept I 2 0:00.36
/usr/local/openoffice-3.4.0/openoffice.org3/program/soffice.bin -headless
-invisible -nocrashreport -nodefault -nofirststartwizard -nologo
-norestore
-accept=socket,host=localhost,port=2002;urp;StarOffice.ComponentContext
Der Fehler bleibt.
(Nebenbei, der Office-Prozess startet nur für root, wegen
Permission-Problemen, sonst gibt es noch 'nen anderen Fehler, aber das
kriegen wir später;-)
Ich denke schon mal über 'nen Plan B nach, in meinem Grand Design, wäre
aber gut, wenn ich das unter FreeBSD zum Laufen kriegen kann..
Es grüßt
Peter
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 24 May 2012 - 06:58:38 CEST