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 Yesterday, 08:15 AM   #46
Saetron
Junior Member
Saetron began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2025
Device: Onyx Boox Tab Mini C
Quote:
Originally Posted by un_pogaz View Post
That make no sense. Thanks for the report, but that make no sense.
This shounld be not occure. At all.

btw, this bug occur not strictly in "ePub Extended Metadata" plugin, but in a common libs used on my other plugins, so can you install them to see if it happend too: Comments Cleaner and Mass Search/Replace (we will keep the conversation going here)

In the meantime, can you also test this version to see if it work now?
With the test version I am not getting a crash on export, but now this on import:
calibre, version 9.7.0
ERROR: Cannot add books: Failed to add some books, click "Show details" for more information.

Worker process crashed while executing job
Traceback (most recent call last):
File "calibre/utils/ipc/pool.py", line 106, in recv
File "calibre/utils/ipc/__init__.py", line 20, in eintr_retry_call
File "multiprocessing/connection.py", line 222, in recv_bytes
File "multiprocessing/connection.py", line 447, in _recv_bytes
File "multiprocessing/connection.py", line 416, in _recv
EOFError

(same as before, its just the popup from Calibre, no log files to be found)

If i disable the extended metadata import it works fine.

Tried Comments Cleaner, it works fine. No crash and I see the changes.

Quote:
Originally Posted by un_pogaz View Post
Wait, in "Préférence -> Plugins", can you check if the "ePub Extended Metadata" is disable and "ePub Extended Metadata {writer}" is enable?
Both are enabled in the settings.
Saetron is offline   Reply With Quote
Old Yesterday, 08:18 AM   #47
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,894
Karma: 153071045
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I've got some issues with the current release version/ When I did an import on an ePub2 eBook, I got the following error.
Code:
calibre, version 9.7.0
ERROR: Unhandled exception: <b>UnboundLocalError</b>:cannot access local variable 'role' where it is not associated with a value

calibre 9.7 Portable embedded-python: True
Windows-11-10.0.26200-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '11', '10.0.26200')
Python 3.14.2
Windows: ('11', '10.0.26200', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Calibre Portable\Calibre\calibre.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 30, 0) && DeDRM (10, 0, 15) && Package KFX (from KFX Input) (2, 30, 0) && Annotations (1, 17, 14) && Apple Books covers (1, 1, 1) && Backup Configuration Folder (1, 1, 2) && Barnes & Noble (1, 5, 8) && BookFusion Plugin (0, 8, 1) && Count Pages (1, 15, 1) && Diaps Editing Toolbag (0, 5, 0) && EpubCheck (0, 2, 6) && EpubMerge (3, 2, 0) && EpubSplit (3, 12, 0) && Favourites Menu (1, 3, 2) && Find Duplicates (1, 10, 10) && Hyphenate This! (0, 1, 4) && KFX metadata reader (from KFX Input) (2, 30, 0) && From KFX (2, 30, 0) && KFX Input (2, 30, 0) && Set KFX metadata (from KFX Output) (2, 19, 0) && KFX Output (2, 19, 0) && Kindle hi-res covers (0, 5, 1) && KindleUnpack - The Plugin (0, 83, 8) && Kobo Metadata (1, 12, 1) && Kobo Utilities (2, 28, 0) && Modify ePub (1, 8, 9) && Quality Check (1, 14, 7) && Reading Goal (2, 1, 1) && Reading List (1, 15, 7) && ScrambleEbook (0, 6, 0) && StoryGraph (2, 0, 8) && TextDiff (1, 3, 1) && ePub Extended Metadata {Reader} (0, 14, 5) && ePub Extended Metadata {Writer} (0, 14, 5) && ePub Extended Metadata (0, 14, 5)
Traceback (most recent call last):
  File "calibre_plugins.epub_extended_metadata.common_utils.dialogs", line 331, in _job_progress
  File "calibre_plugins.epub_extended_metadata.action", line 379, in job_progress
  File "calibre_plugins.epub_extended_metadata.action", line 306, in perform_import
  File "calibre_plugins.epub_extended_metadata.container_extended_metadata", line 145, in read_extended_metadata
  File "calibre_plugins.epub_extended_metadata.container_extended_metadata", line 206, in _read_extended_metadata
UnboundLocalError: cannot access local variable 'role' where it is not associated with a value
ePub Extended Metadata (Writer) is disabled. I did not not disable it. And I am unable to configure any columns. I created a subtitle column and I cannot specify it. Debug mode shows nothing wrong.

Last edited by JSWolf; Yesterday at 08:29 AM.
JSWolf is offline   Reply With Quote
Old Yesterday, 09:21 AM   #48
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 673
Karma: 720026
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by Saetron View Post
With the test version I am not getting a crash on export, but now this on import:
calibre, version 9.7.0
ERROR: Cannot add books: Failed to add some books, click "Show details" for more information.

Worker process crashed while executing job
Traceback (most recent call last):
File "calibre/utils/ipc/pool.py", line 106, in recv
File "calibre/utils/ipc/__init__.py", line 20, in eintr_retry_call
File "multiprocessing/connection.py", line 222, in recv_bytes
File "multiprocessing/connection.py", line 447, in _recv_bytes
File "multiprocessing/connection.py", line 416, in _recv
EOFError

(same as before, its just the popup from Calibre, no log files to be found)

If i disable the extended metadata import it works fine.

Tried Comments Cleaner, it works fine. No crash and I see the changes.



Both are enabled in the settings.
urgh.
Okay, that it, I'm out sorry.
All your error come outside of my plugin and are the result of a some how serious error in Calibre, so way above me, sorry.
Will still release the version with the fix, but all that is now out of my hand.

