Ok I tested with two new WSL Ubuntu LTS 18.04 LTS and 20.04 and obtain the same results.
I think your first intuition was the good one:
Indeed, my “odp” file was created by unoconv
from an ''odg" file with this command:
unoconv -f odp test.odg
When I try to open this file with LO Impress, it automaticly redirect to Draw…
If I create a simple file called “test2.odp” with LO Impress - which is succesfully converted into ppt with soffice (see my older response above) - and then:
- Export it to pdf with libreoffice.
- Convert it into “odg” with
libreoffice --headless --convert-to odg test2.pdf
- Convert it into “odp” with
unoconv -f odp test2.odg
- Finally convert it into ppt with
soffice --convert-to ppt:"MS PowerPoint 97" test2.odp
And this time I got the same error as usual ("Code 16
", see my older responses above).
So, the problem is probably the unoconv
conversion…
But why I can well convert it to “ppt” with OO and not with soffice
?
Have you, by chance, an idea of a way to convert it with OO in command line too?
I’m really interrested in a command line conversion and not a “Save as” because I need to automate the process… If the “Save as” is done by command line it’s also ok for me…
I should told you about unoconv
earlier but I didn’t expect it would change anything… I’m sorry for that.