View Single Post
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