Comment 4 for bug 1392864

Revision history for this message
TonyV (thny) wrote : RE: [Bug 1392864] Re: calibre bug 1392864

I understand that OPF is not another format. Which is why this is a big issue.

With that combination of files, the OPF would definitely be added as a format; and, in my test case of 47 books, the actual format files, EPUB, etc. would only have been added in 12 cases.

This was tested by doing the same import 3/4 times, each with identical results.

-----Original Message-----
From: "Kovid Goyal" <email address hidden>
Sent: ‎2014-‎11-‎15 05:18
To: "<email address hidden>" <email address hidden>
Subject: [Bug 1392864] Re: calibre bug 1392864

The OPF is not an extra format, the OPF is used for a backup of the
calibre metadata.db. And has always been present in all versions of
calibre.

Regarding the rest of your bug report, are you saying that if you have a
folder with the files:

file1.epub
file2.mobi
file3.opf
file4.jpg

adding that folder as single book per directory results in no actual
book files being added?

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1392864

Title:
  Errors in book import in 2.10

Status in calibre: e-book management:
  New

Bug description:
  Source:

  Attempting to import using the "One book per directory" option
  All book format containing folders have a cover.jpg, a metadata.opf and one, two, three or four format files ending in .epub, .mobi, etc.
  There are 47 books (in their own folders) listed in 46 folders of the authors (i.e. root\author\book\format_files)

  Outcome:

  On import, an entry is created for 44 of the books, and in each case
  the .opf file is added as an extra format. In all except 12 cases, no
  other format is added to the book record other than the .opf.

  Prior to the adding new book changes in version 2.10, the books would
  have been added correctly, and the .opf and .jpg files would have been
  ignored.

  Edit to add:
  If the .jpg, .opf and the format files have the same names all books are added, but the .opf is still added as an extra format.

  Newly installed version 2.10; Windows 7 64bit;

To manage notifications about this bug go to:
https://bugs.launchpad.net/calibre/+bug/1392864/+subscriptions