View Single Post
Old 02-15-2020, 08:44 PM   #703
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
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', '')
Interface language: None
Successfully initialized third party plugins: Count Pages (1, 9, 0) && Diaps Editing Toolbag (0, 3, 6) && EpubSplit (2, 9, 0) && Extract ISBN (1, 4, 4) && Find Duplicates (1, 6, 5) && Goodreads Sync (1, 14, 2) && KindleUnpack - The Plugin (0, 82, 1) && Kobo Books (1, 8, 0) && Modify ePub (1, 4, 0) && Quality Check (1, 9, 11)
Traceback (most recent call last):
  File "calibre_plugins.find_duplicates.dialogs", line 705, in _refresh_results
  File "calibre_plugins.find_duplicates.variation_algorithms", line 49, in run_variation_check
  File "calibre_plugins.find_duplicates.variation_algorithms", line 117, in _flatten_candidates_for_item
  File "calibre_plugins.find_duplicates.variation_algorithms", line 136, in _clean_dup_groups
TypeError: 'cmp' is an invalid keyword argument for this function
I missed one of the sorts in the Python 3 changes and it still had the old parameters. But, that's what betas are for. It is fixed in the attached beta.

Last edited by davidfor; 06-13-2020 at 02:10 AM. Reason: Removed beta as there is a later version.
davidfor is offline   Reply With Quote