![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18
Karma: 463230
Join Date: Apr 2010
Device: Kobo, Nexus 7
|
[Solved] Nexus 5 error msg now when connected
I have a standard nexus 5 that I have been able to connect to Calibre in the past. I now have calibre 2.1. When I plugin the nexus 5 the device is detected and calibre shows 1 job with the rotating circle, as normal. Then I get this error msg:
Code:
calibre, version 2.1.0 ERROR: Error: Error communicating with device Failed to upload file named: driveinfo.calibre to (u'Internal storage',): 2:PTP Layer error 2002: LIBMTP_Send_File_From_Handler(): Could not send object. 2:Error 2002: PTP: General Error Traceback (most recent call last): File "site-packages/calibre/gui2/device.py", line 86, in run File "site-packages/calibre/gui2/device.py", line 501, in _books File "site-packages/calibre/devices/mtp/driver.py", line 208, in books File "site-packages/calibre/devices/mtp/driver.py", line 180, in get_driveinfo File "site-packages/calibre/devices/mtp/driver.py", line 170, in _update_drive_info File "site-packages/calibre/devices/mtp/base.py", line 24, in synchronizer File "site-packages/calibre/devices/mtp/unix/driver.py", line 375, in put_file DeviceError: Failed to upload file named: driveinfo.calibre to (u'Internal storage',): 2:PTP Layer error 2002: LIBMTP_Send_File_From_Handler(): Could not send object. 2:Error 2002: PTP: General Error Last edited by Ozman; 09-08-2014 at 10:53 PM. |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18
Karma: 463230
Join Date: Apr 2010
Device: Kobo, Nexus 7
|
Thanks for the reply. It is definitely connected as a media device (MTP).
|
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,029
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
When you plug in your nexus 5 without Calibre running, do you see it as a mass storage device? If you do and then you run Calibre, does it then work with Calibre?
|
![]() |
![]() |
![]() |
#5 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18
Karma: 463230
Join Date: Apr 2010
Device: Kobo, Nexus 7
|
![]() Quote:
Without calibre running I just plugged in my nexus 5. It is detected by the system which recognizes it as an mtp connection. I can mount it, but not read anything past the root directory structure (and although listed as an mtp connection, it looks more like a camera connection). So I'm guessing that either something has changed within the linux kernel, or something has changed with calibre's implementation of mtp. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,029
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Try using a Windows system (not XP) and see how it goes.
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That is an error trying to write a file into the root directory of the main memory of your Nexus. That can happen if there are too many files/folders in the root, try deleting some.
Also try resetting your device. |
![]() |
![]() |
![]() |
#8 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18
Karma: 463230
Join Date: Apr 2010
Device: Kobo, Nexus 7
|
![]()
Kovid, thanks for the reply. I deleted some files and folders from the / directory of my Nexus 5. I got the same error. So I plugged in the Nexus 7 which has a very different file and folder structure (apart from the standard android). I got the same error:
Code:
calibre, version 2.1.0 ERROR: Error: Error communicating with device Failed to delete (u'Internal storage', u'driveinfo.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 86, in run File "site-packages/calibre/gui2/device.py", line 501, in _books File "site-packages/calibre/devices/mtp/driver.py", line 208, in books File "site-packages/calibre/devices/mtp/driver.py", line 180, in get_driveinfo File "site-packages/calibre/devices/mtp/driver.py", line 170, in _update_drive_info File "site-packages/calibre/devices/mtp/base.py", line 24, in synchronizer File "site-packages/calibre/devices/mtp/unix/driver.py", line 366, in put_file File "site-packages/calibre/devices/mtp/base.py", line 24, in synchronizer File "site-packages/calibre/devices/mtp/unix/driver.py", line 411, in delete_file_or_folder DeviceError: Failed to delete (u'Internal storage', u'driveinfo.calibre') with error: 2:PTP Layer error 02ff: LIBMTP_Delete_Object(): could not delete object. 2:Error 02ff: PTP: I/O error |
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,029
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Please have a read of the following thread. The problem is most likely cause by a Windows Update.
https://www.mobileread.com/forums/sho...d.php?t=245133 |
![]() |
![]() |
![]() |
#10 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18
Karma: 463230
Join Date: Apr 2010
Device: Kobo, Nexus 7
|
Calibre error
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
![]() |
![]() |
![]() |
#12 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
|
|
![]() |
![]() |
![]() |
#13 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18
Karma: 463230
Join Date: Apr 2010
Device: Kobo, Nexus 7
|
![]()
Thanks Dr. I was about to look at that app when 2.2 became available. After installing that the problem has disappeared.
![]() |
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Nov 2014
Device: sero 7 pro
|
mtp error 2002
I am also a linux user trying to use my android tablet running 4.4.4 with calibre.
I am running the latest Linux Mint 17.1. I have tweaked my udev system so that my tablet connects perfectly to the OS. I toggle back and forth between MTP and PTP modes and I can read/write files to and from the device. The moment I start Calibre and it detects the tablet correctly: Device 0 (VID=109b and PID=9105) is a HiSense Sero 7 Pro. and then it throws the 2002 error DeviceError: Failed to upload file named: driveinfo.calibre to (u'SD card',): 2:PTP Layer error 2002: send_file_object_info(): Could not send object info. 2:Error 2002: PTP: General Error from this point, my file explorer windows are unable to access the device. Even manually mounting the tablet with jmtpfs works from the command line - I can mount, then touch files, but as soon as I start calibre, the mount is broken and starts to report "input output error". This appears to be a calibre issue not a linux issue. |
![]() |
![]() |
![]() |
#15 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18
Karma: 463230
Join Date: Apr 2010
Device: Kobo, Nexus 7
|
Cable?
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Touch Error msg. | Crent | Devices | 74 | 05-21-2012 08:42 PM |
Calibre + Kobo Error Msg | jewell | Devices | 1 | 04-19-2012 10:41 PM |
Undecipherable Error Msg | edbro | Calibre | 2 | 06-25-2011 10:01 AM |
Error Msg DatabaseException | jessie102 | Calibre | 0 | 02-18-2010 09:49 AM |
Help with error msg | Novasea | Calibre | 14 | 03-30-2009 02:07 PM |