![]() |
#1 |
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,265
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Key Error when trying to rename in browser
Different libraries have different errors or no errors when trying to rename or change a tag in the browser.
calibre, version 6.3.0 ERROR: Unhandled exception: <b>KeyError</b>:'#exclusiveshelf' calibre 6.3 embedded-python: True Windows-10-10.0.19043-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19043') Python 3.10.1 Windows: ('10', '10.0.19043', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: DeDRM (7, 2, 1) && Barnes & Noble (1, 3, 0) && Calibre Power Search Plugin (2, 2, 0) && CalibreSpy (1, 0, 87) && Count Pages (1, 11, 3) && DOC Input (1, 0, 1) && Diaps Editing Toolbag (0, 4, 0) && English Noun Frequency (1, 0, 15) && EpubCheck (0, 2, 4) && EpubMerge (2, 15, 0) && EpubSplit (3, 5, 0) && Extract ISBN (1, 5, 1) && F_rating (3, 2, 0) && FanFicFare (4, 15, 0) && Fantastic Fiction (1, 5, 1) && Fantastic Fiction Adults (1, 2, 0) && Find Duplicates (1, 9, 7) && Generate Cover (2, 2, 0) && GetFileName (0, 2, 0) && Goodreads Sync (1, 15, 4) && Goodreads_Rating (4, 0, 0) && ISFDB3 (1, 1, 1) && Import List (1, 8, 4) && Job Spy (1, 0, 192) && Kobo Books (1, 9, 2) && Mass Search-Replace (1, 5, 1) && Modify ePub (1, 7, 3) && Overdrive Link (2, 51, 0) && Quality Check (1, 12, 0) && Reading List (1, 13, 1) && Reformat plugin (2, 4, 0) && Search The Internet (1, 8, 1) && Smashwords Metadata (1, 0, 2) && User Category (1, 5, 6) && View Manager (1, 9, 0) && Wikidata (2, 0, 0) && ePub Extended Metadata {Writer} (0, 7, 2) && ePub Extended Metadata {Reader} (0, 7, 2) && ePub Extended Metadata (0, 7, 2) && ePub Extended Metadata {Reader} (0, 6, 0) && ePub Extended Metadata {Writer} (0, 6, 0) && Overdrive Link Metadata Source (2, 51, 0) Traceback (most recent call last): File "calibre\gui2\tag_browser\model.py", line 1311, in setData File "calibre\gui2\tag_browser\model.py", line 1354, in rename_item File "calibre\gui2\tag_browser\model.py", line 1439, in clean_items_from_user_categories File "calibre\db\cache.py", line 77, in call_func_with_lock File "calibre\db\cache.py", line 813, in get_item_id KeyError: '#exclusiveshelf' Another library has the same thing but with anothe column that is no longer even in the library. Any help figuring out if this is due to a plugin or if this is a Calibre problem? Where can I find a file that I could fix this? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,343
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
restart calibre. After deleting custom columns you must restart calibre.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,265
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Ok, this isn't because I haven't restarted Calibre.
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,343
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
THen you presumably have a user category that refers to the deleted custom column. Delete that category as well.
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,343
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
And this will take care of removing such user categories automatically. https://github.com/kovidgoyal/calibr...40418ab90f59d6
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,265
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
It came from the tweaks. If I have set the tag browser sort order and then later delete the column, it messes it up because the tweaks still has the column listed.
I thought it was user catagories, but then I deleted them and still had the problem. I thought it was the Job Spy preferences, saying that I restricted deleing from a column, but that wasn't it. I went into the set preferences for tag partitioning and tag heirarchal choices and deleted the entries and reset them because they get all mixed up with duplicate columns after a while. Finally, I went into tweaks and checked the tag browser sort. The sort included the previously deleted column. I reset the tweak to default. No problems now. This is a problem with tweaks, if a column is deleted, then it will still be shown in tweaks and might mess things up. If there is a way to alert a user to this possiblity it would be helpful when trying to figure out why some things go wrong. Last edited by Rellwood; 09-14-2022 at 11:41 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem when using tag browser to rename series | JohnnyBook | Library Management | 3 | 06-24-2018 04:22 PM |
Using F1 key to rename books? | Dullahir | Library Management | 4 | 04-14-2014 01:51 AM |
Error when trying to bulk rename files | cager | Editor | 2 | 04-09-2014 05:08 AM |
Request Pocket eDGe browser Enter key help | Hundedrek | enTourage eDGe | 4 | 11-23-2012 07:28 AM |
KFHD - Silk browser removed key accessibility features | goggin | Kindle Fire | 1 | 09-15-2012 12:08 PM |