Executive summary: I assume that very few people will trigger the same problem which is very obscure anyway. I further assume that you can close this bug, at least I have been able to work around it.
Vincent Bernat wrote: > OoO Peu avant le début de l'après-midi du mardi 07 octobre 2008, vers > 13:36, Joey Schulze <[EMAIL PROTECTED]> disait : > > > I have a problem converting some ODT files into PDF. > > > $ unoconv -f pdf foo.odt > > > works fine as user joey who has logged in via X. > > > However, running this as user www-data results in the following error > > message: > > > sh-3.2$ unoconv -v -f pdf foo.odt > > Input file: foo.odt > > Selected output format: Portable Document Format [.pdf] > > Selected ooffice filter: writer_pdf_Export > > Used doctype: document > > unoconv: UnoException during conversion: > > The provided document cannot be converted to the desired format. > > Hi Joey! > > Unfortunately, I have no real idea on why you get this failure. > OpenOffice.org UNO component seems to be a low priority component. For > example, on my system, with 3.0 from experimental, if I do "import > pyuno" in a Python console, I just get: > SystemError: dynamic module not initialized properly > > unoconv being just a wrapper around this library, it inherits all the > bugs that can happen. Yep, I noticed. I'm now working around this problem by running OpenOffice.org as listener in the background on a headless X server: soffice -display :0.0 -norestore -headless \ "-accept=socket,host=localhost,port=2002;urp;StarOffice.ComponentContext" With this in background unoconv does not has problems anymore. > Which version of OpenOffice.org do you use? You might try OpenOffice.org > From experimental (a new version was released a week ago, I did not test > it though). I used the one from testing/lenny. Regards, Joey -- If you come from outside of Finland, you live in wrong country. -- motd of irc.funet.fi Please always Cc to me when replying to me on the lists. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]