get list of books on device (nook) crashes

Bug #1781922 reported by Natalie Sudall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

calibre version 3.27.1
operating system: OSX

When I connect my Nook, it says Nook detected. It completes Get Device info and set library information. But when it tries to get list of books on device it runs for over 4 1/2 hours, reaches 95 % and then error message comes. Up. I am including screen pics of the job details below.

Error message Detail:

Failed to delete (u'Internal storage', u'NOOK', u'metadata.calibre') with error: 2:PTP Layer error 02ff: LIBMTP_Delete_Object(): could not delete object.
2:Error 02ff: PTP: I/O error

Traceback (most recent call last):
  File "site-packages/calibre/gui2/device.py", line 87, in run
  File "site-packages/calibre/gui2/device.py", line 510, in _books
  File "site-packages/calibre/devices/mtp/driver.py", line 285, in books
  File "site-packages/calibre/devices/mtp/driver.py", line 311, in write_metadata_cache
  File "site-packages/calibre/devices/mtp/driver.py", line 151, in put_calibre_file
  File "site-packages/calibre/devices/mtp/base.py", line 26, in synchronizer
  File "site-packages/calibre/devices/mtp/unix/driver.py", line 394, in put_file
  File "site-packages/calibre/devices/mtp/base.py", line 26, in synchronizer
  File "site-packages/calibre/devices/mtp/unix/driver.py", line 439, in delete_file_or_folder
DeviceError: Failed to delete (u'Internal storage', u'NOOK', u'metadata.calibre') with error: 2:PTP Layer error 02ff: LIBMTP_Delete_Object(): could not delete object.
2:Error 02ff: PTP: I/O error

Revision history for this message
Natalie Sudall (cap428) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1781922

That is an error communicating with the device. Usually, this kind of error can be fixed by
following the steps below in sequence. First:

        1) Try rebooting both the device and your computer
        2) If that does not work, find the files driveinfo.calibre and metadata.calibre on the device
           and delete them (you can use Windows Explorer or a file manager on the device itself to do this)
        3) Reset the device

If none of those work, you can use one of the wireless communication methods described here:
https://manual.calibre-ebook.com/faq.html#how-do-i-use-calibre-with-my-android-phone-tablet-or-kindle-fire-hd

 status invalid

Changed in calibre:
status: New → Invalid
Revision history for this message
Natalie Sudall (cap428) wrote :

I was able to deregister and erase my nook, when I did that the next time I reconnected it worked, I was able to send the books I wanted for calibre. But when I went to reconnect it a second time the same error stated above occurred.

Revision history for this message
Kovid Goyal (kovid) wrote :

It's likely your Nook is failing, you can try reseting it, but most
likely that will only help temporarily

Revision history for this message
Natalie Sudall (cap428) wrote : Re: [Bug 1781922] Re: calibre bug 1781922

Ok, thank you.  It is strange because it is happening on every glowlight 3 I own, which is why I thought it was a bug and not the device.

    On Monday, July 16, 2018 11:10 AM, Kovid Goyal <email address hidden> wrote:

 It's likely your Nook is failing, you can try reseting it, but most
likely that will only help temporarily

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

Title:
  get list of books on device (nook) crashes

Status in calibre:
  Invalid

Bug description:
  calibre version 3.27.1
  operating system: OSX

  When I connect my Nook, it says Nook detected. It completes Get Device
  info and set library information.  But when it tries to get list of
  books on device it runs for over 4 1/2 hours, reaches 95 % and then
  error message comes. Up.  I am including screen pics of the job
  details below.

  Error message Detail:

  Failed to delete (u'Internal storage', u'NOOK', u'metadata.calibre') with error: 2:PTP Layer error 02ff: LIBMTP_Delete_Object(): could not delete object.
  2:Error 02ff: PTP: I/O error

  Traceback (most recent call last):
    File "site-packages/calibre/gui2/device.py", line 87, in run
    File "site-packages/calibre/gui2/device.py", line 510, in _books
    File "site-packages/calibre/devices/mtp/driver.py", line 285, in books
    File "site-packages/calibre/devices/mtp/driver.py", line 311, in write_metadata_cache
    File "site-packages/calibre/devices/mtp/driver.py", line 151, in put_calibre_file
    File "site-packages/calibre/devices/mtp/base.py", line 26, in synchronizer
    File "site-packages/calibre/devices/mtp/unix/driver.py", line 394, in put_file
    File "site-packages/calibre/devices/mtp/base.py", line 26, in synchronizer
    File "site-packages/calibre/devices/mtp/unix/driver.py", line 439, in delete_file_or_folder
  DeviceError: Failed to delete (u'Internal storage', u'NOOK', u'metadata.calibre') with error: 2:PTP Layer error 02ff: LIBMTP_Delete_Object(): could not delete object.
  2:Error 02ff: PTP: I/O error

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

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1781922

