Bug 131138 - Cannot export a master document to EPUB.
Summary: Cannot export a master document to EPUB.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Writer-Master-Doc EPUB-Export
  Show dependency treegraph
Reported: 2020-03-05 00:13 UTC by Thomas Leigh
Modified: 2021-12-19 21:55 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:
Regression By:

This is the e-book which I can’t export to .epub. (861.76 KB, application/octet-stream)
2020-03-05 15:15 UTC, Thomas Leigh

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Leigh 2020-03-05 00:13:40 UTC
I cannot export my e-book (a master document) into an .epub format. It always ends up with an error message.

Steps to Reproduce:
1. Open a master document.
2. Choose *File › Export As › Export as EPIB...*.

Actual Results:
An error pops up: “Error saving the document Thomas Leigh - Meditation Experience:

Wrong parameter.

The operation was started under an invalid parameter.”

Expected Results:
The document should be saved to .epub successfully.

Reproducible: Always

User Profile Reset: No

Additional Info:
The problem persists at least since LibreOffice v. 6.3.4 to the v. 6.4.1.

The feature of exporting to .epub seems to work well in case of a normal (non-master) document.

If it would help, I can provide You with my document and all its sub-documents...
Comment 1 ian 2020-03-05 14:32:09 UTC
Thank you for reporting the bug. 

Please attach the documents you mentioned in the bug report, as this makes it easier for us to verify the bug.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.

(Note that the attachment will be public, remove any sensitive information before attaching it.
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for further details.)
Comment 2 Thomas Leigh 2020-03-05 15:15:01 UTC
Created attachment 158413 [details]
This is the e-book which I can’t export to .epub.
Comment 3 Dieter 2020-03-11 16:45:05 UTC
I confirm it with a master document created by myself and

Version: (x64)
Build ID: eeb2d19e77d6dc47c68e8ba0920a02cf64a1247b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: threaded

and also

Version: (x64)
Build-ID: dd0751754f11728f69b42ee2af66670068624673
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded

Error message:
"Error saving the document Globaldokument:
Wrong parameter.
The operation was started under an invalid parameter."

Export as PDF is possible
Comment 4 Julien Nabet 2020-06-19 17:14:11 UTC
It's possible to use a workaround.
First export in odt then export to EPUB.
Of course this tracker is still relevant.
Comment 5 Cliff Pratt 2020-11-21 21:59:40 UTC
I also appear to be experiencing this bug, in Ubuntu 20.10, LibreOffice (Ubuntu packaged version)
Comment 6 P Cunningham 2021-03-27 12:14:10 UTC
Same here in Version: (x64) / LibreOffice Community
Build ID: fe0b08f4af1bacafe4c7ecc87ce55bb426164676
CPU threads: 2; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

>Export as .odt>Export as EPUB works
Comment 7 Errol 2021-06-12 01:21:28 UTC
I found the same bug. Can not export EPUB from .odm, but exporting to .odt then exporting to epub work-around works.
Error message is the same (except for the file name).

LibreOffice Version:
Build ID: 1:6.4.7-0ubuntu0.20.04.1
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3;
Comment 8 goodguy00@zoho.com 2021-12-19 21:55:19 UTC
same problem confirmed in:
Version: / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-CH (en_US.UTF-8); UI: en-US

exporting odm terminates with:
Error saving the document xxx
Wrong parameter.
The operation was started under an invalid parameter.