View Single Post
Old 10-18-2020, 12:06 PM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by tekwrite View Post
Thanks for the replies. I have two libraries-ebook and hard cover. I get the error when I try to switch to the hard cover library. Details:

calibre, version 5.3.0
ERROR: Unhandled exception: <b>NameError</b>:name 'xrange' is not defined

calibre 5.3 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Find Duplicates (1, 6, 3) && Save Composite Custom Columns (1, 1, 1)
Traceback (most recent call last):
File "calibre\startup.py", line 188, in slot
File "calibre\gui2\actions\choose_library.py", line 259, in <lambda>
File "calibre\gui2\actions\choose_library.py", line 607, in switch_requested
File "calibre\gui2\ui.py", line 765, in library_moved
File "calibre_plugins.find_duplicates.action", line 61, in library_changed
File "calibre_plugins.find_duplicates.duplicates", line 69, in __init__
File "calibre_plugins.find_duplicates.config", line 111, in get_exemption_lists
NameError: name 'xrange' is not defined

Thanks for any help!
The find duplicates plugin you have installed is very old (from 2017) and not compatible with calibre 5. Update it
chaley is offline   Reply With Quote