![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Error: Failed to gather data
Hello,
When running the Reports tool, I occasionally encounter the "Error: Failed to gather data" error as shown in the image. It is not a recent error, and has been around even in QT5 releases. It affects EPUB v3.0 only I am using Windows 10 To replicate... Open the "Edit Table of Contents" tool Delete all the entries Run "Generate ToC from major headings" I normally add a couple of extra items, like Cover page and Title page OK. When you run the Report tool, the error occurs. To fix... Delete the nav.xhtml and toc.ncx files Recreate the table of contents. This seems to fix whatever the problem is. When I run "Check Book" or "EpubCheck" before the fix, no errors are flagged. Why do I delete the existing TOC? Because I have recreated the chapters and most likely changed them from a <p> tag to the usual <h> tags. Or I have added additional pages like Character Summary. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,320
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Thank you very much @kovidgoyal
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Failed to Export Data - Invalid Argument Error When Exporting Data | zakropotch | Calibre | 6 | 06-18-2022 06:09 PM |
ERROR: Failed: Failed to export data | Funkybassman | Library Management | 3 | 05-09-2020 07:22 AM |
Error:Failed to create library: Failed | wolfkin | Library Management | 1 | 06-18-2019 04:42 PM |
Failed to communicate with "/interface-data/init? Network Error? | bcantrell | Devices | 3 | 01-31-2018 10:38 AM |
Failed feed: Tips_<urlopen error [Errno 11004] getaddrinfo failed> | Danesh | Recipes | 4 | 03-19-2015 03:45 AM |