Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-04-2013, 05:58 PM   #1
Fredrick
Junior Member
Fredrick began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2013
Device: Nook Color
Erroneous duplicate notification

I had problems with Calibre earlier this year and eventually uninstalled and reinstalled it. I started over with a new database, but when I add books, Calibre notifies me that I am adding duplicate files. This makes no sense, since it is a new database, right?

I have tried uninstalling Calibre again, searching all Calibre files that remain, deleting them and then reinstalling. Same problem. I've used the addition date for the nonexistent files as a search term. Nothing. Clearly, I am missing something. Anyone with advice on where I can look to find the leftover files that are causing this problem?
Fredrick is offline   Reply With Quote
Old 02-04-2013, 08:45 PM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,102
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
I have found that you can get that message if the books you are adding contain the same book in more than one format.
itimpi is offline   Reply With Quote
Old 02-04-2013, 09:52 PM   #3
Fredrick
Junior Member
Fredrick began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2013
Device: Nook Color
Thanks for the suggestion, but the only format I have is .epub
Fredrick is offline   Reply With Quote
Old 02-05-2013, 02:39 AM   #4
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,102
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
When you get the duplicate notification the you are given an option to see what titles are involved. That might help you identify the cause.
itimpi is offline   Reply With Quote
Old 02-05-2013, 12:43 PM   #5
fidvo
Zealot
fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.
 
Posts: 121
Karma: 775442
Join Date: Jun 2012
Device: none
I've noticed that the most common cause of this duplicate notification, at least for me, is when the metadata is wrong in the original book, specifically when the title and author fields are reversed. So when I add two books by the same author, Calibre sees them as two books with the same title by different authors and triggers the duplicate alert.

Hope this helps.
fidvo is offline   Reply With Quote
Old 02-05-2013, 12:49 PM   #6
theducks
Grand Sorcerer
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: 15,244
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by fidvo View Post
I've noticed that the most common cause of this duplicate notification, at least for me, is when the metadata is wrong in the original book, specifically when the title and author fields are reversed. So when I add two books by the same author, Calibre sees them as two books with the same title by different authors and triggers the duplicate alert.

Hope this helps.
In that case, Calibre is CORRECT. There is a duplicate.
(been there )
theducks is online now   Reply With Quote
Old 02-05-2013, 05:29 PM   #7
Fredrick
Junior Member
Fredrick began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2013
Device: Nook Color
I tried adding another book and, again, received a message that I was adding a duplicate title. This is not so. Since I am adding author by author, no other books by any added author existed. I looked at the duplicate title message and found no way to determine what data source Calibre is using to determine that the title already exists in the library (which is untrue).

Each time I get this message, I add the book anyway. I then find that the title exists twice in the library (where it had not existed at all, previously). Both entries are identical, except that one entry shows the size of the file and the other has a blank field for file size. Clicking on the first file brings up the viewer with the functioning epub book displayed. Clicking on the second file brings up an error window that informs me that no such file exists. Which I knew.

The question is why does Calibre find a duplicate title where no such title appeared in the library previously. I would suspect that Calibre has a database file that was not deleted during the uninstall and the program is cross-referencing it.

With this in mind, I uninstalled Calibre again, then searched for all Calibre related files and deleted them. I did find a Calibre folder in users/(my name)/appdata/roaming and deleted it. Did not help. Any ideas where other post-uninstall Calibre files might be lurking?
Fredrick is offline   Reply With Quote
Old 02-05-2013, 07:08 PM   #8
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,124
Karma: 5721184
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Ubuntu Linux, Cybook Opus, Motorola Xoom with Mantano Premium
How do you add the books?

Is it possible that you add more than just a book?

What happens if you select just one single ebook and drag-and-drop it from the folder into calibre?
Adoby is offline   Reply With Quote
Old 02-06-2013, 07:54 AM   #9
Zetmolm
Evangelist
Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.Zetmolm ought to be getting tired of karma fortunes by now.
 
Posts: 479
Karma: 950180
Join Date: Jan 2010
Device: Onyx Boox 60, PocketBook Touch
When you add author by author and the metadata is wrong you can get exactly what fidvo said.

Also, do you use a recent release of Calibre? A couple of weeks ago the messages that you get for duplicates have been made more meaningful. Please upgrade if you did not do so yet.
Zetmolm is offline   Reply With Quote
Old 02-06-2013, 12:25 PM   #10
Fredrick
Junior Member
Fredrick began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2013
Device: Nook Color
Dragging and dropping worked great, which has lead me to suspect the Calibre is picking up opf files as ebooks. Is that possible? If so, is there a setting that will merge the opf and epub filess either as I add them or after they are added?

I am using the latest version of Calibre.
Fredrick is offline   Reply With Quote
Old 02-06-2013, 02:18 PM   #11
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: 26,433
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre does not treat opf files as ebooks.
kovidgoyal is offline   Reply With Quote
Old 02-06-2013, 03:08 PM   #12
Fredrick
Junior Member
Fredrick began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2013
Device: Nook Color
Then I am lost. I just added two books by Rousseau. The directory structure was Rousseau/Emile and Rousseau/Confessions. Both subdirectories had an an opf file and an epub file. I used the third option (multiple books per directory, assumes every ebook file is a different book), because some of my author subdirectories have more than one book. I had no Rousseau books in Calibre.

I received notice that I was adding duplicate books and found that there were two entries for each book. One entry (for each book) was an actual epub file. The other entry (for each book) showed all the information for the book except size, but clicking on it revealed that there was no such book in the library. Following the paths for the null entries revealed two additional subdirectories for each book, both containing only an opf file.
Fredrick is offline   Reply With Quote
Old 02-06-2013, 03:20 PM   #13
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: 26,433
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The opf files are generated by calibre as metadata backups. They are not the opf files present in the import directories. Since you say drag and drop works for you, use that. I will take a look into whether adding OPF files with the multiple books per directory option causes problems when I have some time.

Last edited by kovidgoyal; 02-06-2013 at 03:24 PM.
kovidgoyal is offline   Reply With Quote
Old 02-06-2013, 03:28 PM   #14
Fredrick
Junior Member
Fredrick began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2013
Device: Nook Color
Thank you for your advice. Final question: since the null entry sometimes has better information than the actual entry, if there any way to merge the two?
Fredrick is offline   Reply With Quote
Old 02-06-2013, 03:35 PM   #15
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: 26,433
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I looked at it, and there was indeed a case where using add multiple books per directory could cause the OPF file to generate an extra book (a bit of code copy pasted from the single book per directory code path). Fix will be in next release. You can either wait for it, or just use drag n' drop, ignore the duplicate warnings, delete the opf files or add folders that contain opf files as single book per directory, which will allow calibre to preserve the metadata from the opf file.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate book title notification on adding books jukin Calibre 2 06-16-2012 12:15 PM
(viewer) Erroneous break on quote sciurius Calibre 1 10-31-2010 12:23 PM
PRS-300 displaying erroneous question marks debiasir Sony Reader 4 08-07-2010 11:53 AM
Unutterably Silly The last edited notification ShortNCuddlyAm Lounge 1 03-21-2010 11:54 PM


All times are GMT -4. The time now is 12:44 AM.


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