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 06-12-2020, 10:06 AM   #721
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 davidfor View Post
Attached is a beta that allows removing old entries from the library list in the find library duplicates function. With this, when the library list is displayed, pressing the delete key will remove the currently selected entry. To do this, click the arrow to show the list (BR: press ALT+down arrow, though you probably know that), then use the arrows to select an entry. Pressing the delete key will remove that entry from the list.
Quote:
Originally Posted by bmcs View Post
This beta doesn't thro any errors. Maybe I am missing something (very likely), but how can it be used to remove old erroneous entries from the library list?
My original post explained how to delete the old entries.
davidfor is offline   Reply With Quote
Old 06-12-2020, 11:37 AM   #722
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: 46,425
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Not certain if it is my setup or ?. The beta Find Duplicates throws an error when I try to use Find Library Duplicates or Find Metadata Variations.

Spoiler:
For Library Duplicates:
Code:
calibre, version 4.18.0
ERROR: Unhandled exception: <b>TypeError</b>:not all arguments converted during string formatting

calibre 4.18 [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
Successfully initialized third party plugins: Find Duplicates (1, 6, 8)

Traceback (most recent call last):
  File "calibre_plugins.find_duplicates.action", line 170, in find_library_duplicates
  File "calibre_plugins.find_duplicates.dialogs", line 1099, in __init__
  File "calibre_plugins.find_duplicates.dialogs", line 1133, in _update_description
TypeError: not all arguments converted during string formatting
For Find Metadata Variations:
Code:
calibre, version 4.18.0
ERROR: Unhandled exception: <b>TypeError</b>:ugettext() takes exactly 2 arguments (3 given)

Traceback (most recent call last):
  File "calibre_plugins.find_duplicates.dialogs", line 717, in _refresh_results
TypeError: ugettext() takes exactly 2 arguments (3 given)
DNSB is online now   Reply With Quote
Old 06-13-2020, 02:09 AM   #723
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 DNSB View Post
Not certain if it is my setup or ?. The beta Find Duplicates throws an error when I try to use Find Library Duplicates or Find Metadata Variations.

Spoiler:
For Library Duplicates:
Code:
calibre, version 4.18.0
ERROR: Unhandled exception: <b>TypeError</b>:not all arguments converted during string formatting

calibre 4.18 [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
Successfully initialized third party plugins: Find Duplicates (1, 6, 8)

Traceback (most recent call last):
  File "calibre_plugins.find_duplicates.action", line 170, in find_library_duplicates
  File "calibre_plugins.find_duplicates.dialogs", line 1099, in __init__
  File "calibre_plugins.find_duplicates.dialogs", line 1133, in _update_description
TypeError: not all arguments converted during string formatting
For Find Metadata Variations:
Code:
calibre, version 4.18.0
ERROR: Unhandled exception: <b>TypeError</b>:ugettext() takes exactly 2 arguments (3 given)

Traceback (most recent call last):
  File "calibre_plugins.find_duplicates.dialogs", line 717, in _refresh_results
TypeError: ugettext() takes exactly 2 arguments (3 given)
There is another beta that fixes both those problems. It is version 1.6.9.
davidfor is offline   Reply With Quote
Old 06-13-2020, 03:35 PM   #724
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: 46,425
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by davidfor View Post
There is another beta that fixes both those problems. It is version 1.6.9.
That's what I call service! The problem is fixed before I reported it.
DNSB is online now   Reply With Quote
Old 06-14-2020, 08:59 PM   #725
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: 894
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by davidfor View Post
That was an error in handling the translations. And I remember looking at it and thinking I had to come back to it.

I also found another error due to adding the translations that wasn't actually a translation. And a complete dialog that wasn't been translatable (sorry @dunhill).

The attached beta has these fixed and the Spanish translation done by @dunhill. Hopefully that fixes everything.
@davidfor
I leave the new files with the complete Spanish translations !!
Attached Thumbnails
Click image for larger version

Name:	a traducir.PNG
Views:	246
Size:	21.5 KB
ID:	179905  

Last edited by BetterRed; 06-21-2020 at 06:38 PM. Reason: Remove attachments - now in the release
dunhill is offline   Reply With Quote
Old 06-21-2020, 06:38 PM   #726
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: 894
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
@davidfor I have been told that the plugin title is too long with the translation, for this reason I leave the new files for the next updates, so that it does not look bad.
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	222
Size:	29.1 KB
ID:	180062  
Attached Files
File Type: txt es.mo.txt (27.0 KB, 188 views)
File Type: txt es.po.txt (31.5 KB, 196 views)

Last edited by dunhill; 06-22-2020 at 12:26 AM.
dunhill is offline   Reply With Quote
Old 06-21-2020, 06:49 PM   #727
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: 21,752
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@davidfor - the last three releases occurred at three yearly intervals (Jul '14, Jun '17, Jun '20), so I suggest you create a new release with dunhill's new translations Ψ³

PM me a link to the zip - don't forget to increment the version to 1.7.1

BR
BetterRed is offline   Reply With Quote
Old 06-21-2020, 08:15 PM   #728
IndioB
Member
IndioB began at the beginning.
 
IndioB's Avatar
 
Posts: 11
Karma: 10
Join Date: Jan 2016
Location: Tarragona, Spain
Device: Tagus
Hi!

I'm having trouble with the latest version.

In Find metadata variations, the Publisher and Tags sections give me the following problem:
Code:
 calibre, version 4.19.0
ERROR: Unhandled exception: <b>TypeError</b>:ugettext() takes exactly 2 arguments (3 given)

calibre 4.19 [64bit]  embedded-python: True is64bit: True
Windows-8.1-6.3.9600-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '8.1', '6.3.9600')
Python 2.7.16+
Windows: ('8.1', '6.3.9600', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: EpubMerge (2, 9, 0) && Read MP3 AudioBook metadata (1, 0, 79) && Modify ePub (1, 4, 1) && Find Duplicates (1, 7, 0)
Traceback (most recent call last):
  File "calibre_plugins.find_duplicates.dialogs", line 717, in _refresh_results
TypeError: ugettext() takes exactly 2 arguments (3 given)

At the moment I would like to return to the previous version, but I don't see how to do it. Thank you.

That with the English version, with the Spanish version I have more problems than I have already communicated to Dunhill.

Besides the errors in Publisher and Tags, I also get errors in Authors:
Code:
 calibre, version 4.19.0
ERROR: Excepción no considerada: <b>Exception</b>:(u'Unknown item type:', u'autores')

calibre 4.19 [64bit]  embedded-python: True is64bit: True
Windows-8.1-6.3.9600-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '8.1', '6.3.9600')
Python 2.7.16+
Windows: ('8.1', '6.3.9600', 'SP0', u'Multiprocessor Free')
Interface language: es
Successfully initialized third party plugins: Find Duplicates (1, 7, 0) && Modify ePub (1, 4, 1) && EpubMerge (2, 9, 0) && Read MP3 AudioBook metadata (1, 0, 79)
Traceback (most recent call last):
  File "calibre_plugins.find_duplicates.dialogs", line 710, in _refresh_results
  File "calibre_plugins.find_duplicates.variation_algorithms", line 38, in run_variation_check
  File "calibre_plugins.find_duplicates.variation_algorithms", line 79, in _get_items_to_consider
Exception: (u'Unknown item type:', u'autores')
The title of the plugin is too long and displaces the other icons:
Attached Thumbnails
Click image for larger version

Name:	find.jpg
Views:	241
Size:	12.5 KB
ID:	180066  
IndioB is offline   Reply With Quote
Old 06-21-2020, 08:26 PM   #729
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: 21,752
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by IndioB View Post
At the moment I would like to return to the previous version, but I don't see how to do it. Thank you.
I'll PM you a link to the previous version.

No I won't do that, I'll attach it here.

BR

Last edited by BetterRed; 06-22-2020 at 05:24 AM.
BetterRed is offline   Reply With Quote
Old 06-21-2020, 09:06 PM   #730
IndioB
Member
IndioB began at the beginning.
 
IndioB's Avatar
 
Posts: 11
Karma: 10
Join Date: Jan 2016
Location: Tarragona, Spain
Device: Tagus
Quote:
Originally Posted by BetterRed View Post
I'll PM you a link to the previous version.

No I won't do that, I'll attach it here.

BR
Sorry, I don't understand, I'm talking about the "Find Duplicates.zip" plugin and the file you send is "Count Pages.zip"
IndioB is offline   Reply With Quote
Old 06-22-2020, 12:53 AM   #731
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
Sorry, I messed up a couple of translations. In one place, something that should have been two strings, was only one. In the other, I made something translatable that shouldn't have been. One of these only happened when there were no duplicates. And, well, I didn't test that

The attached beta fixes this, plus has @dunhill's latest translations.

Last edited by BetterRed; 06-25-2020 at 05:10 AM. Reason: Remove attachment - now in the release
davidfor is offline   Reply With Quote
Old 06-22-2020, 05:26 AM   #732
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: 21,752
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by IndioB View Post
Sorry, I don't understand, I'm talking about the "Find Duplicates.zip" plugin and the file you send is "Count Pages.zip"
Whoops - I pulled the wrong one of my hat. Sorry about that.

BR
BetterRed is offline   Reply With Quote
Old 06-22-2020, 05:44 PM   #733
IndioB
Member
IndioB began at the beginning.
 
IndioB's Avatar
 
Posts: 11
Karma: 10
Join Date: Jan 2016
Location: Tarragona, Spain
Device: Tagus
Smile Everything OK in v1.7.1

Quote:
Originally Posted by davidfor View Post
The attached beta fixes this, plus has @dunhill's latest translations.
Thank you very much, everything works perfectly in a bookstore with 90,000 books and 28,800 authors. Excellent work and the translation is appreciated.
IndioB is offline   Reply With Quote
Old 06-22-2020, 05:46 PM   #734
IndioB
Member
IndioB began at the beginning.
 
IndioB's Avatar
 
Posts: 11
Karma: 10
Join Date: Jan 2016
Location: Tarragona, Spain
Device: Tagus
Quote:
Originally Posted by BetterRed View Post
Whoops - I pulled the wrong one of my hat. Sorry about that.

BR
Don't worry, the interest and support is appreciated.
IndioB is offline   Reply With Quote
Old 06-24-2020, 10:09 PM   #735
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: 894
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Last translation @davidfor
It is a pleasure to translate the plugins, keep me in mind for more translations

Last edited by BetterRed; 06-25-2020 at 05:11 AM. Reason: Remove attachments - now in the release
dunhill is offline   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 1252 Today 09:53 AM
[GUI Plugin] Generate Cover kiwidude Plugins 862 07-24-2025 08:49 PM
[GUI Plugin] View Manager kiwidude Plugins 416 07-16-2025 05:35 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 03:34 PM.


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