View Single Post
Old 11-15-2020, 03:04 AM   #18
MaienM
Member
MaienM rocks like Gibraltar!MaienM rocks like Gibraltar!MaienM rocks like Gibraltar!MaienM rocks like Gibraltar!MaienM rocks like Gibraltar!MaienM rocks like Gibraltar!MaienM rocks like Gibraltar!MaienM rocks like Gibraltar!MaienM rocks like Gibraltar!MaienM rocks like Gibraltar!MaienM rocks like Gibraltar!
 
Posts: 15
Karma: 100000
Join Date: Aug 2019
Device: Kobo Aura H2O
Quote:
Originally Posted by Penny_Dreadful View Post
I've come across a bug that seems to have been around for a while as I can make it happen in both Calibre 4.23 with plugin 1.1.0 and Calibre 5.5 with plugin 1.2.0. I want to add new tag mappings in the plugin configuration but when I save I receive the following error.

Spoiler:
Code:
calibre, version 5.5.0
ERROR: Unhandled exception: <b>TypeError</b>:unhashable type: 'list'

calibre 5.5 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.18362 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 35, 0) && Package KFX (from KFX Input) (1, 35, 0) && CalibreSpy (1, 0, 82) && Clean Metadata (0, 0, 6) && Count Pages (1, 11, 0) && Diaps Editing Toolbag (0, 3, 7) && Embed Comic Metadata (1, 5, 2) && EpubSplit (3, 0, 0) && FanFicFare (3, 25, 0) && Find Duplicates (1, 8, 3) && Generate Cover (2, 0, 0) && Goodreads (1, 5, 1) && Goodreads More Tags (1, 2, 0) && Goodreads Sync (1, 14, 3) && Hyphenate This! (0, 1, 3) && Job Spy (1, 0, 188) && KFX metadata reader (from KFX Input) (1, 35, 0) && KFX Input (1, 35, 0) && Set KFX metadata (from KFX Output) (1, 45, 0) && KFX Output (1, 45, 0) && Kindle Collections (1, 7, 29) && Kindle hi-res covers (0, 5, 0) && KindleUnpack - The Plugin (0, 82, 3) && Manage Series (1, 2, 11) && Modify ePub (1, 6, 1) && Obok DeDRM (6, 7, 0) && Open With (1, 5, 13) && Overdrive Link (2, 43, 0) && Prettify Cover (1, 5, 0) && Quality Check (1, 10, 1) && Reading List (1, 7, 0) && Resize Cover (1, 1, 0) && ScrambleEbook (0, 4, 5) && Search The Internet (1, 8, 0) && SmartEject (2, 3, 0) && View Manager (1, 6, 0) && Overdrive Link* (2, 43, 0)
Traceback (most recent call last):
  File "calibre\gui2\preferences\metadata_sources.py", line 293, in commit
  File "calibre\ebooks\metadata\sources\base.py", line 270, in save_settings
  File "calibre_plugins.goodreads_more_tags.config", line 611, in commit
TypeError: unhashable type: 'list'


Hope you can help
Welp, that's a bit of an oversight on my part, that's been there a while. I actually found 2 more bugs in the config while fixing this one, one old one and one thing that I should have changed as part of upgrading to Python 3. Guess I haven't changed my own settings in ages.

Out of curiosity (I don't have a Calibre 4.x install on my system), does 1.2.x not work on older Calibre versions or did you just choose to stick with an older version of the plugin? I'd expect it to work but I haven't tested it.
MaienM is offline   Reply With Quote