10-12-2013, 05:23 PM | #1 |
Groupie
Posts: 167
Karma: 1720
Join Date: Feb 2009
Location: Canada
Device: PRS-T1
|
Error in Adding/Deleting Books
I am adding books to my library, and have now run across this error twice now in the same circumstances. It did not crash the application. The books were deleted (after hitting ok) and continued on.
This time I added 9 books by the drag and drop method to the library, and then immediately highlighted all 9, and then hit the delete key. I wanted to change the switch author FN,LN swap switch when importing. I use the quick preference check box. I got this error right after pressing the delete key. I'm using windows 7. When adding the books I have the author filter set to the author that I am loading up. I find it interesting that the error message truncates and miss spells the word multiple. Maybe it'll be a help tracking down. The error msg from the copy details button: calibre, version 1.6.0 ERROR: Unhandled exception: <b>IndexError</b>:tuple index out of range calibre 1.6 [64bit] isfrozen: True is64bit: True Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE') ('Windows', '7', '6.1.7601') Python 2.7.5 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Traceback (most recent call last): File "site-packages\calibre\gui2\library\views.py", line 67, in paintSection File "site-packages\calibre\gui2\library\models.py", line 930, in headerData File "site-packages\calibre\db\view.py", line 190, in index_to_id IndexError: tuple index out of range It makes a difference if I have an author filter specified or not. If no filter is specified, there is no error, but if I have an author filter specified, and then delete, the error shows up. The filter is set for the same author as the books that I'm adding. Forgot to add I'm using the new database. Last edited by toomuchreading; 10-12-2013 at 05:31 PM. Reason: more test results, author filter |
10-12-2013, 06:07 PM | #2 |
....
Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
|
I don't know what the cause of your problem is, but the "misspelling" of multiple is unlikely to be any clue. There are such things as tuple indices.
|
Advert | |
|
10-12-2013, 06:54 PM | #3 |
Groupie
Posts: 167
Karma: 1720
Join Date: Feb 2009
Location: Canada
Device: PRS-T1
|
|
10-12-2013, 08:51 PM | #4 |
Grand Sorcerer
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
If it means anything, I've encountered this same error as well, during deletion of books.
Calibre is 1.6, 64-bit, running on Windows 7 x64. I've already removed and re-installed Calibre to see if this resolves the issue. (Normally, I install on top of the previous version; don't know if that is officially supported or nto.) I did not remove the configuration folder and all plugins from my user profile; I'd hate do do all the configuration anew, if not absolutely necessary. |
10-12-2013, 09:45 PM | #5 |
....
Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
|
Have now also run into the same error a couple of times today. Have never had it before.
Calibre 1.6 64 bit, Windows 8 64 bit. Last edited by AnotherCat; 10-12-2013 at 09:51 PM. |
Advert | |
|
10-12-2013, 09:57 PM | #6 |
creator of calibre
Posts: 43,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
10-12-2013, 10:18 PM | #7 | |
Groupie
Posts: 167
Karma: 1720
Join Date: Feb 2009
Location: Canada
Device: PRS-T1
|
Quote:
|
|
10-12-2013, 10:22 PM | #8 |
creator of calibre
Posts: 43,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's the same bug, it will be fixed in the next release. It was caused by a small oversight in the code to support the new mark books feature.
|
10-13-2013, 12:28 AM | #9 |
Groupie
Posts: 167
Karma: 1720
Join Date: Feb 2009
Location: Canada
Device: PRS-T1
|
Thank you very much for the fix. Much appreciated.
|
10-15-2013, 05:20 AM | #10 |
Enthusiast
Posts: 29
Karma: 24736
Join Date: Aug 2013
Device: Sony PRS-T1
|
Is it a harmless bug? When I see index out of range errors, I'm worried Calibre starts deleting the wrong books.
|
10-15-2013, 05:30 AM | #11 |
creator of calibre
Posts: 43,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's harmless the out of range error comes from the code that is updating the status of marked books graphic.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error adding books to Calibre | dfernandez | Library Management | 0 | 09-12-2012 05:08 PM |
Adding books Error | tdwish | Conversion | 4 | 01-22-2012 06:37 AM |
Adding Books to Calibre error | Ginnia | Library Management | 4 | 06-07-2011 04:13 AM |
error adding books | Beau | Calibre | 5 | 11-02-2010 12:03 PM |
Error adding books | Gfinch | Calibre | 2 | 08-03-2008 08:36 PM |