View Single Post
Old 03-07-2026, 06:48 PM   #49
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,045
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
This error is a technical compatibility issue between the English Noun Frequency plugin and the latest versions of Python (the language Calibre runs on).

Here's what's happening:

Why does it occur?
The error AttributeError: 'ENFHTMLStripper' object has no attribute 'scripting' is due to the plugin developer inheriting functions from a Python standard library (html.parser) that changed in recent versions.

Specifically, the plugin tries to clean the book's HTML code to extract the words, but it can't find an internal parameter called 'scripting' that newer versions of Python expect. It's a "clash" between the plugin's older code and Calibre's newer code.
dunhill is offline   Reply With Quote