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 04-18-2020, 04:47 PM   #706
mariekes
Member
mariekes began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Mar 2016
Device: Kobo Libra H2O, Libra Colour
library list duplicates

Does anyone know, in a cross library search, how can i delete library's that are listed in the dropdown box for "compare with library"?
Thank you so much!
mariekes is offline   Reply With Quote
Old 04-18-2020, 05:06 PM   #707
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,745
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
AFAIK you can't removing libraries from this plugins list of libraries, other than by removing them from calibre's 'master' library list.

To remove a library from calibre's 'master' library list, click the library icon's drop down arrow, select the Remove library option, and then select the library you want to remove. This remove its path from from calibre's 'master' library list, but it will not delete the library from storage.

BR
BetterRed is offline   Reply With Quote
Advert
Old 04-18-2020, 06:30 PM   #708
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
The list is populated by those 'Known'
I f you have moved, detached the drive, or just deleted, You purge the entry using the Remove option. This only removes the linkage entry (was created with Create/Switch). If you really wan the Library gone, follow the advice displayed
theducks is offline   Reply With Quote
Old 06-04-2020, 08:09 AM   #709
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,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@davidfor: are you going to release your beta? If so I will update the "List of PIs to be ported to Python 3" to show it has been ported.
chaley is offline   Reply With Quote
Old 06-04-2020, 09:39 PM   #710
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 chaley View Post
@davidfor: are you going to release your beta? If so I will update the "List of PIs to be ported to Python 3" to show it has been ported.
I had completely forgotten about this. I'll try and do it over the weekend. And I have at least one other Python 3 beta out there I'll need to find.
davidfor is offline   Reply With Quote
Advert
Old 06-08-2020, 11:38 AM   #711
bmcs
Enthusiast
bmcs began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Mar 2013
Device: none
My question is similar to the one asked by mariekes on 04-18-2020, 08:47 PM.

Where is the list of previously searched libraries stored?
The directories shown in the drop down list have no connection with calibre's 'master' library list and appear to be stored in a separate file used by this plug in.
The image below shows a list of 6 directories which include 2 non-existent (phantom) directories.

Click image for larger version

Name:	Find-Dups.png
Views:	297
Size:	8.8 KB
ID:	179781

I have tried uninstalling the plugin, restarting calibre and reinstalling the plugin, but the phantoms directories are still there.

TIA
Dave

Last edited by bmcs; 06-08-2020 at 12:26 PM. Reason: Correct Grammatical Errors
bmcs is offline   Reply With Quote
Old 06-08-2020, 07:00 PM   #712
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,745
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by davidfor View Post
I had completely forgotten about this. I'll try and do it over the weekend. And I have at least one other Python 3 beta out there I'll need to find.
@davidfor - re the problem reported by mariekes and bmcs. I am seeing this in the select library drop down:

Click image for larger version

Name:	Annotation 2020-06-09 082023.jpg
Views:	300
Size:	63.7 KB
ID:	179785

I would expect to see something like this list from gui.json

Code:
  "library_usage_stats": {
    "D:/Calibre/Libraries/Books": 213, 
    "D:/Calibre/Libraries/Default": 8, 
    "D:/Calibre/Libraries/Empty": 5, 
    "D:/Calibre/Libraries/Intake": 73, 
    "D:/Calibre/Libraries/Journals": 305, 
    "D:/Calibre/Libraries/Media": 1042, 
    "D:/Calibre/Libraries/Test": 921
  },
But it appears I'm seeing this list from history.plist

Code:
	<key>lineedit_history_find_duplicates_plugin:library_duplicate_combo</key>
	<array>
		<string>D:\Calibre\Libraries\Books</string>
		<string>D:\Calibre\Libraries\Intake</string>
		<string>E:\Calibre Libraries\Test</string>
		<string>D:/Calibre Libraries/_Empty</string>
		<string>D:/Calibre Libraries/_Media</string>
		<string>D:/Calibre Libraries/_Main</string>
		<string>E:\Calibre Libraries\Main</string>
	</array>
Perhaps you could look into why this is happening? Maybe something changed in a recent release. I stopped using Find Duplicates->Library Duplicates feature when DaltonST released CalibreSpy.

After closing calibre, I was able to remove the lineedit_history_find_duplicates_plugin:library_du plicate_combo block, and then use the browse button to locate one of my existing libraries with no side effects. That of course recreated the list in history.plist. I'm hesitant to suggest mariekes and bmcs do similar before you respond.

BR

