Bug 166938 - libre writer is unable to repair a word file saved by pspp.
Summary: libre writer is unable to repair a word file saved by pspp.
Status: RESOLVED DUPLICATE of bug 166862
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-10 12:26 UTC by elias estatistics
Modified: 2025-06-10 13:56 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
sample odt (34.44 KB, application/vnd.oasis.opendocument.text)
2025-06-10 12:26 UTC, elias estatistics
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elias estatistics 2025-06-10 12:26:12 UTC
Created attachment 201177 [details]
sample odt

libre writer is unable to repair a word file saved by pspp. 
I am not sure who is that bug pspp or writer? 

In any way, i think that the file is somehow valid and librewriter must be able to repair it. 



Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 24; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Debian package version: 4:25.2.3-2
Calc: threaded
Comment 1 elias estatistics 2025-06-10 12:37:37 UTC
`if [ $? -eq 0 ]; then   echo "XML is well-formed."; else   echo "XML is not well-formed."; fi`

it produces "xml is well formed" after unziped for content.xml.
Comment 2 elias estatistics 2025-06-10 12:38:43 UTC
sorry, this i meant "xmllint --noout  content.xml " no output meaning that no errors exist in xml file
Comment 3 elias estatistics 2025-06-10 12:42:01 UTC
It is unbelievable, extracting and zipping again, the file is opened normally frop librewriter! what is happening?
Comment 4 Mike Kaganski 2025-06-10 13:53:54 UTC

*** This bug has been marked as a duplicate of bug 166862 ***
Comment 5 Mike Kaganski 2025-06-10 13:56:50 UTC
There are two issues here:

1. The ZIP is bad. We have introduced some additional checks for ZIP compression correctness recently; this ZIP has some records inconsistent. This creates the proposal to repair; that is correct (and "pspp" should be notified).

2. Inability to repair was LibreOffice bug, specific to broken CRC check in repair mode. That was bug 166862.