There have not been any changes to that driver in calibre in years, and
the issue you describe is intermittent, which is a very strong indicator
of hardware issues.

Revision history for this message
Natalie Sudall (cap428) wrote : Re: [Bug 1781922] Re: calibre bug 1781922
Download full text (3.2 KiB)

So sorry to bother you again.  But now I am getting this message on my third Nook Glowlight 3 when I try to send a book.  Is this also a connection issue?  It is odd that all three of my Nooks would begin failing at the same time.

calibre, version 3.27.1
ERROR: Error: Error communicating with device

Failed to create folder named Books in (u'Internal storage',) with error: 2:PTP Layer error 2002: LIBMTP_Create_Folder: Could not send object info.
2:Error 2002: PTP: General Error

Traceback (most recent call last):
  File "site-packages/calibre/gui2/device.py", line 87, in run
  File "site-packages/calibre/gui2/device.py", line 591, in _upload_books
  File "site-packages/calibre/devices/mtp/driver.py", line 427, in upload_books
  File "site-packages/calibre/devices/mtp/driver.py", line 403, in ensure_parent
  File "site-packages/calibre/devices/mtp/base.py", line 26, in synchronizer
  File "site-packages/calibre/devices/mtp/unix/driver.py", line 380, in create_folder
DeviceError: Failed to create folder named Books in (u'Internal storage',) with error: 2:PTP Layer error 2002: LIBMTP_Create_Folder: Could not send object info.
2:Error 2002: PTP: General Error

    On Monday, July 16, 2018 11:10 AM, Kovid Goyal <email address hidden> wrote:

 It's likely your Nook is failing, you can try reseting it, but most
likely that will only help temporarily

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

Title:
  get list of books on device (nook) crashes

Status in calibre:
  Invalid

Bug description:
  calibre version 3.27.1
  operating system: OSX

  When I connect my Nook, it says Nook detected. It completes Get Device
  info and set library information.  But when it tries to get list of
  books on device it runs for over 4 1/2 hours, reaches 95 % and then
  error message comes. Up.  I am including screen pics of the job
  details below.

  Error message Detail:

  Failed to delete (u'Internal storage', u'NOOK', u'metadata.calibre') with error: 2:PTP Layer error 02ff: LIBMTP_Delete_Object(): could not delete object.
  2:Error 02ff: PTP: I/O error

  Traceback (most recent call last):
    File "site-packages/calibre/gui2/device.py", line 87, in run
    File "site-packages/calibre/gui2/device.py", line 510, in _books
    File "site-packages/calibre/devices/mtp/driver.py", line 285, in books
    File "site-packages/calibre/devices/mtp/driver.py", line 311, in write_metadata_cache
    File "site-packages/calibre/devices/mtp/driver.py", line 151, in put_calibre_file
    File "site-packages/calibre/devices/mtp/base.py", line 26, in synchronizer
    File "site-packages/calibre/devices/mtp/unix/driver.py", line 394, in put_file
    File "site-packages/calibre/devices/mtp/base.py", line 26, in synchronizer
    File "site-packages/calibre/devices/mtp/unix/driver.py", line 439, in delete_file_or_folder
  DeviceError: Failed to delete (u'Internal storage', u'NOOK', u'metadata.calibre') with error: 2:PTP Layer error 02ff: LIBMTP_Delete_Object(): could not delete object.
  2:Error 02ff: PTP: I/O error

To manage notifications about this bug go to:
https://bugs.launchpad.net/cali...

Read more...

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1781922

Yeah, that error means calibre asked the device to create a folder and
it failed. As I said, you can try resetting the device.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.