Quote:
Originally Posted by Bermudagirl
BetterRed I've done exactly as you said. Everything is fine apart from the fact I still have the spurious libraries.
|
@
Bermudagirl - Then that is indeed curious, because
eschwartz is more often right than he is wrong
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>
So I deleted those entries (calibre not running) and they no longer appear in the Switch/Create location list
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