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

            Bug ID: 169483
           Summary: Un-redirectable messages: Request back-port of .docx
                    -> .txt filter patch to 25.8.3.x
           Product: LibreOffice
           Version: 25.8.3.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: [email protected]
          Reporter: [email protected]

LO versions 25.* (but not 24.*) somehow emit messages directly to the terminal
(written to /dev/tty ?), so that they can not be suppressed by redirecting
stdout and stderr.   This occurs when converting .docx to .txt. 

This bug was introduced in 25.* and fixed in the 26.* series, but remains in
the latest 25.x release which is included in current Ubuntu (25.8.3.2).

It would be great if a backport patch release to 25.8.3 could be done to cure
this, so distributions like Ubuntu won't have to wait for 26.2 to get rid of
this problem.   (Just to be clear, I am not speaking for Ubuntu; I just want to
be able to ask them to update their packages to libreoffice's latest stable
release, to make these un-stoppable messages go away as quickly as possible).

STEPS TO REPRODUCE:

1. If necessary, install 25.8.3 using
https://mirror1.cs-georgetown.net/tdf/libreoffice/stable/25.8.3//deb/x86_64/LibreOffice_25.8.3_Linux_x86-64_deb.tar.gz

(download the tarball, extract the .debs within it, and then use "dpkg-deb -x
path/to/file.deb /test/dir for each .deb; then run
/test/dir/xxx/opt/libreoffice25.8/program/soffice)

2. soffice --headless --convert-to txt --outdir /some/temp/dir
/path/to/a/file.docx >/dev/null 2>/dev/null

RESULTS: A message appears on the terminal like

  convert /path/to/a/file.docx as a Writer document -> /some/temp/dir/file.txt 
 using filter : Text
  Overwriting: /some/temp/dir/file.txt

EXPECTED RESULT: Silence (messages are printed only to stdout or stderr, which
are redirected to /dev/null)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to