Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 01-17-2020, 04:33 AM   #691
Jeremy_D
Junior Member
Jeremy_D began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2020
Location: Australia
Device: kindle (very old)
Hi all,

I'm keen to have a go at porting this plugin to python3. According to the Calibre plugin stats, "Find Duplicates" is pretty popular and according to the py3 plugin port post it hasn't yet been done.

Is the original developer still floating about? If so are you ok with me working on a port? If not, does anyone else know if someone has already started work on this?

Also, does an existing public revision control (preferably git) repo already exist for this? Or should I just start a new one on GitHub?

Finally, assuming I do work on this, I'm a Linux only user, so to ensure it works on all platforms, are there other OS users who are interested in testing the py3 port?
Jeremy_D is offline   Reply With Quote
Old 01-17-2020, 06:56 PM   #692
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,998
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Jeremy_D View Post
Hi all,

I'm keen to have a go at porting this plugin to python3. According to the Calibre plugin stats, "Find Duplicates" is pretty popular and according to the py3 plugin port post it hasn't yet been done.

Is the original developer still floating about? If so are you ok with me working on a port? If not, does anyone else know if someone has already started work on this?

Also, does an existing public revision control (preferably git) repo already exist for this? Or should I just start a new one on GitHub?

Finally, assuming I do work on this, I'm a Linux only user, so to ensure it works on all platforms, are there other OS users who are interested in testing the py3 port?
The original developer (kiwidude) logs in occasionally, I suggest you send him a PM as a courtesy.

Use whatever version control you're comfortable with, but the distribution of the release versions must be via the Plugin Updater process - as per the stickies at the top of the Plugins sub-forum. The forum lacks a facility to assign a thread to a different member; so, that means having to ask one of the active mods (me, theducks, DoctorOhh, PeterT, kovid) to update the first post and the index - see the top of index.

Post test versions in a new messages. There'll be a few people to test new versions in current release calibre (i.e. 4.x) for Windows and MacOS, not so many for 4.99.x. You'll get more when Kovid calls for beta testers on what I assume will be calibre 5.



Regarding this plugin in particular:
  • It has a feature to exclude duplicate groups from consideration whenever the plugin is run.

    Some time after that feature was implemented in FD, Kovid implemented the user accessible marking of books in the calibre core (which deprecated the Temp Marker plugin). This plugin makes use of the same mechanism. IIRC it keeps a list of excluded groups in the database, when the plugin is loaded (or on a library switch) it uses the list to re-mark the books - which confuses users.

    The solutions that have come to mind is to avoid the existing temporary mark mechanism, and implement a 'plugins only' marking mechanism, and/or defer the re-marking of books to when the search for duplicates is executed.
  • And there's this problem ==>> How to fix Search showing all books with matches highlighted

    I can't recall the circumstances when that happens, I don't think it relates to excluded groups.

    Added: it either needs to restore the standard search highlight/filter setting back to what it was (but, when it would do that might be the question), or use a plugin specific approach

It would be good to get those issues resolved - probably after the py3 dust settles.

BR

Last edited by BetterRed; 01-19-2020 at 08:50 PM.
BetterRed is offline   Reply With Quote
Advert
Old 01-21-2020, 02:45 AM   #693
Jeremy_D
Junior Member
Jeremy_D began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2020
Location: Australia
Device: kindle (very old)
Quote:
Originally Posted by BetterRed View Post
The original developer (kiwidude) logs in occasionally, I suggest you send him a PM as a courtesy.
Thanks for that. I'll shoot him a PM shortly.

Quote:
Use whatever version control you're comfortable with, but the distribution of the release versions must be via the Plugin Updater process - as per the stickies at the top of the Plugins sub-forum. The forum lacks a facility to assign a thread to a different member; so, that means having to ask one of the active mods (me, theducks, DoctorOhh, PeterT, kovid) to update the first post and the index - see the top of index.
Ok great. I'll keep that in mind.

Quote:
Post test versions in a new messages. There'll be a few people to test new versions in current release calibre (i.e. 4.x) for Windows and MacOS, not so many for 4.99.x. You'll get more when Kovid calls for beta testers on what I assume will be calibre 5.
Do you mean posting it in a new message here? Or somewhere else?

Quote:
Regarding this plugin in particular:
  • It has a feature to exclude duplicate groups from consideration whenever the plugin is run.

    Some time after that feature was implemented in FD, Kovid implemented the user accessible marking of books in the calibre core (which deprecated the Temp Marker plugin). This plugin makes use of the same mechanism. IIRC it keeps a list of excluded groups in the database, when the plugin is loaded (or on a library switch) it uses the list to re-mark the books - which confuses users.

    The solutions that have come to mind is to avoid the existing temporary mark mechanism, and implement a 'plugins only' marking mechanism, and/or defer the re-marking of books to when the search for duplicates is executed.
  • And there's this problem ==>> How to fix Search showing all books with matches highlighted

    I can't recall the circumstances when that happens, I don't think it relates to excluded groups.

    Added: it either needs to restore the standard search highlight/filter setting back to what it was (but, when it would do that might be the question), or use a plugin specific approach

It would be good to get those issues resolved - probably after the py3 dust settles.
Ok great. I won't give any promises at this stage, but it would be nice to have a look at those. Although I'm fairly novice as far as programming goes, so porting to python3 without introducing any new bugs is probably the first step (at least as far as I'm concerned).

Speaking of which, I've already run 2to3 over this plugin code, but I'm still struggling a little to get a python3 instance of Calibre up and running so I can start doing some preliminary testing. Unfortunately, the dev instructions don't appear to work with Python3 (it's still running python2). On reflection that makes sense as the binary install would be pre-compiled. Anyway, I'll hopefully work that out and get back to this...

