Comment 3 for bug 1594100

Revision history for this message
Baruch (edabxv) wrote : Re: [Bug 1594100] Re: calibre bug 1594100

thanks, will definitely help

    On Sunday, June 19, 2016 8:00 AM, Kovid Goyal <email address hidden> wrote:

 I will however add better error reporting on which book failed for the
next release.

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

Title:
  Copy of multiple books to Library fail if one book corrupted

Status in calibre:
  Invalid

Bug description:
  Hi,

  I have a latest 2.58 version on Windows 8 Enterprise and find the
  following:

  Copy of multiple books to Library fail if one book corrupted

  calibre, version 2.58.0
  ERROR: Failed: Could not copy books: [Errno 13] Permission denied

  Traceback (most recent call last):
    File "site-packages\calibre\gui2\actions\copy_to_library.py", line 111, in run
    File "site-packages\calibre\gui2\actions\copy_to_library.py", line 133, in doit
    File "site-packages\calibre\gui2\actions\copy_to_library.py", line 153, in _doit
    File "site-packages\calibre\db\legacy.py", line 531, in format
    File "site-packages\calibre\db\cache.py", line 859, in format
    File "site-packages\calibre\db\cache.py", line 57, in call_func_with_lock
    File "site-packages\calibre\db\cache.py", line 724, in copy_format_to
    File "site-packages\calibre\db\backend.py", line 1414, in copy_format_to
    File "shutil.py", line 49, in copyfileobj
  IOError: [Errno 13] Permission denied

  I see two issues with this:

  - it fails whole set instead of only corrupted book
  - it does not tell which book is corrupted. I am trying to move very large library and selecting 20/30 at a time and have to split sets(kind of a binary search) to find bad book

  Thanks

  Baruch

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