Check Library produces NoneType error

Bug #2092456 reported by Disabled Reader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

The following error occurs when trying to run 'Check Library' causing the program to become unresponsive and requires an end task.

calibre, version 7.23.0
ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'library_id'

calibre 7.23 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre eBook Manager\calibre.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 18, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 18, 0) && Barnes & Noble (1, 5, 6) && Count Pages (1, 13, 6) && EpubSplit (3, 9, 0) && Fantastic Fiction (1, 7, 1) && Favourites Menu (1, 3, 1) && FictionDB (1, 4, 2) && Generate Cover (2, 3, 4) && Goodreads (1, 8, 2) && Goodreads Sync (1, 16, 11) && KFX metadata reader (from KFX Input) (2, 18, 0) && From KFX (2, 18, 0) && KFX Input (2, 18, 0) && Quality Check (1, 13, 16) && View Manager (1, 10, 3)
Traceback (most recent call last):
  File "calibre\gui2\actions\choose_library.py", line 692, in check_library
  File "calibre\gui2\ui.py", line 986, in library_moved
  File "calibre\gui2\ui.py", line 1176, in _save_tb_state
AttributeError: 'NoneType' object has no attribute 'library_id'

Revision history for this message
Charles Haley (cbhaley) wrote :

NB: You can avoid this error by unchecking the new option Preferences / Look & feel / Tag browser / Expand tree to show last used item.

Changed in calibre:
status: New → Fix Committed
Revision history for this message
Kovid Goyal (kovid) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

Changed in calibre:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.