Last edited by BetterRed; 06-08-2020 at 07:27 PM.
BetterRed is offline   Reply With Quote
Old 06-09-2020, 07:33 AM   #713
bmcs
Enthusiast
bmcs began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Mar 2013
Device: none
Thanks for the pointer BetterRed. A simple edit of the erroneous path strings in history.plist solves the issue.

Regards
Dave
bmcs is offline   Reply With Quote
Old 06-09-2020, 09:04 PM   #714
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
Beta - Remove entries from library list

I was supposed to release the Python 3 compatible version over the weekend, but, got distracted and didn't before the question about the library list came up. And then got distracted by that. So...

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.

There are no other change since the last beta. Unless anyone sees an issue with this, I'll release it in a few days.

Last edited by davidfor; 06-13-2020 at 02:09 AM. Reason: Removed beta as there is a later version.
davidfor is offline   Reply With Quote
Old 06-09-2020, 11:03 PM   #715
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: 893
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by davidfor View Post
I was supposed to release the Python 3 compatible version over the weekend, but, got distracted and didn't before the question about the library list came up. And then got distracted by that. So...

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.

There are no other change since the last beta. Unless anyone sees an issue with this, I'll release it in a few days.
Will we have to redo the Spanish translation that you leave in this link? https://drive.google.com/file/d/1QgI...ew?usp=sharing
dunhill is offline   Reply With Quote
Old 06-10-2020, 09:19 AM   #716
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
Beta - Make translatable

Quote:
Originally Posted by dunhill View Post
Will we have to redo the Spanish translation that you leave in this link? https://drive.google.com/file/d/1QgI...ew?usp=sharing
The link didn't work, so, I don't know what was there. But, the work to do the translations properly hadn't been done. Nearly all the strings had been marked ready for translations, so there wasn't much work to do. The attached beta is now translatable. And I have attached the translation (with extension txt) file for you to work with.

Last edited by BetterRed; 06-21-2020 at 06:01 AM. Reason: Remove beta attachments - now in the release
davidfor is offline   Reply With Quote
Old 06-10-2020, 08:13 PM   #717
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: 893
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by davidfor View Post
The link didn't work, so, I don't know what was there. But, the work to do the translations properly hadn't been done. Nearly all the strings had been marked ready for translations, so there wasn't much work to do. The attached beta is now translatable. And I have attached the translation (with extension txt) file for you to work with.
Ok Davidfor,
Now I get to work with the one you sent

I leave you both the po file and the already translated mo file of the new version
Attached Thumbnails
Click image for larger version

Name:	11.png
Views:	299
Size:	10.7 KB
ID:	179837  

Last edited by BetterRed; 06-21-2020 at 06:39 PM. Reason: Remove attachments - now in the release
dunhill is offline   Reply With Quote
Old 06-12-2020, 03:35 AM   #718
bmcs
Enthusiast
bmcs began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Mar 2013
Device: none
@davidfor Thanks for working on the update.
Version 1.6.7 seems OK, but doesn't appear to allow removing old entries from the library list in the find library duplicates function.
Version 1.6.8 throws an error when "Find library duplicates" is called:
Quote:
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: DeDRM (6, 6, 3) && Quality Check (1, 9, 11) && Smashwords Metadata (1, 0, 0) && Find Duplicates (1, 6, 8) && Job Spy (1, 0, 181) && Generate Cover (1, 5, 24) && Reading List (1, 6, 7) && Goodreads (1, 4, 0) && Kobo Books (1, 8, 0)
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
Regards
Dave
bmcs is offline   Reply With Quote
Old 06-12-2020, 08:07 AM   #719
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
Beta - Translation fix plus Spanish

Quote:
Originally Posted by bmcs View Post
@davidfor Thanks for working on the update.
Version 1.6.7 seems OK, but doesn't appear to allow removing old entries from the library list in the find library duplicates function.
Version 1.6.8 throws an error when "Find library duplicates" is called:
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.

Last edited by BetterRed; 06-21-2020 at 06:00 AM. Reason: Remove beta attachment - now in the release
davidfor is offline   Reply With Quote
Old 06-12-2020, 09:28 AM   #720
bmcs
Enthusiast
bmcs began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Mar 2013
Device: none
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.
This beta doesn't throw any errors. Maybe I am missing something (very likely), but how can it be used to remove old erroneous entries from the library list?

Regards
Dave

Last edited by bmcs; 06-12-2020 at 10:12 AM. Reason: Correct minor typo.
bmcs 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] 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] Quality Check kiwidude Plugins 1251 07-07-2025 09:13 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 07:13 PM.


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