Can't edit names in index of books

Bug #1897618 reported by Lorenzo García Blas
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

I edit a book and try to modify the index of that book.
If I select one or several items of the list on the left, and try to change the names of those items by selecting the second option of the context menu (right click), I get this error.
However, I can do it by selecting just one item and pressing F2 key

calibre, version 5.0.1
ERROR: Excepción no considerada: <b>TypeError</b>:unhashable type: 'QTreeWidgetItem'

calibre 5.0.1 embedded-python: True is64bit: True
Linux-5.7.0-050700-generic-x86_64-with-glibc2.2.5 Linux ('64bit', 'ELF')
('Linux', '5.7.0-050700-generic', '#202005312130 SMP Mon Jun 1 01:33:12 UTC 2020')
Python 3.8.5
Interface language: es
Successfully initialized third party plugins: Actualizador Biblioteca EPG (1, 7, 0) && Count Pages (1, 10, 0) && EpubMerge (2, 11, 0) && Find Duplicates (1, 7, 2) && Modify ePub (1, 4, 1) && Quality Check (1, 10, 1) && Resize Cover (1, 1, 0)
Traceback (most recent call last):
  File "site-packages/calibre/gui2/toc/main.py", line 631, in bulk_rename
  File "site-packages/calibre/gui2/toc/main.py", line 631, in <dictcomp>
TypeError: unhashable type: 'QTreeWidgetItem'

Thanks a lot.

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.