Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-26-2025, 10:41 PM   #46
wjBLqf-_9
Connoisseur
wjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 58
Karma: 12544
Join Date: Jul 2018
Device: None
Quote:
Originally Posted by DaltonST View Post
I infer that some of your epub formats use ".htm" instead of ".html". That is non-standard, and does not conform to the latest epub specifications. I suggest you convert them in Calibre from your non-standard epub format to Calibre's current standard epub-3 format. Calibre will automatically output .html files within the new epub.



DaltonST
I have a question for DaltonST: how does one go about confirming if they have any epubs that are not the current 'epub-3' format?

How do I know if any of my epubs use ".html" versus ".html"?

Thank you!
wjBLqf-_9 is offline   Reply With Quote
Old 02-26-2025, 10:45 PM   #47
wjBLqf-_9
Connoisseur
wjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterwjBLqf-_9 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
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
wjBLqf-_9 is offline   Reply With Quote
Old 03-06-2026, 10:43 PM   #48
coffeeblack
Junior Member
coffeeblack began at the beginning.
 
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:

calibre, version 9.4.0 (win32, embedded-python: True)
ENF Job Failed...: Failed: English Noun Frequency

Starting job: English Noun Frequency
Starting 'English Noun Frequency'
Library DB: D:/Calibre/metadata.db
Fri Mar 6 21:33:23 2026
Python: Windows CPython 3.14.2
SQLite Version: 3051.1 [APSW]
PRAGMA main.busy_timeout = 15000

Beginning 'English Noun Frequency' Processing
══════════════════════════════════════════════════ ══════════════════════════════════════════════════ ═════════════════════════════════════════════

Chosen Options:

-------------------------------------------

Update Comments? False
Maximum Words to Add to Comments: 10
Comments Location: Append
Remove Previous ENF Comments Prior to Update? True

-------------------------------------------

Update Custom Column? True
Maximum Words in Custom Column: 100
Custom Column Specified: #enf
Sort Custom Column Words Alphabetically (not by Frequency)? False

-------------------------------------------

Obfuscate Obscenities? False
Update Nothing. Just Log the List of Words? False
Update Nothing. Just Remove Previous ENF Comments? False

-------------------------------------------

Accumulate the Most Frequent Nouns in this .csv File: /
Accumulate the Most Frequent Nouns for all books for all jobs? False
Pause the Accumulation of Most Frequent Nouns? False

-------------------------------------------

Delete Global First Names? True
Delete the Top 100 Most Common Nouns? True

-------------------------------------------

Add New Tags? False
Maximum New Tags: 3
Only Add New Tags, or Replace All Existing Tags? Add

-------------------------------------------

Is Translation of English Nouns Active? False
English will be Translated to this Language: None
Custom Translation Mapping File to Use: Select Custom Translation File

-------------------------------------------

Number of English word pairs in the standard 'singularlural pair' list: 4,557

Number of English words in the standard 'always discard' list: 18,927

Number of global first names in the standard 'first names to discard' list: 3,536

Number of English words in the standard 'always keep' list: 44,824

Standard 'obscenities' will not be obfuscated (as per settings).

Number of English word pairs in the standard 'change pairs' list: 19

Number of English words in the standard 'acronyms to capitalize' list: 54


Number of 'User custom good words' loaded from the Calibre Plugin Directory: 0

Number of 'User custom bad words' loaded from the Calibre Plugin Directory: 0

The 'user custom word change pairs' that were loaded, if any, have been lost.

Number of 'User custom word change pairs' loaded from the Calibre Plugin Directory: 0

Number of 'User custom word change pairs' that force a word to all upper case after counting is complete: 0

Number of 'User custom word change pairs' that force a word to title case after counting is complete: 0

Number of 'User custom word change pairs' that will be Defaulted: 0


Default: Any 'Most Frequent Noun' that does not have a specific rule to force it to all upper case will be titlecased.



Number of 'User custom singularlural pairs' loaded from the Calibre Plugin Directory: 0



Lists have been synchronized by 'Priority': Custom User Good Words > Custom User Bad Words > Standard Good Words > Standard First (Bad) Names > Standard Bad Words.