Quote:
Originally Posted by JSWolf View Post
I've got some issues with the current release version/ When I did an import on an ePub2 eBook, I got the following error.
Code:
calibre, version 9.7.0
ERROR: Unhandled exception: <b>UnboundLocalError</b>:cannot access local variable 'role' where it is not associated with a value

calibre 9.7 Portable embedded-python: True
Windows-11-10.0.26200-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '11', '10.0.26200')
Python 3.14.2
Windows: ('11', '10.0.26200', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Calibre Portable\Calibre\calibre.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 30, 0) && DeDRM (10, 0, 15) && Package KFX (from KFX Input) (2, 30, 0) && Annotations (1, 17, 14) && Apple Books covers (1, 1, 1) && Backup Configuration Folder (1, 1, 2) && Barnes & Noble (1, 5, 8) && BookFusion Plugin (0, 8, 1) && Count Pages (1, 15, 1) && Diaps Editing Toolbag (0, 5, 0) && EpubCheck (0, 2, 6) && EpubMerge (3, 2, 0) && EpubSplit (3, 12, 0) && Favourites Menu (1, 3, 2) && Find Duplicates (1, 10, 10) && Hyphenate This! (0, 1, 4) && KFX metadata reader (from KFX Input) (2, 30, 0) && From KFX (2, 30, 0) && KFX Input (2, 30, 0) && Set KFX metadata (from KFX Output) (2, 19, 0) && KFX Output (2, 19, 0) && Kindle hi-res covers (0, 5, 1) && KindleUnpack - The Plugin (0, 83, 8) && Kobo Metadata (1, 12, 1) && Kobo Utilities (2, 28, 0) && Modify ePub (1, 8, 9) && Quality Check (1, 14, 7) && Reading Goal (2, 1, 1) && Reading List (1, 15, 7) && ScrambleEbook (0, 6, 0) && StoryGraph (2, 0, 8) && TextDiff (1, 3, 1) && ePub Extended Metadata {Reader} (0, 14, 5) && ePub Extended Metadata {Writer} (0, 14, 5) && ePub Extended Metadata (0, 14, 5)
Traceback (most recent call last):
  File "calibre_plugins.epub_extended_metadata.common_utils.dialogs", line 331, in _job_progress
  File "calibre_plugins.epub_extended_metadata.action", line 379, in job_progress
  File "calibre_plugins.epub_extended_metadata.action", line 306, in perform_import
  File "calibre_plugins.epub_extended_metadata.container_extended_metadata", line 145, in read_extended_metadata
  File "calibre_plugins.epub_extended_metadata.container_extended_metadata", line 206, in _read_extended_metadata
UnboundLocalError: cannot access local variable 'role' where it is not associated with a value
ePub Extended Metadata (Writer) is disabled. I did not not disable it. And I am unable to configure any columns. I created a subtitle column and I cannot specify it. Debug mode shows nothing wrong.
Ah snap, thanks, fixed.
un_pogaz is offline   Reply With Quote
Old Yesterday, 01:38 PM   #49
Saetron
Junior Member
Saetron began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2025
Device: Onyx Boox Tab Mini C
Quote:
Originally Posted by un_pogaz View Post
urgh.
Okay, that it, I'm out sorry.
All your error come outside of my plugin and are the result of a some how serious error in Calibre, so way above me, sorry.
Will still release the version with the fix, but all that is now out of my hand.



Ah snap, thanks, fixed.
No, worries. Thanks for checking it out! And your fast responses. If I find a fix Ill update (for the case someone else has the same issue)
Saetron is offline   Reply With Quote
Old Yesterday, 02:07 PM   #50
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,894
Karma: 153071045
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I still cannot customize the titles section. I created a column for subtitles and I cannot use it.
JSWolf is offline   Reply With Quote
Old Yesterday, 02:25 PM   #51
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 673
Karma: 720026
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by JSWolf View Post
I still cannot customize the titles section. I created a column for subtitles and I cannot use it.
Are you sure that the column is a "Lont text, like comment, not in the tag browser" with the subsetting "Short text, like title"?
un_pogaz is offline   Reply With Quote
Old Yesterday, 02:45 PM   #52
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,894
Karma: 153071045
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by un_pogaz View Post
Are you sure that the column is a "Lont text, like comment, not in the tag browser" with the subsetting "Short text, like title"?
Yes I have the column set as long text.
JSWolf is offline   Reply With Quote
Old Yesterday, 03:25 PM   #53
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 673
Karma: 720026
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by JSWolf View Post
Yes I have the column set as long text.
Set as "long text" is not enough, you need to go into the column setting and set the subtype/format to "Short text, like title".
Without that, the column is considered a comment and is therefore excluded.

Last edited by un_pogaz; Yesterday at 03:27 PM.
un_pogaz is offline   Reply With Quote
Old Yesterday, 06:24 PM   #54
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,894
Karma: 153071045
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by un_pogaz View Post
Set as "long text" is not enough, you need to go into the column setting and set the subtype/format to "Short text, like title".
Without that, the column is considered a comment and is therefore excluded.
Thanks. That worked.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Embed Comic Metadata dickloraine Plugins 116 11-02-2025 07:01 AM
[GUI Plugin] Zotero Metadata Importer DaltonST Plugins 295 03-22-2025 09:47 AM
[GUI Plugin] Clean Metadata WS64 Plugins 28 01-06-2022 08:09 PM
Getting custom metadata field in GUI plugin SauliusP. Development 7 02-11-2012 01:31 AM


All times are GMT -4. The time now is 02:11 AM.


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