03-31-2012, 05:07 PM | #16 | |
Well trained by Cats
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Enter Select all Tap Delete |
|
03-31-2012, 05:31 PM | #17 |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Easiest fix is to restore the backup you probably made when you decided to go the OS way.
However the books you had deleted should easily be found by sorting on the date added column. If you had deleted books from a date range, select all books in that date range and either try to view them or run the bulk convert to see if these are the ones you want to delete. (you should get errors if they are missing or have them come up in the viewer or conversion log if they are not.) Then remove them. If you do it all at one go or in batches of 25-100 still should not take long. Helen |
Advert | |
|
03-31-2012, 06:47 PM | #18 | |
Well trained by Cats
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The above will remove ' All Empty books' (Assuming that the OP does not use that feature ) |
|
03-31-2012, 07:54 PM | #19 |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Ahh it didn't work for me but that was two weeks ago with 8.33
Library checked ok but some books had no format and the format was listed in the book details window. And I did the library check both parts 3 times. Did not show with formats:false I did not modify the database or file structure or manually touch anything, just copied the database to USB drive and then to new laptop, and there they were-gone. Original library was still fine. Has happened to me before using both calibre copy and windows 7 copy. Now I archive and unarchive which is more reliable in only my experience. Helen |
04-01-2012, 03:30 AM | #20 | |
Well trained by Cats
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
If the DB thinks you have a format, it is not on the list. Library maintenance (fix), can correct the entry (to nil), then the search will return a true empty book. |
|
Advert | |
|
04-01-2012, 03:59 AM | #21 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
While investigating this issue I found that check library would not mark formats as missing if the folder that should contain the formats was missing. This was fixed in check library was in 0.8.45.
|
04-01-2012, 06:35 AM | #22 |
Member
Posts: 17
Karma: 10
Join Date: Jul 2011
Device: Kindle
|
formats:false only works if you have preceded it with a Library Check, to give Calibre chance work out you have entries in your database with no formats on disc. formats:false used immediately after deleting the folders from disc does not work.
Whilst I understand how empty books work and their purpose and that in each case when you add an empty book Calibre creates a folder into which you may subsequently put formats. This makes sense. I still maintain that a novice user like myself would not unreasonably expect that Library Check and Maintenance routines would identify database entries with no corresponding folders or formats on disc and give the user chance to update the problem. Please note that I am not complaining, I love Calibre and this small niggle only came about because I noticed a problem and decided to share it and now I know the workarounds it will not be a problem going forward. Regards Ian |
04-01-2012, 06:53 AM | #23 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
There is no reliable way to distinguish between user-created empty books and books made empty by manipulations of the file system. When libraries are moved between case-sensitive and case-insensitive systems, formats may appear to be gone but are really still there. Deleting the book from the database would be the wrong thing to do, because after that the user has no way to fix the problems. No restore from backup, no change name of folders to match case, nothing. If you want some confirmation of the support difficulties that might arise, do a search for threads from people who are upset that when they told calibre to delete a library, it actually deleted it. Given the fix I did last week to remove format information from the database in the case where folders are gone, the user has the information needed to take the steps that s/he thinks necessary. I am not going to add features that make it easier to do unintended damage. Of course, someone else might choose to add such features and submit them to Kovid. |
|
04-01-2012, 07:12 AM | #24 |
Member
Posts: 17
Karma: 10
Join Date: Jul 2011
Device: Kindle
|
If all empty books that have been deliberately created have a corresponding folder on disc then a simple routine which compares the database to the disc and produces a report, showing database entries with no corresponding folder on disc which gives the option of updating the database to match the disc might be a very simple way forward.
I say simple, as I assume you would find this a simple routine to write based on your experience, for me it would be like trying to climb Everest :-) Maybe this could be an additional option within Library Maintenance called 'database to disc check' Regards Ian |
04-01-2012, 09:29 AM | #25 |
Well trained by Cats
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Calibre goes to great pains to prevent foot shooting.
This happened after users did a really some really poor practice, like store the Library on the Desktop, and later cleaned the desktop ,. They howled that it was Calibres fault. If you delete a (alternate) Library from the Create/Switch menu, you now have to use the OS to remove the folder and books.. The list of user induced problems is endless. Removing Empty books, that many use, other than by the Library view will not happen. |
04-01-2012, 01:59 PM | #26 |
Member
Posts: 17
Karma: 10
Join Date: Jul 2011
Device: Kindle
|
I agree that it is not possible to cover everything the user can do but a disc to database check would be a simply thing to do.
|
05-03-2013, 10:49 AM | #27 |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2013
Device: none
|
I did the same thing( removed book formats outside of calibre). what I'm doing now is I deleted the database in the library folder and re-adding the library. I'll let you know if it works...that is if you haven't already figured out a way.
edit- btw I have almost 6k books so its painfully time consuming. Well, I just gotta wait a long time. Its still going, but I just did it 4 min ago. follow up- Everything worked out fine. Even found a few duplicates I had in the process. It did take til now to re-add it all though. Last edited by soultech76; 05-03-2013 at 02:41 PM. |
Tags |
library, maintenance, missing books |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Library Missing - Help Needed | robynmau | Library Management | 13 | 08-22-2011 03:20 AM |
Calibre library missing? | BeccaPrice | Calibre | 2 | 04-14-2011 11:12 AM |
Library Maintenance feature removed? | Trickery | Library Management | 1 | 03-04-2011 02:14 PM |
Books missing from Reader Library | Prince Hal | Sony Reader | 4 | 01-23-2010 12:46 PM |
Missing Library | vbussell | Calibre | 5 | 12-09-2009 03:04 PM |