-------------------------------------------


Number of selected books for which to determine 'English Noun Frequency': 1


Priority sequence in which book formats will be searched until one is found to use: (1st) TXT (2nd) EPUB (3rd) PDF



══════════════════════════════════════════════════ ══════════════════════════════════════════════════ ═════════════════════════════════════════════
Book: D:/Calibre/Ryan DeBruyn/Miner's Monopoly (43340)/Miner's Monopoly - Ryan DeBruyn.epub
Job: "English Noun Frequency" failed with error:
Traceback (most recent call last):
File "calibre\gui2\threaded_jobs.py", line 85, in start_work
File "calibre_plugins.english_noun_frequency.enf_ma in", line 249, in main_english_noun_frequency
File "calibre_plugins.english_noun_frequency.enf_ma in", line 733, in ENF_Control
File "calibre_plugins.english_noun_frequency.enf_ma in", line 869, in determine_enf_single_book
File "calibre_plugins.english_noun_frequency.enf_ma in", line 2509, in filter_text
File "calibre_plugins.english_noun_frequency.enf_ma in", line 2714, in strip_html_tags
File "html\parser.py", line 169, in feed
File "html\parser.py", line 251, in goahead
File "html\parser.py", line 467, in parse_starttag
AttributeError: 'ENFHTMLStripper' object has no attribute 'scripting'

Called with args: (<calibre_plugins.english_noun_frequency.ui.Action EnglishNounFrequency object at 0x000002210AE298B0>, <calibre.db.legacy.LibraryDatabase object at 0x0000022178C5FE00>, 'C:\\Users\\forke\\AppData\\Roaming\\calibre\\plug ins\\English Noun Frequency.zip', ['43340'], {'COMMENTS_MAX': '10', 'TAGS_MAX': '3', 'CUSTOM_COLUMN_MAX': '100', 'COMMENTS_PREPEND_APPEND_REPLACE': 'append', 'COMMENTS_CHECKBOX': 'False', 'COMMENTS_REMOVE_PREVIOUS_ENF_COMMENTS_CHECKBOX': 'True', 'TAGS_CHECKBOX': 'False', 'TAGS_REPLACE_ADD': 'add', 'CUSTOM_COLUMN_CHECKBOX': 'True', 'CUSTOM_COLUMN_NAME': '#enf', 'CUSTOM_COLUMN_SORT_ALPHA': 'False', 'REMOVE_GLOBAL_FIRST_NAMES': 'True', 'OBFUSCATE_OBSCENITIES': 'False', 'REMOVE_TOP_100_NOUNS': 'True', 'TRANSLATE_ENGLISH_TO_OTHER_IS_ACTIVE': 'False', 'TRANSLATE_ENGLISH_TO_OTHER_LANGUAGE': 'none', 'TRANSLATE_ENGLISH_TO_OTHER_LANGUAGE_USER_DICT_FIL E': 'Select Custom Translation File', 'OTHER_CHECKBOX_ONLY_LOG_COMMENTS': 'False', 'OTHER_REMOVE_PREVIOUS_ENF_COMMENTS_CHECKBOX': 'False', 'OTHER_SAVE_ALL_MOST_COMMON_TO_FILE': 'False', 'OTHER_SAVE_ALL_MOST_COMMON_TO_CSV_FILE_FULL_PATH' : '/', 'OTHER_SAVE_ALL_MOST_COMMON_TO_FILE_PAUSE': 'False'}) {'notifications': <queue.Queue object at 0x00000221037D4830>, 'abort': <threading.Event at 0x22105e38b30: unset>, 'log': <calibre.utils.logging.GUILog object at 0x0000022108D1E2C0>}

Last edited by theducks; 03-07-2026 at 09:45 PM. Reason: spoilered LOG s
coffeeblack is offline   Reply With Quote
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
Old 03-07-2026, 09:04 PM   #50
coffeeblack
Junior Member
coffeeblack began at the beginning.
 
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?
coffeeblack is offline   Reply With Quote
Reply

Tags
comments, frequency, spanish, tags, translate


Forum Jump

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


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


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