[Libreoffice-bugs] [Bug 123861] New: Headless conversion fails silently

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Mar 5 09:12:51 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=123861

            Bug ID: 123861
           Summary: Headless conversion fails silently
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Extensions
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: loff at mangrove.cz

Created attachment 149733
  --> https://bugs.documentfoundation.org/attachment.cgi?id=149733&action=edit
test input

The command

export HOME=/home/testuser/X-C-201941787 && libreoffice --headless --convert-to
pdf --outdir /home/testuser/X-C-201941787
/home/testuser/X-C-201941787/filledTemplate.odt

does not generate any pdf on some systems (i.e. Linux amc-dev 3.16.0-6-amd64 #1
SMP Debian 3.16.57-2 (2018-07-14) x86_64 GNU/Linux). Same command works for
root. X-C-201941787 is a temporary directory, created empty before running the
conversion (in production, testuser is Apache, doing the conversion for web
clients). LibreOffice is standard Debian package, LibreOffice 4.3.3.2
430m0(Build:2). filledTemplate.odt is attached but nothing special - the
failure should be reproducible with basically any input. The underlying problem
(found with strace) is the existence of a directory,
/var/spool/libreoffice/uno_packages/cache/uno_packages/ , which is only
readable by root.

That problem is _not_ the subject of this bug report - I don't know where the
directory came from (although since it appeared on both development and
production machines, there probably is a way to provoke it), and it might well
be outside LibreOffice. What I'd expect from LibreOffice is to report (say on
standard error - it already uses it for successful conversions) that it cannot
read a directory it needs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190305/7454838e/attachment-0001.html>


More information about the Libreoffice-bugs mailing list