[Libreoffice-bugs] [Bug 48413] : Command line bulk conversion from doc to odf not working

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 22 11:03:09 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48413

--- Comment #2 from zumbs at yahoo.com 2012-04-22 02:03:09 PDT ---
I installed LibreOffice 3.5.1rc1 and tried out the following command line
argument:

C:\Docs\In>for %i in (*.doc) do soffice.exe --headless --convert-to odf
--outdir C:\Docs\Out %i

Output:

C:\Docs\In>soffice.exe --headless --convert-to odf --outdir C:\Docs\Out
File1.doc

C:\Docs\In>soffice.exe --headless --convert-to odf --outdir C:\Docs\Out
File2.doc

C:\Docs\In>soffice.exe --headless --convert-to odf --outdir C:\Docs\Out
File3.doc

The first file was correctly converted, but conversion of subsequent files
failed. It would seem that Windows starts the three calls in parallel, which
causes us to run into the bug where the command line fail to succeed if
LibreOffice is already running (bug 37531). I saw a lot of instances of
soffice.exe and soffice.bin in Taskmanager.

I tried using an Ubuntu 11.04 live cd. With command line arguments similar to
the one in my original bug report, I got full conversion of the contents of
C:\Docs\In, so it seems like it is a Windows bug.

On a side note, I made a small .net tool to convert the files one at a time, so
I no longer need a workaround.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list