Hi All. Looking for someone to help me troubleshoot my kindle fire hdx 8.9 (bought in 2015) on my MacBook Pro. Using Calibre 3.15
I tried to connect my kindle to my computer like I usually do and I keep getting this message
Spoiler:
calibre, version 3.15.0
ERROR: Error: Error communicating with device
Failed to upload file named: driveinfo.calibre to (u'Internal storage',): 2:PTP Layer error 2002: send_file_object_info(): 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 510, in _books
File "site-packages/calibre/devices/mtp/driver.py", line 218, in books
File "site-packages/calibre/devices/mtp/driver.py", line 190, in get_driveinfo
File "site-packages/calibre/devices/mtp/driver.py", line 180, in _update_drive_info
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 403, in put_file
DeviceError: Failed to upload file named: driveinfo.calibre to (u'Internal storage',): 2:PTP Layer error 2002: send_file_object_info(): Could not send object info.
2:Error 2002: PTP: General Error
I ran the debug option and got the following but I have no idea what it means:
Device 0 (VID=1949 and PID=0012) is a Amazon Kindle Fire (ID5).
LIBMTP WARNING: no MTP vendor extension on device 9 on bus 20LIBMTP WARNING: VendorExtensionID: 00000000LIBMTP WARNING: VendorExtensionDesc: (null)LIBMTP WARNING: this typically means the device is PTP (i.e. a camera) but not an MTP device at all. Trying to continue anyway.2018-01-18 21:03:38.722 Calibre[690:22795] deliverNotificationWithTitle()
Failed to upload file named: driveinfo.calibre to (u'Internal storage',): 2:PTP Layer error 2002: send_file_object_info(): 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 510, in _books
File "site-packages/calibre/devices/mtp/driver.py", line 218, in books
File "site-packages/calibre/devices/mtp/driver.py", line 190, in get_driveinfo
File "site-packages/calibre/devices/mtp/driver.py", line 180, in _update_drive_info
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 403, in put_file
DeviceError: Failed to upload file named: driveinfo.calibre to (u'Internal storage',): 2:PTP Layer error 2002: send_file_object_info(): Could not send object info.
2:Error 2002: PTP: General Error
* Notification delivered.
calibre Debug log
calibre 3.15 embedded-python: True is64bit: True
Darwin-17.3.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '17.3.0', 'Darwin Kernel Version 17.3.0: Thu Nov 9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64')
Python 2.7.12
OSX: ('10.13.2', ('', '', ''), 'x86_64')
Interface language: None
calibre 3.15 embedded-python: True is64bit: True
Darwin-17.3.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '17.3.0', 'Darwin Kernel Version 17.3.0: Thu Nov 9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64')
Python 2.7.12
OSX: ('10.13.2', ('', '', ''), 'x86_64')
Interface language: None
devicePixelRatio: 2.0
logicalDpi: 72.0 x 72.0
physicalDpi: 110.50000166 x 110.50000166
Using calibre Qt style: True
Starting up...
Started up in 1.45 seconds with 444 books
Job: 1 Set library information started
DeviceJob: 1 Set library information done, calling callback
DeviceJob: 1 Set library information callback returned
Job: 2 Get device information started
DeviceJob: 2 Get device information done, calling callback
DeviceJob: 2 Get device information callback returned
Job: 3 Set library information started
DeviceJob: 3 Set library information done, calling callback
DeviceJob: 3 Set library information callback returned
Job: 4 Get list of books on device started
MTP: Loading filesystem metadata...
MTP: Ignored object: Pictures
MTP: Ignored object: DCIM
MTP: Filesystem metadata loaded in 0.0174701 seconds (3 objects)
DeviceJob: 4 Get list of books on device done, calling callback
DeviceJob: 4 Get list of books on device callback returned
Job: 1 Set library information finished
No details available.
Job: 4 Get list of books on device finished
Failed to upload file named: driveinfo.calibre to (u'Internal storage',): 2:PTP Layer error 2002: send_file_object_info(): 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 510, in _books
File "site-packages/calibre/devices/mtp/driver.py", line 218, in books
File "site-packages/calibre/devices/mtp/driver.py", line 190, in get_driveinfo
File "site-packages/calibre/devices/mtp/driver.py", line 180, in _update_drive_info
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 403, in put_file
DeviceError: Failed to upload file named: driveinfo.calibre to (u'Internal storage',): 2:PTP Layer error 2002: send_file_object_info(): Could not send object info.
2:Error 2002: PTP: General Error
Job: 2 Get device information finished
No details available.
Job: 3 Set library information finished
No details available.
ERROR: Could not close session!
inep: usb_get_endpoint_status(): Undefined error: 0
outep: usb_get_endpoint_status(): Undefined error: 0
Device 0 (VID=1949 and PID=0012) is a Amazon Kindle Fire (ID5).
ignoring libusb_claim_interface() = -3PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
ignoring libusb_claim_interface() = -3LIBMTP PANIC: failed to open session on second attempt
Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 295, in detect_device
File "site-packages/calibre/devices/mtp/driver.py", line 126, in open
File "site-packages/calibre/devices/mtp/base.py", line 26, in synchronizer
File "site-packages/calibre/devices/mtp/unix/driver.py", line 220, in open
OpenFailed: Failed to open MTPDevice(busnum=20, devnum=10, vendor_id=6473, product_id=18, bcd=65535, serial=u'B08F0705441500VK', manufacturer=u'Android', product=u'Android'): Error: Unable to open MTP device with busnum=20 and devnum=10, tried 1 such devices
Device 0 (VID=1949 and PID=0012) is a Amazon Kindle Fire (ID5).
LIBMTP WARNING: no MTP vendor extension on device 11 on bus 20LIBMTP WARNING: VendorExtensionID: 00000000LIBMTP WARNING: VendorExtensionDesc: (null)LIBMTP WARNING: this typically means the device is PTP (i.e. a camera) but not an MTP device at all. Trying to continue anyway.2018-01-18 21:05:43.211 Calibre[702:23650] deliverNotificationWithTitle()
Failed to upload file named: driveinfo.calibre to (u'Internal storage',): 2:PTP Layer error 2002: send_file_object_info(): 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 510, in _books
File "site-packages/calibre/devices/mtp/driver.py", line 218, in books
File "site-packages/calibre/devices/mtp/driver.py", line 190, in get_driveinfo
File "site-packages/calibre/devices/mtp/driver.py", line 180, in _update_drive_info
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 403, in put_file
DeviceError: Failed to upload file named: driveinfo.calibre to (u'Internal storage',): 2:PTP Layer error 2002: send_file_object_info(): Could not send object info.
2:Error 2002: PTP: General Error
* Notification delivered.
Error while trying to open MTPDevice(busnum=20, devnum=10, vendor_id=6473, product_id=18, bcd=65535, serial=u'B08F0705441500VK', manufacturer=u'Android', product=u'Android') (Driver: <calibre.devices.mtp.driver.MTP_DEVICE object at 0x10ec83610>)
Job: 5 Get device information started
DeviceJob: 5 Get device information done, calling callback
DeviceJob: 5 Get device information callback returned
Job: 6 Set library information started
DeviceJob: 6 Set library information done, calling callback
DeviceJob: 6 Set library information callback returned
Job: 7 Get list of books on device started
MTP: Loading filesystem metadata...
MTP: Ignored object: Pictures
MTP: Ignored object: DCIM
MTP: Filesystem metadata loaded in 0.024555 seconds (3 objects)
DeviceJob: 7 Get list of books on device done, calling callback
DeviceJob: 7 Get list of books on device callback returned
Job: 5 Get device information finished
No details available.
Job: 7 Get list of books on device finished
Failed to upload file named: driveinfo.calibre to (u'Internal storage',): 2:PTP Layer error 2002: send_file_object_info(): 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 510, in _books
File "site-packages/calibre/devices/mtp/driver.py", line 218, in books
File "site-packages/calibre/devices/mtp/driver.py", line 190, in get_driveinfo
File "site-packages/calibre/devices/mtp/driver.py", line 180, in _update_drive_info
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 403, in put_file
DeviceError: Failed to upload file named: driveinfo.calibre to (u'Internal storage',): 2:PTP Layer error 2002: send_file_object_info(): Could not send object info.
2:Error 2002: PTP: General Error
Job: 6 Set library information finished
No details available.
I tried to restart both my computer and the device and that didn't help. I then did a factory reset on my kindle and still nothing.
Can some please help me?
Thank you!!!
Last edited by theducks; 01-19-2018 at 07:24 AM.
Reason: Wrap log in spoiler
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
I found out what the problem was. My android file transfer program was interfering with my kindle and calibre. Once I deleted android file transfer, calibre and my kindle were able to "talk" to each other and the problem was fixed.
Presumably your android file transfer program has some setting to prevent it from auto-detecting devices. Other wise just un-install it and re-install when you need to use it.
I found that I got this error when I had an SD card installed in my Kindle. There was a driveinfo.calibre file on the SD card, but Calibre couldn't write to it. Removing the
SD card solved all my problems.