|
|
#46 | |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 12544
Join Date: Jul 2018
Device: None
|
Quote:
How do I know if any of my epubs use ".html" versus ".html"? Thank you! |
|
|
|
|
|
|
#47 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 12544
Join Date: Jul 2018
Device: None
|
English Noun Frequency -- plugin documentation?
Thank you INCREDIBLY much for your great plugin: "English Noun Frequency"
![]() Is there any documentation about configuration/settings/etc for your "English Noun Frequency" plugin? I notice there are helpful pop-ups when I hover my mouse over certain areas... this made me wonder if there was any documentation (or wiki) that the whole world knows of -- except me ![]()
|
|
|
|
|
|
#48 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2020
Device: Nook Simple Touch; Nook Glowlight Classic
|
ENF Failing Frequently
In the last couple of months, about 80% of books I add to my library crash ENF. In the past I could just run ENF across my entire library; now I have to do it one book at a time or it aborts and I have to start over. I haven't been able to determine any connections between books that work and books that don't - I've gotten both results from the same sources and across different sources.
It feels like it started happening around the time Calibre v9 was released, but I don't really have any evidence for that. Today I tried uninstalling the ENF plugin entirely and reinstalling it, but the behavior is the same. What else can I try? Error message: Spoiler:
Last edited by theducks; 03-07-2026 at 09:45 PM. Reason: spoilered LOG s |
|
|
|
|
|
#49 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#50 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2020
Device: Nook Simple Touch; Nook Glowlight Classic
|
But why would it still work on some books?
I remember the switchover to Python 3 years ago breaking everything, but what changed this time? Is there anything I can do about it? It looks like Python v14.3.1 added a "scripting" parameter to html.parser.HTMLParser last December. But it also says it has a default value, so shouldn't be needed. I'm not fluent in Python, but if that's the order of the traceback, the bug is in html\parser.py, which I don't see packaged inside ENF. Wouldn't that make it a global system file? |
|
|
|
![]() |
| Tags |
| comments, frequency, spanish, tags, translate |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 529 | 01-28-2026 10:32 AM |
| [GUI Plugin] Wordpress | frescogamba | Plugins | 11 | 04-06-2015 09:09 PM |
| German -> English Dictionary and noun/verb forms | laylos | Amazon Kindle | 5 | 07-23-2014 11:40 PM |
| [GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 06:39 PM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |