Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 01-19-2018, 12:13 AM   #1
reader35
Junior Member
reader35 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2018
Device: kindle fire
Error Communicating with Device

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
reader35 is offline   Reply With Quote
Old 01-19-2018, 12:16 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
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...kindle-fire-hd
kovidgoyal is offline   Reply With Quote
Advert
Old 01-19-2018, 07:25 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,804
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
PTP is for camera mode
Set the fire to MTP
theducks is offline   Reply With Quote
Old 01-28-2018, 02:26 AM   #4
reader35
Junior Member
reader35 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2018
Device: kindle fire
Fixed It!!

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.
reader35 is offline   Reply With Quote
Old 01-28-2018, 03:43 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah on OS X and linux only one program can talk to an MTP device at a time.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-03-2018, 05:02 PM   #6
reader35
Junior Member
reader35 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2018
Device: kindle fire
How do you make it so that calibre recognizes my kindle before the android file transfer program does?
reader35 is offline   Reply With Quote
Old 02-04-2018, 12:27 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
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.
kovidgoyal is offline   Reply With Quote
Old 07-12-2021, 11:34 PM   #8
Penzoil3
Junior Member
Penzoil3 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2021
Device: Kindle Fire 8
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.
Penzoil3 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Error communicating with device message techie6 Devices 5 04-02-2018 09:25 PM
Error communicating with device peaceridge Devices 4 08-09-2016 04:12 AM
Error communicating with Device dgirts Devices 3 09-23-2011 09:56 AM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM
ver 0.6.3 error: Error communicating with device PRS-505 scripo Calibre 4 08-01-2009 10:38 PM


All times are GMT -4. The time now is 10:45 AM.


MobileRead.com is a privately owned, operated and funded community.