Hi, I bumped into an error that feels familiar:
I selected 3 contiguous books in the middle of a series of ten and used the "Move books down" arrow button to move them to the end of the series.
Which was fine until I clicked "Move books down" again when already at the bottom, then I got this error:
Code:
calibre, version 7.4.0
ERROR: Unhandled exception: <b>IndexError</b>:list index out of range
calibre 7.4 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (10, 0, 3) && Action Chains (1, 19, 3) && ColumnSum (2, 2, 0) && Count Pages (1, 13, 4) && Editor Chains (1, 1, 4) && EpubMerge (2, 17, 0) && EpubSplit (3, 6, 0) && FanFicFare (4, 30, 10) && Favourites Menu (1, 3, 0) && Find Duplicates (1, 10, 8) && Generate Cover (2, 3, 3) && Jimms Editor Addons (0, 0, 1) && Manage Series (1, 5, 1) && Modify ePub (1, 8, 2) && Quality Check (1, 13, 8) && Reading List (1, 15, 1) && ScrambleEbook (0, 6, 0) && SmartEject (2, 5, 0) && SpacerName (0, 0, 2) && SplitMergeNew (0, 3, 0) && View Manager (1, 10, 2)
Traceback (most recent call last):
File "calibre_plugins.manage_series.dialogs", line 718, in move_rows_down
IndexError: list index out of range
This only appears to happen when I select a book higher on the list first, then select lower books with shift-click or shift/ctrl click each individually. If I select lowermost book, then shift-click uppermost, it doesn't happen.
I'm not seeing this happen going up regardless of selection order.
I would suspect it's related to Qt returning the selected rows in the order selected by the user.
It came up a while back for
Reading List, but I thought I addressed it everywhere at the time...