View Single Post
Old 02-15-2020, 08:15 PM   #702
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,432
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Section8 View Post
Running Calibre 4.9.1 here. Thanks for the beta - I was getting an xrange error switching libraries and the beta seems to have fixed that.

I mostly use the plugin to weed out publisher variations. If I do Find Metadata variations->check "Publisher", and then press "Search", I get this error:

Code:
calibre, version 4.9.1
ERROR: Unhandled exception: <b>TypeError</b>:'cmp' is an invalid keyword argument for this function

calibre 4.9.1  embedded-python: False is64bit: True
Linux-4.19.97-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.6 Linux ('64bit', 'ELF')
('Linux', '4.19.97-gentoo', '#2 SMP PREEMPT Sat Feb 1 18:45:22 CST 2020')
Python 3.6.9
Linux: ('Gentoo Base System', '2.6', '')
Under Windows 10 x64, calibre 4.10.1, I can't duplicate your error. However, since you are running Linux and using Python 3.6.9 while my system is using the embedded Python 2.7.16+, I'd suspect that may be the difference. Doing a quick Google search came up with multiple items such as: TypeError: 'cmp' is an invalid keyword argument for this function which is about 5 years old but likely still valid and Convert a cmp function to a key function (Python recipe).


Code:
calibre 4.10.1 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: None

Analysing 2404 publisher for duplicates...
Completed duplicate analysis in: 0.195999860764
Found 249 duplicate groups
Basically, it looks as if the conversion to Python3 has some unfinished bits and pieces.
DNSB is offline   Reply With Quote