Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-01-2022, 02:32 PM   #1
Boilerplate4U
Enthusiast
Boilerplate4U began at the beginning.
 
Boilerplate4U's Avatar
 
Posts: 38
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
"Continue on error" for jobs and extended logging

Hi @kovidgoyal!

I've got a couple of questions regarding the post "Transfer job gets interrupted because of content error in epub"

  1. Where do you think is the best way to place a tweak that enables "continue on error" for a transfer job?
  2. How it possible to extend the logging for a job to include name of a book that fails copying?

Thanks in advance!
Boilerplate4U is offline   Reply With Quote
Old 09-01-2022, 10:22 PM   #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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's up to the individual device plugin. There is no way for calibre to know when it is safe to proceed despite an error or to know which book the plugin was transferring when the error happened. The control is entirely in the hands of the plugin. The plugin can catch exceptions and log them and finish transferring the rest and the re-raise an error if it likes.
kovidgoyal is offline   Reply With Quote
Advert
Old 09-02-2022, 02:45 AM   #3
Boilerplate4U
Enthusiast
Boilerplate4U began at the beginning.
 
Boilerplate4U's Avatar
 
Posts: 38
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
Thanks! Back to the KoboTouchExtended plugin thread again.
Boilerplate4U is offline   Reply With Quote
Reply

Tags
job continue on error, logging


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Epub 2.0.1 validator error: "Error while parsing file: element "img" missing required justin-b-918 ePub 6 04-26-2022 10:02 AM
Help with recipe: "continue reading" links zaroz Recipes 0 10-28-2020 01:03 AM
NYT recipe output has "Continue reading..." links tannenba Recipes 3 02-26-2014 09:28 AM
PRS-T1 "Continue Reading" upon selection in "Books" GreenAir Sony Reader 7 04-16-2013 07:31 PM
iLiad SDK details revealed! "Free" and "extended" ... TadW iRex Developer's Corner 24 08-14-2006 03:29 AM


All times are GMT -4. The time now is 01:42 PM.


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