![]() |
#1 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 439
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Strange bug (tuple index out of range)
I have a strange bug that appears unpredictably.
I'm not sure exactly when it happens, if it's during the automatic addition of a book, during the launch of a search, or the launch of a search during the automatic addition. Code:
calibre, version 5.23.0 ERREUR : Exception non gérée: <b>IndexError</b>:tuple index out of range calibre 5.23 [64bit] embedded-python: True is64bit: True Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19041') Python 3.8.5 Windows: ('10', '10.0.19041', '', 'Multiprocessor Free') Interface language: fr Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 40, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (1, 40, 0) && Action Chains (1, 9, 3) && Comments Cleaner (1, 3, 3) && Count Pages (1, 11, 0) && Embed Comic Metadata (1, 6, 1) && EpubMerge (2, 11, 0) && EpubSplit (3, 1, 0) && Extract ISBN (1, 5, 0) && Find Duplicates (1, 8, 9) && Generate Cover (2, 0, 2) && KFX metadata reader (from KFX Input) (1, 40, 0) && KFX Input (1, 40, 0) && KePub Input (3, 4, 3) && KindleUnpack - The Plugin (0, 83, 0) && Kobo Books (1, 8, 2) && Kobo Utilities (2, 14, 1) && Manage Series (1, 2, 11) && Mass Search-Replace (1, 2, 2) && Modify ePub (1, 6, 2) && Obok DeDRM (7, 2, 1) && Open With (1, 5, 13) && Quality Check (1, 11, 2) && Search The Internet (1, 8, 1) && View Manager (1, 6, 0) Traceback (most recent call last): File "calibre\gui2\library\models.py", line 935, in data File "calibre\gui2\library\models.py", line 839, in func File "calibre\db\view.py", line 193, in index_to_id IndexError: tuple index out of range |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Does it happen if you run calibre with --ignore-plugins
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 439
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
I go try.
But it's not going to be easy for me, because many plugins are now part of my normal usage. And it's going to be long, as said, it's really unpredictable, it could appear right away, tomorrow or in a month. I am unable to reproduce it. It appears, it's all. This is not the first time, 7 minimum, but relatively new ~2 release. And then the log seems to say that it's coming from the caliber code. Last edited by un_pogaz; 07-22-2021 at 10:14 AM. |
![]() |
![]() |
![]() |
#4 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 439
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Update: Found it
Update: Found it
YES, Finally \o/ I found the origin of this bug. It appears when I do a Ctrl+C (copy) in an empty "table". Important, empty. The bug does not appear when books has visible but none selected. Windows 10 Calibre 5.25 (no plugin) Error message Spoiler:
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Layout Quickview Icon: IndexError: tuple index out of range | DaltonST | Calibre | 5 | 07-07-2017 01:08 PM |
List Index out of range | grafton84 | Calibre | 8 | 01-20-2016 12:17 AM |
LIST INDEX OUT OF RANGE ERROR | texasmichele | Calibre | 6 | 01-29-2013 01:37 PM |
Tuple out of range | theducks | Calibre | 2 | 01-22-2011 10:21 AM |
list index out of range error | adamvert | Calibre | 20 | 10-02-2010 12:26 PM |