Calibre 1.6 / Find Duplicates Plugin /ERROR: Unhandled exception: <b>ValueError</b>:tuple.index(x): x not in tuple

Bug #1238636 reported by Melanie Hotz
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Calibre 1.6 and Find Duplicates Plugin Plugin throws an error (Calibre 1.5 works)

Finding Duplicates (Show one group at a time)
Merge Books -> Merge book records -> Merge into first selected book - delete others -> Next Result

Calibre, version 1.6.0
ERROR: Unhandled exception: <b>ValueError</b>:tuple.index(x): x not in tuple

calibre 1.6 isfrozen: True is64bit: False
Windows-XP-5.1.2600-SP3 Windows ('32bit', 'WindowsPE')
('Windows', 'XP', '5.1.2600')
Python 2.7.5
Windows: ('XP', '5.1.2600', 'SP3', 'Multiprocessor Free')
Traceback (most recent call last):
  File "calibre_plugins.find_duplicates.action", line 200, in show_next_result
  File "calibre_plugins.find_duplicates.duplicates", line 267, in show_next_result
  File "calibre_plugins.find_duplicates.duplicates", line 534, in _update_marked_books
  File "site-packages\calibre\db\view.py", line 383, in set_marked_ids
  File "site-packages\calibre\gui2\__init__.py", line 421, in __call__
  File "site-packages\calibre\gui2\library\views.py", line 693, in marked_changed
  File "site-packages\calibre\gui2\library\alternate_views.py", line 306, in marked_changed
  File "site-packages\calibre\gui2\library\alternate_views.py", line 830, in marked_changed
  File "site-packages\calibre\db\view.py", line 193, in id_to_index
ValueError: tuple.index(x): x not in tuple

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 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.