Bug 123970 - Reflowable epub2/epub3 output fails with General Input/Output Error
Summary: Reflowable epub2/epub3 output fails with General Input/Output Error
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha0+
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EPUB-Export
  Show dependency treegraph
 
Reported: 2019-03-09 21:06 UTC by kroeger_frank
Modified: 2022-10-06 17:10 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Demo.docx test file to reproduce this bug (1.25 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-03-09 21:07 UTC, kroeger_frank
Details
console logs + bt (59.88 KB, text/plain)
2019-03-10 08:48 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kroeger_frank 2019-03-09 21:06:29 UTC
Description:
I can't generate reflowable epub2/epub3 builds from the attached demo.docx file. (Fixed layout epubs work fine.) 

I tested this with the March 8 2019 nightly build (Version: 6.2.3.0.0+ (x64). The bug also occurs with the same version and the latest x64 Linux kernels. (The bug was also present in earlier versions.)

Steps to Reproduce:
1. Open the attache demo.docx file.
2. Select File > Export as > Export as EPUB...
3. Accept all defaults (EPUB 3.0, Heading, Reflowable), click OK and select the default file name (demo.epub).


Actual Results:
The output will fail with a General input output error. 

Expected Results:
Writer should generate a reflowable epub3 document. 


Reproducible: Always


User Profile Reset: No



Additional Info:
FIXED layout EPUB 2.0/3.0 output works. I can also generate reflowable epub3 books from simple .docx files. Most likely there's a bug in the .docx parser and/or the reflowable epub converter.
Comment 1 kroeger_frank 2019-03-09 21:07:42 UTC
Created attachment 149847 [details]
Demo.docx test file to reproduce this bug
Comment 2 Julien Nabet 2019-03-10 08:48:20 UTC
Created attachment 149852 [details]
console logs + bt

On pc Debian x86-64 with master sources updated today, I got an assert.
Comment 3 Xisco Faulí 2019-03-22 16:29:49 UTC
Also reproduced in

Version: 6.1.0.0.alpha1+
Build ID: 3a801799536e6870f2fb111b1cc00b9575a35a39
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

@Miklos, I thought you might be interested in this issue
Comment 4 QA Administrators 2022-03-19 03:32:08 UTC Comment hidden (obsolete)
Comment 5 raal 2022-10-06 16:37:32 UTC
No repro with Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: a0bc0cc81b597aa81189355a8125753d6b873cce
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

Please retest. Thank you!
Comment 6 Julien Nabet 2022-10-06 17:09:45 UTC
On pc Debian x86-64 with master sources updated today, I don't reproduce anymore the assertion.
Now I don't know if the epub is ok or not.