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