IndexError: tuple index out of range

Bug #1999936 reported by ownedbycats
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

Calibre 6.10

calibre, version 6.10.0
ERROR: Unhandled error: Failed to read book data from calibre library. Click "Show details" for more information

Traceback (most recent call last):
  File "D:\Documents\git\calibre\src\calibre\gui2\library\", line 624, in current_changed
  File "D:\Documents\git\calibre\src\calibre\gui2\library\", line 606, in get_book_display_info
  File "D:\Documents\git\calibre\src\calibre\db\", line 693, in get_metadata
  File "D:\Documents\git\calibre\src\calibre\db\", line 226, in index_to_id
IndexError: tuple index out of range

I receive this error when either:

a) using Job Spy's "Create Search Criteria from Selected Book IDs" to produce a search of id:####.
b) Opening a calibre:// link to perform a search for id:####. (This also happens if I use a custom #calibreid column rather than id directly.)

In both cases, the search works anyways. It does not occur if I search for id:#### manually.

Thanks in advance.

description: updated
description: updated
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

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

 status fixreleased

Changed in calibre:
status: New → 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.