Trying to write an AI (ChatGPT) book sorter - you will need an API key
I got sick of trying to sort my ebook library - spent months and only up to L
I keep getting the following errors
I've spent a couple of days on it but can't get past this
Code:
ApplicationPaletteChange event ignored Using calibre Qt style: True Traceback (most recent call last):
File “calibre\gui2\ui.py”, line 148, in __init__
File “calibre\gui2\ui.py”, line 166, in init_iaction
File “calibre\customize\__init__.py”, line 659, in load_actual_plugin
File “importlib\__init__.py”, line 126, in import_module
File “<frozen importlib._bootstrap>”, line 1204, in gcdimport
File “<frozen importlib._bootstrap>”, line 1176, in findand_load
File “<frozen importlib._bootstrap>”, line 1126, in findand_load_unlocked
File “<frozen importlib._bootstrap>”, line 241, in callwith_frames_removed
File “<frozen importlib._bootstrap>”, line 1204, in gcdimport
File “<frozen importlib._bootstrap>”, line 1176, in findand_load
File “<frozen importlib._bootstrap>”, line 1140, in findand_load_unlocked ModuleNotFoundError: No module named ‘calibre_plugins.ai_book_sorter’ calibre Debug log calibre 7.22 embedded-python: True Windows-10-10.0.22631-SP0 Windows (‘64bit’, ‘WindowsPE’) (‘Windows’, ‘10’, ‘10.0.22631’) Python 3.11.5 Windows: (‘10’, ‘10.0.22631’, ‘SP0’, ‘Multiprocessor Free’) Interface language: None EXE path: C:\Program Files\Calibre2\calibre-debug.exe Successfully initialized third party plugins: AI Book Sorter (1, 0, 0) && Extract ISBN (1, 6, 5) && Find Duplicates (1, 10, 9) && Goodreads (1, 8, 2) calibre 7.22 embedded-python: True Windows-10-10.0.22631-SP0 Windows (‘64bit’, ‘WindowsPE’) (‘Windows’, ‘10’, ‘10.0.22631’) Python 3.11.5 Windows: (‘10’, ‘10.0.22631’, ‘SP0’, ‘Multiprocessor Free’) Interface language: None EXE path: C:\Program Files\Calibre2\calibre-debug.exe Successfully initialized third party plugins: AI Book Sorter (1, 0, 0) && Extract ISBN (1, 6, 5) && Find Duplicates (1, 10, 9) && Goodreads (1, 8, 2) QPA platform: windows devicePixelRatio: 1.0 logicalDpi: 96.0 x 96.0 physicalDpi: 109.21999999999998 x 109.18208955223879 [0.00] Starting up… [0.00] Showing splash screen… [1.14] splash screen shown [1.14] Initializing db… [3.00] db initialized [3.00] Constructing main UI… [4.59] GUI main window shown [4.64] main UI initialized… [4.64] Hiding splash screen [4.64] splash screen hidden [4.64] Started up in 4.64 seconds with 78414 books