Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-27-2022, 12:06 PM   #1
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Dec 2010
Device: kindle voyage
Timeout not working

Hi all,

I've got a recipe for heise.de which works sometimes and sometimes it is stuck, I'd think they make it on purpose. Anyway, the recipe is always stuck at 1% in fetching articles or images. I can live without reading these news every day, but since I don't want it hanging forever, I've added the timeout as

timeout = 120

to the recipe, but it makes no difference, the recipe does not stop after 2 minutes or actually not at all. Does the timeout work at all, or does it work only in particular circumstances?
bubak is offline   Reply With Quote
Old 09-27-2022, 11:27 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: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
timeout is passed to the underlying mechanize library. After that it's up to mechanize.
kovidgoyal is offline   Reply With Quote
Advert
Old 09-29-2022, 04:05 AM   #3
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Dec 2010
Device: kindle voyage
Hi Kovid,

mechanize seems to have a lot of issues with timeout (https://stackoverflow.com/questions/...with-mechanize , https://splunktool.com/how-do-i-set-...hons-mechanize , https://stackoverflow.com/questions/...24210#14924210 etc. etc.). What about using some workaround? I understand that this is not so urgent, but it would help :-)
bubak is offline   Reply With Quote
Old 09-29-2022, 07:14 AM   #4
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,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Simply set the max duration for jobs in Preferences->Miscellaneous
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kobopatch: difference between "custom sleep timeout" and "larger sleep timeout" Antioch Kobo Developer's Corner 0 02-05-2022 08:18 AM
Power-off timeout Hamsky KOReader 5 02-26-2019 02:31 PM
How do you alter the TimeOut? Beamer Smith Recipes 4 04-30-2016 04:17 PM
Screensaver timeout Kityn Amazon Kindle 0 09-23-2014 07:57 AM
Timeout hjay Feedback 2 02-16-2012 01:06 PM


All times are GMT -4. The time now is 06:57 PM.


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