Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 06-12-2016, 09:04 AM   #1
Cybermidas
Enthusiast
Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.
 
Posts: 35
Karma: 492
Join Date: Aug 2011
Device: Kindle 3
Multiple copies of same book after caliber reinstallation

Hi .

I reinstalled calibre after changed. I added all the books of the earlier library to calibre (I'm stupid! that is why..before you ask). Now I realize that I have multiple folders and only one of the folders is showing in calibre.

Can anyone kindly help me to resolve this? I only want one folder of the book to be present.

Please see below how it looks in my system. Though calibre has only one copy of the book.
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	353
Size:	29.7 KB
ID:	149363  
Cybermidas is offline   Reply With Quote
Old 06-12-2016, 09:40 AM   #2
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: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
You never (normally) need to re-add books after a Uninstall as you found out.

You just point a New Install to the existing Library(/ies)


Find Duplicates PI will and a lot of work (you still need to pick which to delete. They will be Paired, that is why I suggest find duplicates)
or restore (full replace) the Library folder from a backup
theducks is offline   Reply With Quote
Advert
Old 06-12-2016, 11:32 AM   #3
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,367
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Shouldn't the first step be Library Maintenance to locate files / folders that differ between the database and the file system.
PeterT is offline   Reply With Quote
Old 06-12-2016, 11:33 AM   #4
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: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by PeterT View Post
Shouldn't the first step be Library Maintenance to locate files / folders that differ between the database and the file system.
theducks is offline   Reply With Quote
Old 06-12-2016, 01:31 PM   #5
Cybermidas
Enthusiast
Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.
 
Posts: 35
Karma: 492
Join Date: Aug 2011
Device: Kindle 3
@thedcks..thanks...

I tried create/swith library and pointing it towards the existing structure of folders. But an error message says "there is no existing library at the location".

what do I need to do to make calibre understand the new library?
Cybermidas is offline   Reply With Quote
Advert
Old 06-12-2016, 04:03 PM   #6
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: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Cybermidas View Post
@thedcks..thanks...

I tried create/swith library and pointing it towards the existing structure of folders. But an error message says "there is no existing library at the location".

what do I need to do to make calibre understand the new library?
a library is not a collection of books that was not made by Calibre

A Library has the structure you show WITH a metadata.db (and a metadata_prefs_ Backup) FILE in the Top layer (the one with author folders)

If those are not there, AND each title folder DOES have a metadata.opf
the Library should be repairable (as long as you did not mix other files in there)
theducks is offline   Reply With Quote
Old 06-12-2016, 06:41 PM   #7
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,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Cybermidas - if you have a backup of your library prior to making the 'blunder' restore it. If you don't, make a mental note to do something about that once your current problems are resolved.

Otherwise - First do what PeterT suggests

Run Library Maintenance->Check Library. It runs in two stages, the first checks the internal integrity of the database, errors from it are very rare - I've never seen one.

The second optional stage compares the content of the database against the existence and content of the library subfolders (author and book). It is not uncommon for this stage to report anomalies, e.g. a Book record exists in the database but there's no corresponding book folder, an author folder exists for which there is no corresponding Author record in the database.

These anomalies should be resolved. They are often caused users using their file managers to change the folder names or contents, they can also be caused by abrupt hardware failures - power, video card etc

Added : btw: there's nothing a file manager can do that calibre can't do, apart from wreak havoc with your library. Equivalent to breaking into a library and moving the books and shelves around

Second do what theducks first suggested.

Use the optional Find Duplicates plugin to find the duplicates, if you add the Date column to the book list you should be able to easily identify the most recently added instance of duplicates - that's the one you probably want to remove.

In Preferences->Add Books there are settings relating to how duplicates are to be handled, you might want to review what you have there.

Added : actually - you should do something about backup now, back it up before undertaking the above repairs. Then if you make things worse you'll be able to start over.

BR

Last edited by BetterRed; 06-12-2016 at 07:04 PM.
BetterRed is offline   Reply With Quote
Old 06-13-2016, 01:03 PM   #8
Cybermidas
Enthusiast
Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.
 
Posts: 35
Karma: 492
Join Date: Aug 2011
Device: Kindle 3
@BetterRed...sorry to sound like a noob...

I ran the Library Maintenance->Check Library... No errors...

Then the window shows errors found. And there it shows all the books as error. All the books are present in their folder, metadata.opf are also present in each folder too.

I click on done, and then nothing happens.

Please..help..
Cybermidas is offline   Reply With Quote
Old 06-13-2016, 02:49 PM   #9
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: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Cybermidas View Post
@BetterRed...sorry to sound like a noob...

I ran the Library Maintenance->Check Library... No errors...

Then the window shows errors found. And there it shows all the books as error. All the books are present in their folder, metadata.opf are also present in each folder too.

I click on done, and then nothing happens.

Please..help..
First phase checks the DB structure for corruption
The books don't match the DB (file path/name/index number) if they show in the second phase

Run the Restore Database (takes a bit of time)
theducks is offline   Reply With Quote
Old 06-13-2016, 03:26 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Create a new empty library. Select all books in the current library, right click, copy to library (delete after copy)

that will move all books calibre is tracking into your new library. Now switch tot he new library. Then you can either discard the old library folder if it contains only duplicates, or add the books from it by right clicking the add books button and choosing "Add books from directories, one book per directory" and choosing the old library folder.
kovidgoyal is offline   Reply With Quote
Old 06-14-2016, 09:14 PM   #11
Cybermidas
Enthusiast
Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.Cybermidas has a complete set of Star Wars action figures.
 
Posts: 35
Karma: 492
Join Date: Aug 2011
Device: Kindle 3
Thanks KovidGoyal.......


Its resolving...


and it was a great honour to get direct suggestion from the "Creator" himself!!
Cybermidas is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple copies of book on Paperwhite that won't delete heysherri Amazon Kindle 7 07-01-2015 01:12 AM
Help with multiple copies of book on Samsung Galaxy5 Kai Winters Calibre 5 01-18-2012 03:02 PM
Multiple Copies of One Library CRussel Library Management 0 05-08-2011 11:32 AM
Multiple copies of same book in different formats Starson17 Calibre 10 01-07-2010 11:55 AM
multiple copies nirax EPUBReader 15 12-22-2009 08:22 AM


All times are GMT -4. The time now is 02:48 PM.


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