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 09-02-2014, 06:42 PM   #1
Ozman
Member
Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.
 
Ozman's Avatar
 
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
I am running PCLOS x64 kde. I restarted both devices but it made no difference.

Last edited by Ozman; 09-08-2014 at 10:53 PM.
Ozman is offline   Reply With Quote
Old 09-02-2014, 07:18 PM   #2
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: 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:
Originally Posted by Ozman View Post
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
I am running PCLOS x64 kde. I restarted both devices but it made no difference.
Could it be your device is running in PTP mode (camera) not MTP (Media Transfer)
theducks is offline   Reply With Quote
Advert
Old 09-02-2014, 07:47 PM   #3
Ozman
Member
Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.
 
Ozman's Avatar
 
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).
Ozman is offline   Reply With Quote
Old 09-02-2014, 09:48 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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?
JSWolf is offline   Reply With Quote
Old 09-02-2014, 10:09 PM   #5
Ozman
Member
Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.
 
Ozman's Avatar
 
Posts: 18
Karma: 463230
Join Date: Apr 2010
Device: Kobo, Nexus 7
Question Calibre error

Quote:
Originally Posted by JSWolf View Post
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?
MTP is not linux friendly. If I have to transfer files to and from an android device, I use Airdroid. The only exception to this is calibre. I don't know how the developers have achieved it, but until recently calibre was the only program that would mount and read both of my android devices (Nexus5, Nexus7).

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.
Ozman is offline   Reply With Quote
Advert
Old 09-02-2014, 10:28 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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.
JSWolf is offline   Reply With Quote
Old 09-02-2014, 11:14 PM   #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: 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.
kovidgoyal is offline   Reply With Quote
Old 09-03-2014, 12:11 AM   #8
Ozman
Member
Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.
 
Ozman's Avatar
 
Posts: 18
Karma: 463230
Join Date: Apr 2010
Device: Kobo, Nexus 7
Question Calibre reading error

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
I think I will have to explore other methods of synchronizing my nexus devices with the calibre on my desktop.
Ozman is offline   Reply With Quote
Old 09-06-2014, 12:40 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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
JSWolf is offline   Reply With Quote
Old 09-06-2014, 04:21 PM   #10
Ozman
Member
Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.
 
Ozman's Avatar
 
Posts: 18
Karma: 463230
Join Date: Apr 2010
Device: Kobo, Nexus 7
Calibre error

Quote:
Originally Posted by JSWolf View Post
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
I use Linux. The error occurs in my linux computers.
Ozman is offline   Reply With Quote
Old 09-07-2014, 03:29 AM   #11
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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)
Quote:
Originally Posted by Ozman View Post
I use Linux. The error occurs in my linux computers.
Don't worry, Jon is saying the same thing to Mac users as well. Both you and the other guy clearly indicated prior to his post what systems were affected.
eschwartz is offline   Reply With Quote
Old 09-07-2014, 10:15 AM   #12
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Ozman View Post
I think I will have to explore other methods of synchronizing my nexus devices with the calibre on my desktop.
I use Calibre Companion to manage by books on, and transfer books wirelessly from calibre to my Nexus 7.
DoctorOhh is offline   Reply With Quote
Old 09-08-2014, 10:52 PM   #13
Ozman
Member
Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.
 
Ozman's Avatar
 
Posts: 18
Karma: 463230
Join Date: Apr 2010
Device: Kobo, Nexus 7
Thumbs up Error, what error?

Thanks Dr. I was about to look at that app when 2.2 became available. After installing that the problem has disappeared.
Ozman is offline   Reply With Quote
Old 11-28-2014, 08:18 PM   #14
geolaw
Junior Member
geolaw began at the beginning.
 
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.
geolaw is offline   Reply With Quote
Old 11-28-2014, 08:42 PM   #15
Ozman
Member
Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.Ozman ought to be getting tired of karma fortunes by now.
 
Ozman's Avatar
 
Posts: 18
Karma: 463230
Join Date: Apr 2010
Device: Kobo, Nexus 7
Cable?

Quote:
Originally Posted by geolaw View Post
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.
I have found that connecting through calibre sometimes doesn't work with one of my usb cables, but once I change the cable, it works. Can't hurt to try if you have a spare cable.
Ozman is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 08:18 PM.


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