Thanks again for the warm welcome and friendly advice.
Jeremy_D is offline   Reply With Quote
Old 01-21-2020, 03:51 AM   #694
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,998
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Jeremy_D View Post
... Do you mean posting it in a new message here? Or somewhere else?
Attach the zip to a new post in this thread. Delete it when its replaced or released.

Quote:
Originally Posted by Jeremy_D View Post
... Speaking of which, I've already run 2to3 over this plugin code, but I'm still struggling a little to get a python3 instance of Calibre up and running so I can start doing some preliminary testing. Unfortunately, the dev instructions don't appear to work with Python3 (it's still running python2). On reflection that makes sense as the binary install would be pre-compiled. Anyway, I'll hopefully work that out and get back to this...
Plug yourself into this thread ==>>https://www.mobileread.com/forums/sh...d.php?t=326394

I'm sure davidfor, JimmXinu etc will be happy to give you some pointers, they're both very familiar with calibre's development setup, kiwidudes plugins, and what's needed to make them py3 compliant.

BR
BetterRed is offline   Reply With Quote
Old 01-21-2020, 06:31 AM   #695
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: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by BetterRed View Post
Attach the zip to a new post in this thread. Delete it when its replaced or released.


Plug yourself into this thread ==>>https://www.mobileread.com/forums/sh...d.php?t=326394
And Attn plugin devs: porting to python 3. From memory, there is some discussion of running both the released and the Python 3 version on one machine. On my laptop, I installed the portable Python 3 beta and have some scripts to run it with the appropriate environment variables.
Quote:
I'm sure davidfor, JimmXinu etc will be happy to give you some pointers, they're both very familiar with calibre's development setup, kiwidudes plugins, and what's needed to make them py3 compliant.
Yes, ask and someone will answer if we know. If it is about how this plugin works, you probably should ask here. But, using either of the above threads should get the attention of everyone that is doing calibre development.
davidfor is offline   Reply With Quote
Advert
Old 02-01-2020, 01:39 AM   #696
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: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Beta - Python 3 compatible

I have made the changes to the plugin to make it Python 3 compatible. I don't use it much, but, it was there was an error each time I changed library. That was annoying me and causing some other problems.

I have tested some basic function in both the release version of calibre and the Python 3 betas. It all seems to work. But, as I don't use it much, I haven't tested everything. It loads, will find duplicates in both the current library and another library, but, I have only used the default options for everything. If someone who does use it in test it in either environment, that would be very helpful. And honestly, at this point, I am more concerned about breaking the plugin in the released version of calibre than the Python 3 version.

@Jeremy_D: Sorry, I had completely forgotten that you had picked this plugin to look at until I came to do this post.

Last edited by davidfor; 02-15-2020 at 09:46 PM. Reason: Removed beta as there is a later version.
davidfor is offline   Reply With Quote
Old 02-08-2020, 09:11 PM   #697
sikm
Member
sikm began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Oct 2011
Location: Melbourne, Australia
Device: kindle
Calibre Plugin - Find Duplicates

For some reason this plugin isn't showing up in the main toolbar. As Calibre loads it does show up but when loaded it's not there - nor is Edit Book. If I try to modify the main toolbar then Find Duplicates and Edit Book both show as being there but when the library is loaded it's not there.
I don't recall changing anything but can't think what could be wrong.
sikm is offline   Reply With Quote
Old 02-08-2020, 10:57 PM   #698
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,998
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Do you have a device attached, there are separate toolbars and menus when a device is attached

BR
BetterRed is offline   Reply With Quote
Old 02-09-2020, 12:49 AM   #699
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,546
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
there are probably too many icons on your toolbar, click the little dots at the edge of the toolbar to expand it and see the missing icons.
kovidgoyal is offline   Reply With Quote
Old 02-15-2020, 04:20 PM   #700
Section8
Addict
Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.
 
Section8's Avatar
 
Posts: 256
Karma: 2092424
Join Date: Oct 2011
Location: Arlington, TX
Device: Kindle PW4, Moon+ Reader on a cheap Android tablet
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
Section8 is offline   Reply With Quote
Old 02-15-2020, 07:17 PM   #701
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,432
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
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
Install Calibre 4.10.1 and try again. 4.10.1 change the version of QT to a newer version so the results might be different.
JSWolf is online now   Reply With Quote
Old 02-15-2020, 09: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: 40,549
Karma: 157444380
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
Old 02-15-2020, 09: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: 47303822
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 03:10 AM. Reason: Removed beta as there is a later version.
davidfor is offline   Reply With Quote
Old 02-16-2020, 07:47 PM   #704
Section8
Addict
Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.
 
Section8's Avatar
 
Posts: 256
Karma: 2092424
Join Date: Oct 2011
Location: Arlington, TX
Device: Kindle PW4, Moon+ Reader on a cheap Android tablet
Thsnk you - that fixed it.
Section8 is offline   Reply With Quote
Old 03-08-2020, 02:44 PM   #705
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 773
Karma: 340954
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
I would like to make my contribution to translate it into Spanish, since it is being remodeled.
dunhill is online now   Reply With Quote
Reply

Tags
cross library duplicates, in library duplicates


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Quality Check kiwidude Plugins 1208 Today 11:22 AM
[GUI Plugin] Generate Cover kiwidude Plugins 834 Yesterday 01:39 AM
[GUI Plugin] View Manager kiwidude Plugins 415 05-11-2024 04:28 AM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 09:39 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 02:33 PM.


MobileRead.com is a privately owned, operated and funded community.