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

          Priority: medium
            Bug ID: 67009
          Assignee: [email protected]
           Summary: Other: soffice.bin does not report errors on STDERR
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.0.4.2 release
         Component: Libreoffice
           Product: LibreOffice

Problem description: 
soffice.bin does not raise an error if it is passed an invalid input file.

Given the following command line:
soffice.bin -headless -convert-to pdf:writer_pdf_Export -outdir files/
I_do_not_exist.xls

LibreOffice will silently fail without providing an error.

Steps to reproduce:
1. Run the following command on the command line:
soffice.bin -headless -convert-to pdf:writer_pdf_Export -outdir files/
I_do_not_exist.xls

2. No errors or warnings are raised...

Current behavior:
soffice.bin silently fails with no indication that anything went wrong. No
warning/error diagnostic is printed to STDOUT or STDERR, and the Windows
%ERRORLEVEL% variable remains unchanged.

Expected behavior:
soffice.bin should raise a warning describing the issue (missing or
inaccessible file) and exit with an error status.      
Operating System: Windows 7
Version: 4.0.4.2 release

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to