Hi, originally reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028290. Still reproducible in current master. If we ignore the environment this boils down to: Transcript with the GUI package: # loffice --convert-to png /x/A.pptx Warning: failed to launch javaldx - java may not function correctly convert /x/A.pptx -> /A.png using filter : impress_png_Export Same from the -nogui pkg: # loffice --convert-to png /x/A.pptx Warning: failed to launch javaldx - java may not function correctly Unspecified Application Error (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028290#5) He sent straces (which unfortunately didn't end up in the bug log...), but it seems to be this: It *seems* to be this in your nogui-strace: 94919 21:08:29.439478 openat(AT_FDCWD, "/usr/lib/libreoffice/share/config/soffice.cfg/modules/simpress/ui/tabviewbar.ui", O_RDONLY) = -1 ENOENT (No such file or directory) 94919 21:08:29.439573 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- 94919 21:08:29.439478 openat(AT_FDCWD, "/usr/lib/libreoffice/share/config/soffice.cfg/modules/simpress/ui/tabviewbar.ui", O_RDONLY) = -1 ENOENT (No such file or directory) 94919 21:08:29.439573 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- Why does --convert-to in a --disable-gui build need .ui files? It should work without.... Indeed it's the .ui file (or more): rene@debianunstable:~$ lodraw --convert-to A.png A.pptx Unspecified Application Error rene@debianunstable:~$ su - Passwort: root@debianunstable:~# cd /home/rene/ root@debianunstable:/home/rene# cp -ra usr/lib/libreoffice/share/config/soffice.cfg/* /usr/lib/libreoffice/share/config/soffice.cfg/ [ directory tree is dpkg-deb -x <libreoffice-impress deb> . ) root@debianunstable:/home/rene# Abgemeldet rene@debianunstable:~$ lodraw --convert-to A.png A.pptx convert /home/rene/A.pptx as a Impress document -> /home/rene/A.A.png using filter : impress_png_Export rene@debianunstable:~$
Just tried from a clean state again. It's definitely tabviewbar.ui which suffices and makes it work: rene@debianunstable:~$ soffice --convert-to A.png A.pptx Warning: failed to launch javaldx - java may not function correctly Unspecified Application Error rene@debianunstable:~$ su - Passwort: root@debianunstable:~# cd /home/rene/ root@debianunstable:/home/rene# mkdir -p /usr/lib/libreoffice/share/config/soffice.cfg/modules/simpress/ui root@debianunstable:/home/rene# cp usr/lib/libreoffice/share/config/soffice.cfg/modules/simpress/ui/tabviewbar.ui /usr/lib/libreoffice/share/config/soffice.cfg/modules/simpress/ui root@debianunstable:/home/rene# Abgemeldet rene@debianunstable:~$ soffice --convert-to A.png A.pptx Warning: failed to launch javaldx - java may not function correctly convert /home/rene/A.pptx as a Impress document -> /home/rene/A.A.png using filter : impress_png_Export Overwriting: /home/rene/A.A.png rene@debianunstable:~$ Why does --convert-to have do do anything with the tabviewbar UI? ;)
(did https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/commit/d37404423e2697858ca0927cbd5fc37a6ab76f8f for now as a workaround. That of course doesn't scale, if more stuff like this happens one probably needs libreoffice-iconfig-impress package or somesuch impress and impress-nogui [1] depend on...) [1] and incidentially also draw (see https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/blob/debian-experimental-7.5/rules#L2762)
> if more stuff like this happens one probably needs libreoffice-iconfig-impress package or somesuch impress and impress-nogui [1] depend on...) Decided to actually do that in 7.6 onwards. https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/commit/7ad582bab08c00b8548d4d34cb2b4bc064d24395 But still I think a --disable-gui and even a --convert-to only there shouldn't require .ui files. At all.
Didn't test, but I believe you -> NEW
In order to reproduce it: 1. Build with --disable-gui 2. rm instdir/share/config/soffice.cfg/modules/simpress/ui/tabviewbar.ui 3. --headless --convert-to png