Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 06-05-2020, 05:31 PM   #1
ampws
Junior Member
ampws began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2019
Location: UK
Device: kindle
Post Library Maintenance - Check Library Error

I installed the latest version directly from the website and suddenly I am getting an error message when I run library maintenance/check library.

Here is the error message:
Quote:
calibre Debug log
calibre 4.18 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: en_GB
Successfully initialized third party plugins: DeDRM (6, 6, 1) && Amazon.com Multiple Countries (1, 0, 0) && FanFicFare (3, 20, 0) && Clean Metadata (0, 0, 6)
calibre 4.18 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: en_GB
Successfully initialized third party plugins: DeDRM (6, 6, 1) && Amazon.com Multiple Countries (1, 0, 0) && FanFicFare (3, 20, 0) && Clean Metadata (0, 0, 6)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 135.5328125 x 135.466666667
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.47] splash screen shown
[0.47] Initializing db...
[0.70] db initialized
[0.70] Constructing main UI...
FFF: INFO: 2020-06-05 22:17:37,755: calibre_plugins.fanficfare_plugin.prefs(214): Attempting to read settings from predecessor--FFDL
FFF: INFO: 2020-06-05 22:17:37,756: calibre_plugins.fanficfare_plugin.prefs(219): Using default settings
FFF: DEBUG: 2020-06-05 22:17:37,759: calibre_plugins.fanficfare_plugin.fff_plugin(209): Plugin FanFicFare macmenuhack file_path:C:\Users\ampws\AppData\Roaming\calibre\p lugins\fanficfare_macmenuhack.txt
[4.51] main UI initialized...
[4.51] Hiding splash screen
[10.55] splash screen hidden
[10.55] Started up in 10.55 seconds with 2621 books
calibre 4.18 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: en_GB
Successfully initialized third party plugins: DeDRM (6, 6, 1) && Amazon.com Multiple Countries (1, 0, 0) && FanFicFare (3, 20, 0) && Clean Metadata (0, 0, 6)
Traceback (most recent call last):
File "site-packages\calibre\gui2\actions\choose_library.py", line 544, in check_library
File "site-packages\calibre\gui2\__init__.py", line 410, in question_dialog
TypeError: unhashable type: 'list'
Any help would be appreciated.

Yours

AMPWS
ampws is offline   Reply With Quote
Old 06-05-2020, 11:19 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 37,027
Karma: 16422171
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This is likely caused by one of the plugins you have installed setting an invalid value for skip_dialog_name when calling question_dialog. If you are somewhat tech-savvy you can fix it by editing the gui.json file in the calibre config directory, otherwise wait for the next release which will have a workaround.
kovidgoyal is offline   Reply With Quote
Advert
Old 06-06-2020, 05:20 PM   #3
ampws
Junior Member
ampws began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2019
Location: UK
Device: kindle
Well I removed all the user plug-in's and still got the error message.

Quote:
calibre 4.18 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: en_GB
Traceback (most recent call last):
File "site-packages\calibre\gui2\tag_browser\ui.py", line 314, in do_tag_item_delete
File "site-packages\calibre\gui2\__init__.py", line 410, in question_dialog
TypeError: unhashable type: 'list'

The only commonality between the two error messages seems to be:

Quote:
File "site-packages\calibre\gui2\__init__.py", line 410, in question_dialog
TypeError: unhashable type: 'list'
AMPWS

Last edited by ampws; 06-06-2020 at 05:23 PM.
ampws is offline   Reply With Quote
Old 06-06-2020, 07:43 PM   #4
chaley
Grumpy old git
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 9,157
Karma: 2792756
Join Date: Jan 2010
Location: UK
Device: Many android devices
Kovid, this is probably happening because of line 304 in tag_browser/ui.py:
skip_dialog_name='tag_item_delete',
The erroneous trailing comma is creating a list.

I will push a correction tomorrow (Sunday) AM my time, as well as some performance improvements for edit_authors, after I test it.

EDIT: I can't make it fail with or without the erroneous comma. Sigh.

Last edited by chaley; 06-06-2020 at 07:53 PM.
chaley is offline   Reply With Quote
Old 06-06-2020, 11:49 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 37,027
Karma: 16422171
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@chaley: That i indeed likely the source fo the bug, good catch. You cant make it fail because I already implemented the fix for it which will be in the next release.
kovidgoyal is offline   Reply With Quote
Advert
Old 06-07-2020, 06:10 AM   #6
ampws
Junior Member
ampws began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2019
Location: UK
Device: kindle
Thanks for the help guys.

I solved it my way - i.e. I stripped calibre off the machine did a cold restart and a new install of calibre, rebuilt the library by adding a backup as new entries. 3263 books added, cleaned up the database a bit too as it was getting a bit bloated what with removals etc.

AMPWS
ampws is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing Library/Library Maintenance button babyshelley Library Management 2 06-20-2015 01:05 PM
Library maintenance -> Check library mlevin77 Library Management 9 07-22-2014 08:03 PM
1.1.0 - Check Library Error nynaevelan Calibre 2 08-31-2013 02:33 AM
Extra Titles Error Persists in Check Library GeekyGal Library Management 2 12-10-2011 10:13 AM
Check Library Error nynaevelan Calibre 2 06-05-2011 11:41 AM


All times are GMT -4. The time now is 03:28 PM.


MobileRead.com is a privately owned, operated and funded community.