![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Dec 2024
Device: Kindle
|
AI Book Sorter
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 Last edited by kheldar; 12-08-2024 at 05:52 AM. |
![]() |
![]() |
![]() |
#2 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Dec 2024
Device: Kindle
|
it looks like it didn't post the error correctly
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,698
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What sort of sorting are you doing that needs an AI to help?
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Dec 2024
Device: Kindle
|
I have around 100,000 sci fi / fantasy books (current library I was working on had 180k books) but with lots of duplicates - but as I've worked through it I've noticed that some of the books have totally the wrong name/author etc - I've got about a dozen of these library's and some of them are corrupted (unreadable) - I've used various plugins to clean and remove duplicates but still needs to much manual input - so the plan is to use AI to "read the first "chapter" (a page of data is enough usually) and determine the actual book name and author and then merge into a single book (with different formats) - drm books get moved and corrupt books also get moved to different folders)
|
![]() |
![]() |
![]() |
#5 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,698
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Dec 2024
Device: Kindle
|
I collected them years ago and yes the meta data is appalling - also I've had several server crashes and rebuilds over the years which has made the whole thing worse
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Dec 2024
Device: Kindle
|
I've probably rebuilt the library over 10 times due to HD failures etc - I'm over it and need an automated system do it - the most intact library is 111 Gb
Last edited by kheldar; 12-08-2024 at 06:39 AM. |
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Dec 2024
Device: Kindle
|
I did start using Calibre in 2010 (first post was under kheldaroz but don't have access to to that email to reset password)https://www.mobileread.com/forums/sh...ight=kheldaroz
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Copy book data to separate library without duplicating the actual book files? | dewd | Library Management | 5 | 01-12-2022 03:11 PM |
Free Kindle Book - 2022 - 1st book in Eco-Fiction Series | Cakroesr | Self-Promotions by Authors and Publishers | 1 | 11-14-2015 02:54 AM |
Free Book (Kindle) - 2009 / 2010: A Book of Grace-Filled Days | koland | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 08-16-2011 05:29 PM |
Book Giveaways, Author Interviews & Book Reviews on Two Ends of the Pen | dlmartin6 | Self-Promotions by Authors and Publishers | 19 | 11-08-2010 08:00 AM |
US Kindle free book: Outta the bag [SHORT STORY ONLY - NOT ENTIRE BOOK] | greencat | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 08-22-2010 09:42 AM |