Bug 152185 - Error (additional char) when converting a .doc document using the cli --convert option
Summary: Error (additional char) when converting a .doc document using the cli --conve...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-23 11:40 UTC by Vivien Guillet
Modified: 2022-12-03 17:48 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
a file exhibiting the faulty conversion (17.50 KB, application/msword)
2022-11-23 12:32 UTC, Vivien Guillet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vivien Guillet 2022-11-23 11:40:33 UTC
Description:
When running 

lowriter --convert-to odt:writer8 --outdir /tmp somedocument.doc

In the resulting /tmp/somedocument.odt, a leading dot "." is added at the start of the document

Steps to Reproduce:
1. using for instance this document : https://framagit.org/Vivien/natbraille/-/raw/master/natbraille-nonregression/src/main/resources/org/natbraille/nonregression/src/A_ExtraitEnvers_liste.doc
2. lowriter --convert-to odt:writer8 --outdir /tmp A_ExtraitEnvers_liste.doc

Actual Results:
a leading dot is added at the beginning of the document

Expected Results:
no leading dot at the beginning of the document


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Debian package version: 1:7.0.4-4+deb11u4
Calc: threaded
Comment 1 Vivien Guillet 2022-11-23 12:32:43 UTC
Created attachment 183732 [details]
a file exhibiting the faulty conversion

added a file exhibiting the faulty conversion
Comment 2 Stéphane Guillou (stragu) 2022-12-03 17:09:32 UTC
Bonjour Vivien

I could reproduce with:

Version: 7.1.8.1 / LibreOffice Community
Build ID: e1f30c802c3269a1d052614453f260e49458c82c
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

However, it does not show the extra dot anymore with:

Version: 7.2.7.2 / LibreOffice Community
Build ID: 8d71d29d553c0f7dcbfa38fbfda25ee34cce99a2
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: de-DE (en_AU.UTF-8); UI: en-US
Calc: threaded

Please upgrade to a currently supported version of LibreOffice, like 7.4, as 7.0 has reached end of life.

Thank you!
Comment 3 Vivien Guillet 2022-12-03 17:48:07 UTC
Thank you for taking the time to reproduce the behavior.

Note that the 7.0 version is the one provided by current debian stable, thus will be used by a lot of people long after being marked "end of life".