Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-08-2023, 01:24 PM   #1
Villard
Connoisseur
Villard began at the beginning.
 
Posts: 74
Karma: 10
Join Date: May 2016
Device: Koreader running on Kobo Libra 2
Getting Python error when trying to manage series and tags

hello
since a few days, I'm getting this Python error " TypeError: 'NoneType' object is not iterable" when I try to use "manage series", "manage tags".
I can still use "manage authors".
I've run the two-steps library check : all is OK?
I've added and modified ~50 books since the last time I use these features without any problem. All these ebooks, on epub format, seem OK.
I've run Calibre in debug mode (see below) and got the same error.
I've also run calibre without the thrird-party plugings and got the same error.

Thank you for your advice.


I run Calibre 6.17 on Windows 10.

Spoiler:
Here is the error code given by Calibre:
calibre, version 6.17.0
ERREUR : Exception non gérée: <b>TypeError</b>:'NoneType' object is not iterable

calibre 6.17 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: DeDRM (10, 0, 3) && EpubMerge (2, 15, 0) && EpubSplit (3, 6, 0) && Find Duplicates (1, 10, 8) && KOReader Sync (0, 4, 1) && Obok DeDRM (10, 0, 3) && Quality Check (1, 13, 4)
Traceback (most recent call last):
File "calibre\gui2\tag_browser\ui.py", line 284, in do_tags_list_edit
File "calibre\gui2\dialogs\tag_list_editor.py", line 230, in __init__
File "calibre\gui2\dialogs\tag_list_editor.py", line 425, in fill_in_table
File "calibre\gui2\dialogs\tag_list_editor.py", line 390, in create_table
TypeError: 'NoneType' object is not iterable



Here is also the log when running Caibre in debug mode :
ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
Traceback (most recent call last):
File "calibre\utils\config.py", line 348, in refresh
File "calibre\utils\config.py", line 411, in raw_to_object
File "calibre\utils\config_base.py", line 124, in json_loads
File "json\__init__.py", line 359, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
EpubMerge: DEBUG: 2023-05-08 18:55:27,351: calibre_plugins.epubmerge.epubmerge_plugin(154): macmenuhack file_path:C:\Users\PYL_admin\AppData\Roaming\calib re\plugins\fanficfare_macmenuhack.txt
calibre Journal de débogage
calibre 6.17 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: DeDRM (10, 0, 3) && EpubMerge (2, 15, 0) && EpubSplit (3, 6, 0) && Find Duplicates (1, 10, 8) && KOReader Sync (0, 4, 1) && Obok DeDRM (10, 0, 3) && Quality Check (1, 13, 4)
calibre 6.17 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: DeDRM (10, 0, 3) && EpubMerge (2, 15, 0) && EpubSplit (3, 6, 0) && Find Duplicates (1, 10, 8) && KOReader Sync (0, 4, 1) && Obok DeDRM (10, 0, 3) && Quality Check (1, 13, 4)
QPA platform: windows
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 131.52103559870548 x 131.3793103448276
[0.00] Starting up...
[0.00] Showing splash screen...
[0.24] splash screen shown
[0.24] Initializing db...
[1.72] db initialized
[1.72] Constructing main UI...
DEBUG: 0.0 obok::utilities.py - loading translations
DEBUG: 0.0 obok::dialogs.py - loading translations
DEBUG: 0.0 obok::config.py - loading translations
DEBUG: 0.1 obok::action_err.py - loading translations
DEBUG: 0.0 koreader:action:KoreaderAction:genesis:start
[4.05] main UI initialized...
[4.05] Hiding splash screen
calibre 6.17 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: DeDRM (10, 0, 3) && EpubMerge (2, 15, 0) && EpubSplit (3, 6, 0) && Find Duplicates (1, 10, 8) && KOReader Sync (0, 4, 1) && Obok DeDRM (10, 0, 3) && Quality Check (1, 13, 4)
Traceback (most recent call last):
File "calibre\gui2\tag_browser\ui.py", line 284, in do_tags_list_edit
File "calibre\gui2\dialogs\tag_list_editor.py", line 230, in __init__
File "calibre\gui2\dialogs\tag_list_editor.py", line 425, in fill_in_table
File "calibre\gui2\dialogs\tag_list_editor.py", line 390, in create_table
TypeError: 'NoneType' object is not iterable

Last edited by chaley; 05-08-2023 at 01:49 PM.
Villard is offline   Reply With Quote
Old 05-08-2023, 01:52 PM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
This is fixed in the next calibre release.

One possible work-around: revert to calibre 6.16, open Manage Tags, press OK without changing anything, quit calibre, then reinstall 6.17. Or stay at 6.16 until 6.18 is released.
chaley is offline   Reply With Quote
Advert
Old 05-08-2023, 02:17 PM   #3
Villard
Connoisseur
Villard began at the beginning.
 
Posts: 74
Karma: 10
Join Date: May 2016
Device: Koreader running on Kobo Libra 2
Quote:
Originally Posted by chaley View Post
This is fixed in the next calibre release.

One possible work-around: revert to calibre 6.16, open Manage Tags, press OK without changing anything, quit calibre, then reinstall 6.17. Or stay at 6.16 until 6.18 is released.
That's fine. thank you.
Sorry if my post was irrelevant, I didn't see any information about this bug.
Villard is offline   Reply With Quote
Reply

Tags
manage series, manage tags, python error


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Category Editor (Tags) - Manage Tags Pachuqismo Library Management 5 03-10-2021 02:19 PM
Manage Tags, Publishers etc BetterRed Calibre 7 07-20-2017 06:39 PM
Manage Tags Rellwood Library Management 1 07-27-2016 06:29 PM
[Enhancements] Manage Tags chaley Library Management 9 05-29-2015 01:56 AM
Running recipe error: Python function terminated unexpectedly (Error Code: 1) jpassarella Recipes 0 10-05-2012 12:54 PM


All times are GMT -4. The time now is 09:58 AM.


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