View Single Post
Old 04-12-2019, 05:49 PM   #48
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: 6,999
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I submit that's possibly the opposite problem, since FFF includes BS4.6.1 and BeautifulSoup doesn't use SoupSieve in that version:

Quote:
As of version 4.7.0, Beautiful Soup supports most CSS4 selectors via the SoupSieve project. If you installed Beautiful Soup through pip, SoupSieve was installed at the same time, so you don’t have to do anything extra.

BeautifulSoup has a .select() method which uses SoupSieve to run a CSS selector against a parsed document and return all the matching elements. Tag has a similar method which runs a CSS selector against the contents of a single tag.

(Earlier versions of Beautiful Soup also have the .select() method, but only the most commonly-used CSS selectors are supported.)
So I suspect that what PandathePanda is seeing is Calibre's included BS4.7 being used in at least part of the FFF code and not finding SoupSieve for whatever reason. Because the BS4.6.1 included in FFF shouldn't need it.

But that's speaking theoretically, I haven't tried the beta version yet myself.
JimmXinu is offline   Reply With Quote