Comment 13 for bug 1392864

Revision history for this message
TonyV (thny) wrote : RE: [Bug 1392864] Re: Errors in book import in 2.10

I actually tried that test. And you are correct; the files copied perfectly. So it seems that the source path is the issue. But not an insurmountable issue.

Thank you for a great product and wonderful follow-up.

-----Original Message-----
From: "Kovid Goyal" <email address hidden>
Sent: ‎2014-‎11-‎15 12:52
To: "<email address hidden>" <email address hidden>
Subject: [Bug 1392864] Re: Errors in book import in 2.10

calibre automatically ensures that the destination path is not too long,
and as far as I know that part of the code was not touched in 2.10. It
should be an easy test, simply copy one of those source folders to a
location like c:\books (so that the total path length is less than 255
characters) and try adding.

--
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