View Single Post
Old 01-02-2023, 10:40 PM   #7877
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
As near as I can tell, converting a BeautifulSoup4 (4.10.0 to be exact) soup back to a text (str(soup)) in Calibre 6.10.0 some how crashes out instead of raising the appropriate RecursionError.

But trying it in Calibre 5.44 (BS4 version:4.9.1) does raise the error appropriately.

I forced my CLI python install to BeautifulSoup4 v4.10.0 and it worked as expected, raising RecursionError, suggesting it's something Calibre specific, not BS4.10.

This is not, apparently, limited to Calibre background job procs either. Running it in the foreground will also immediately cause the Calibre GUI to exit without any warning or details, even in debug mode.

I've opened a calibre bug(2000888) to bring this to Kovid's attention.
JimmXinu is offline   Reply With Quote