Command line SVG conversion doesn't work. PNG does

Hi there!

Problem:

I’m calling the LibreOffice executable with the following parameters:

soffice.exe" --headless --convert-to svg:"draw_svg_Export" "gumnut.fodg"

This doesn’t produce any output. Not even a 0-byte file.

But when I call LibreOffice again to convert my file to PNG it works like a charm:

soffice.exe" --headless --convert-to png:"draw_png_Export" "gumnut.fodg"

Solution:

I have tried several other output formats and all seem to work. Only the SVG output doesn’t.

I tried to find an answer for that problem and found this bug report: https://bugs.freedesktop.org/show_bug.cgi?id=60137
But there it says the SVG output has been fixed.

I’m currently running version 4.2.2.1.
An older version of my program was running on a machine using a older version of LibreOffice (I think somewhat like 3.x) and the SVG output worked.

Question:

Does anyone know how to produce SVG output? Is my problem related to the bug report?

This sounds like fdo#63324 “Headless conversion fails: Error: Please reverify input parameters…” a problem of an introduced bug in 4.0 with the command line tool. Did you get a file without the --headless?

Thanks for your answer!

What do you exactly mean when you say “without --headless”?
I can open my drawing width LibreDraw and click Export and save it as an SVG file.

When I call

soffice.exe" --convert-to svg:"draw_svg_Export" "gumnut.fodg"

The splash screen apears and the launcher starts but I get no output.