View Single Post
Old 07-03-2020, 05:49 PM   #838
pike2000
Junior Member
pike2000 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2011
Device: PocketBook Pro 903
Unhappy Errors when there are one or two reading lists

It seems that Reading List plugin does not work correctly when there are less then 3 reading lists
  • if there is only one reading list, the menu is missing most options, "Move to list..." option crashes
  • if there are two reading lists, the menu is missing many options (but fewer than in the case of one list)
Here is what happened. I was adding new reading lists and removing unused lists. Finally I got just one reading list left.

After it, if I clicked on "View or edit lists of books" icon, the menu did not show all options, just the following

Move to list...
View Sony DPT-S1 list (136)
Sync now
Customize plugin...


If I selected Move to list..., an error message window appeared (the details are at the bottom).

Then I added "Test" reading list with default settings. The menu showed two more options

View list(0) >
Set default list >


Then I added "To Read" list with default settings. Bingo! The menu showed all usual options (pluses, minuses, edit, etc.)

Note that disabling/enabling and removing/installing did not help. The issues can be easily reproduced by removing all lists but one or two.

Quote:
calibre 4.19 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 2.7.16+
Windows: ('10', '10.0.19041', 'SP0', u'Multiprocessor Free')
Interface language: None

Successfully initialized third party plugins: Reading List (1, 6, 7)

Traceback (most recent call last):
File "calibre_plugins.reading_list.action", line 391, in _move_selected_to_list
File "calibre_plugins.reading_list.dialogs", line 265, in __init__
AttributeError: 'NoneType' object has no attribute 'setSelected'
pike2000 is offline   Reply With Quote