Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 11-12-2022, 01:48 AM   #1
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
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.
Attached Thumbnails
Click image for larger version

Name:	toc_error.jpg
Views:	101
Size:	142.1 KB
ID:	197670  
Karellen is offline   Reply With Quote
Old 11-12-2022, 02:49 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,320
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...d551b3b521831c
kovidgoyal is offline   Reply With Quote
Advert
Old 11-12-2022, 03:35 AM   #3
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Thank you very much @kovidgoyal

Karellen is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 07:15 AM.


MobileRead.com is a privately owned, operated and funded community.