![]() |
#16 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I just don't get where you are seeing this bad entry
Screen shot please, include enough surrounding screen for us to clearly understand 'where' |
![]() |
![]() |
![]() |
#17 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 192164
Join Date: Oct 2010
Location: Scotland
Device: iPad Mini 4
|
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 309
Karma: 1645952
Join Date: Jun 2012
Device: none
|
I don't know of any way to clear entries off that particular list, but you shouldn't have to go into that list very often.
Your libraries should all be listed on the Library drop-down menu, and if they don't all fit, they should at least be on the Quick Switch submenu. I would think it would be much faster to switch between libraries that way. In fact, the only reason I can think of to go into that screen is to add a new library to Calibre's Quick Switch, which you should rarely have to do. |
![]() |
![]() |
![]() |
#19 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 192164
Join Date: Oct 2010
Location: Scotland
Device: iPad Mini 4
|
You're right fidvo. I've just realised it's much quicker to switch using the Quick Switch menu!
|
![]() |
![]() |
![]() |
#20 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
OK, I see now.
That is the History list for the choose Library dialog. I believe that is stashed (recently used list) somewhere in the Registry. A registry cleaner may clear those. |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
It is actually in %CalibreConfig%\dynamic.pickle (across all platforms -- well, actually I don't have OSX to check) but you can't edit it by hand since it's in binary.
|
![]() |
![]() |
![]() |
#22 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#23 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 192164
Join Date: Oct 2010
Location: Scotland
Device: iPad Mini 4
|
Thank you BetterRed - will try that and see how it goes!
|
![]() |
![]() |
![]() |
#24 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 192164
Join Date: Oct 2010
Location: Scotland
Device: iPad Mini 4
|
BetterRed I've done exactly as you said. Everything is fine apart from the fact I still have the spurious libraries.
I think I'm just going to give up on trying to sort this little problem. As fidvo said, I should rarely have to use the drop down box but use the quick switch menu much more, so that's what I will do! Many thanks to everyone for your help and suggestions! You're such a helpful and friendly bunch here! |
![]() |
![]() |
![]() |
#25 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() I just looked at my drop down list in Switch/Create. There's a lot of 'spurious' locations there - all created by me at some time or other, and all removed by me via the Remove Library function. None of them appear in the dynamic.pickle file - I loaded it into a Hex editor and did eyeball and viewer searches. So I think you've discovered something that's not generally known. When a library is removed, it's not removed from the most recently used (MRU) list that's used in Switch/Create. Whether that's a 'bug' or not is highly debatable. I'm not aware of any programs that attempt to keep such lists up to date. The attachment is what I get from Word if I select a file from it's MRU list that's no longer there. I also searched the registry for one of my 'spurious' library names, unsurprisingly it didn't find it - calibre does not use the registry, because its a Windows artefact that has no 'equivalent' in Unix-like OS's such Lunix and OS/X. So where does calibre keep that MRU list? Surprise, surprise it's in %CalibreConfig%\history.plist - which is an editable file. This is what I found there - the entries with a * are 'spurious' libraries. Code:
<key>lineedit_history_choose_library_dialog</key> <array> * <string>E:\Calibre Libraries\newmedia\newmediaLibrary</string> <string>E:\Calibre Libraries\Media</string> * <string>E:\Calibre Libraries\Media Test</string> <string>E:\Calibre Libraries\Empty</string> * <string>C:\Users\BetterRed\SkyDrive</string> * <string>D:\CalibreLibrary</string> * <string>E:\Calibre Libraries\MediaTest</string> * <string>MediaTest</string> * <string>E:\Calibre Libraries\Media Templates</string> * <string>E:\Calibre Libraries\NewTest</string> </array> ![]() Added : the list of libraries that calibre does 'know' about is in the %CalibreConfig%\gui.json file, in an entry named library_usage_stats BR Last edited by BetterRed; 03-23-2014 at 07:46 PM. Reason: See - Added |
|
![]() |
![]() |
![]() |
#26 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 192164
Join Date: Oct 2010
Location: Scotland
Device: iPad Mini 4
|
Many thanks BetterRed. Will have a look at it tomorrow!
Excuse my ignorance, but can I ask where I will find it and how I access %CalibreConfig%\history.plist? Last edited by Bermudagirl; 03-23-2014 at 07:57 PM. |
![]() |
![]() |
![]() |
#27 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
![]() I just rattled off the first location that seemed to have the right data. dynamic.pickle had a bunch of old library locations for me. Possibly some sort of caching, then? It has all kinds of miscellaneous history stuff in it... So... I discovered Code:
cd ~/.config grep -rn 'calibre' -e "Calibre Libraries" Spoiler:
Should've done this in the first place... Iterator.pickle has bookmarks from everywhere, I think. dynamic.pickle has a collection of references for file-chooser dialogs. I think the pickles must have cached data that can be safely ignored. edit-book-dynamic.pickle=dynamic.pickle, basically, as does edit-book-history.plist=history.plist Possibly clean up both plists to be safe? Same as before, in the calibre configuration directory reached from Preferences ==> Miscellaneous Last edited by eschwartz; 03-23-2014 at 08:03 PM. |
![]() |
![]() |
![]() |
#28 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() I assumed you were using the 'actually' stemming from this 'actual' - Presently existing in fact and not merely potential or possible ![]() ![]() ![]() I think (hint) edit-book-history.plist must have inherited its MRU list from history.plist. Some of my 'spurious' libraries ceased to exist since before Book Editor was even a glimmer in Kovid's eye. BR |
|
![]() |
![]() |
![]() |
#29 |
....
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
|
I am not sure that there is any problem to spend time resolving. It seems, but I am no expert on the innards of Calibre, however, as others have said that this is a history list. It is also a list that is not ordinarily used in the day to day use of Calibre - it presents a list of possibilities from the past should one ever have necessary recourse to that part of the menu tree.
If so, perhaps it should be looked at it in the same light as one would with the recent documents lists in the likes of the Microsoft Office applications, etc., for example, where those normal and low levels of anxiety do not get their knickers in a twist if there are items on those history lists which no longer exist, or which have been later moved to another folder and so also made inaccessible from the list. One can, of course, often (but not always) clean those lists by setting the list length temporarily to zero, or for which tools such as CCleaner will also clear for popular applications; but whoever bothers much? Unless there is some other special importance of the list being correct for Calibre to operate correctly and be used efficiently, which is doubtful, it looks to me that people may be looking for a problem here when there really is none ![]() For the record, there are 10 libraries in my own list, some of which still exist and others that do not. I am quite confident that I have over the course of time created more libraries that that (and which been deleted) and so it may be that the history list is a stack 10 deep, last on top - well 10 is a nice round number anyway ![]() |
![]() |
![]() |
![]() |
#30 | ||
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
![]() Quote:
![]() @AnotherCat I for one am happy at the excuse to learn more about the innards of calibre. |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bad Database Location on Install | Timoleon | Calibre | 23 | 02-23-2011 02:35 AM |
Calibre won't open after install -- ERROR: Bad database location | htbyron | Calibre | 3 | 06-17-2010 10:43 AM |
Bad database location | southcot | Calibre | 2 | 05-05-2010 07:37 AM |
Error moving book details to a new location... | GeoffC | Calibre | 2 | 08-20-2009 03:14 AM |
Bad Database Location | Anggun | Calibre | 1 | 12-25-2008 02:17 AM |