Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-23-2024, 08:55 AM   #1
sdothum
Enthusiast
sdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it is
 
Posts: 36
Karma: 2062
Join Date: Oct 2021
Device: Kobo Libra 2
[Supernote] Error communiicating with device -- Manta with micro SSD card

Get this error...

Code:
calibre, version 7.21.0
ERROR: Error: Error communicating with device

Failed to upload file named: driveinfo.calibre to ('Internal shared storage', 'Document'): 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 "/usr/lib/calibre/calibre/gui2/device.py", line 112, in run
    self.result = self.func(*self.args, **self.kwargs)
                  ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/gui2/device.py", line 566, in _books
    mainlist = self.device.books(oncard=None, end_session=False)
  File "/usr/lib/calibre/calibre/devices/mtp/driver.py", line 267, in books
    self.get_driveinfo()  # Ensure driveinfo is loaded
    ~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/calibre/calibre/devices/mtp/driver.py", line 240, in get_driveinfo
    self._update_drive_info(self.filesystem_cache.storage(sid), location_code)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/devices/mtp/driver.py", line 230, in _update_drive_info
    self.put_calibre_file(storage, 'driveinfo', BytesIO(raw), len(raw))
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/devices/mtp/driver.py", line 200, in put_calibre_file
    self.put_file(parent, path[-1], stream, size)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/devices/mtp/base.py", line 24, in synchronizer
    return func(self, *args, **kwargs)
  File "/usr/lib/calibre/calibre/devices/mtp/unix/driver.py", line 402, in put_file
    raise DeviceError('Failed to upload file named: %s to %s: %s'
            %(name, parent.full_path, self.format_errorstack(errs)))
calibre.devices.errors.DeviceError: Failed to upload file named: driveinfo.calibre to ('Internal shared storage', 'Document'): 2:PTP Layer error 2002: send_file_object_info(): Cocalibre, version 7.21.0
ERROR: Error: Error communicating with device

Failed to upload file named: driveinfo.calibre to ('Internal shared storage', 'Document'): 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 "/usr/lib/calibre/calibre/gui2/device.py", line 112, in run
    self.result = self.func(*self.args, **self.kwargs)
                  ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/gui2/device.py", line 566, in _books
    mainlist = self.device.books(oncard=None, end_session=False)
  File "/usr/lib/calibre/calibre/devices/mtp/driver.py", line 267, in books
    self.get_driveinfo()  # Ensure driveinfo is loaded
    ~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/calibre/calibre/devices/mtp/driver.py", line 240, in get_driveinfo
    self._update_drive_info(self.filesystem_cache.storage(sid), location_code)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/devices/mtp/driver.py", line 230, in _update_drive_info
    self.put_calibre_file(storage, 'driveinfo', BytesIO(raw), len(raw))
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/devices/mtp/driver.py", line 200, in put_calibre_file
    self.put_file(parent, path[-1], stream, size)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/devices/mtp/base.py", line 24, in synchronizer
    return func(self, *args, *calibre, version 7.21.0
ERROR: Error: Error communicating with device

Failed to upload file named: driveinfo.calibre to ('Internal shared storage', 'Document'): 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 "/usr/lib/calibre/calibre/gui2/device.py", line 112, in run
    self.result = self.func(*self.args, **self.kwargs)
                  ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/gui2/device.py", line 566, in _books
    mainlist = self.device.books(oncard=None, end_session=False)
  File "/usr/lib/calibre/calibre/devices/mtp/driver.py", line 267, in books
    self.get_driveinfo()  # Ensure driveinfo is loaded
    ~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/calibre/calibre/devices/mtp/driver.py", line 240, in get_driveinfo
    self._update_drive_info(self.filesystem_cache.storage(sid), location_code)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/devices/mtp/driver.py", line 230, in _update_drive_info
    self.put_calibre_file(storage, 'driveinfo', BytesIO(raw), len(raw))
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/devices/mtp/driver.py", line 200, in put_calibre_file
    self.put_file(parent, path[-1], stream, size)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/devices/mtp/base.py", line 24, in synchronizer
    return func(self, *args, **kwargs)
  File "/usr/lib/calibre/calibre/devices/mtp/unix/driver.py", line 402, in put_file
    raise DeviceError('Failed to upload file named: %s to %s: %s'
            %(name, parent.full_path, self.format_errorstack(errs)))
calibre.devices.errors.DeviceError: Failed to upload file named: driveinfo.calibre to ('Internal shared storage', 'Document'): 2:PTP Layer error 2002: send_file_object_info(): Could not send object info.
2:Error 2002: PTP General Error
,*kwargs)
  File "/usr/lib/calibre/calibre/devices/mtp/unix/driver.py", line 402, in put_file
    raise DeviceError('Failed to upload file named: %s to %s: %s'
            %(name, parent.full_path, self.format_errorstack(errs)))
calibre.devices.errors.DeviceError: Failed to upload file named: driveinfo.calibre to ('Internal shared storage', 'Document'): 2:PTP Layer error 2002: send_file_object_info(): Could not send object info.
2:Error 2002: PTP General Error
,uld not send object info.
2:Error 2002: PTP General Error
,
Calibre on launch shows spinning jobs wheel. Top menu displays "Device" and "Card A" icons. Both list folders available for scanning.

I was hoping to be able to place my library on the expanded micro SSD storage -- the "Configure this device" dialogue stores, at least, the unique folder name on the micro SSD card (which is duplicated for the "Device" and "Card A").

A "driveinfo.calibre" file was written to the "Internal shared storage/Document" folder on Calibre launch.
sdothum is offline   Reply With Quote
Old 12-23-2024, 11:22 AM   #2
sdothum
Enthusiast
sdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it is
 
Posts: 36
Karma: 2062
Join Date: Oct 2021
Device: Kobo Libra 2
Just wanted to add for anyone interested..

Mounting the Supernote Manta on my Linux computer as an mtp device and then connecting to the mount point/folders works beautifully -- just requires an extra step (versus automatic detection and book device status update).

Note: the device should be configured to NOT upload metadata from the device (mtp folder) as this can be quite slow if the library is large. Updating the metadata from Calibre to the device, however, is swift.

This is a more than adequate solution to the above reported error (when the Supernote is mounted as an mtp device, Calibre does not autodetect it, hence, does not produce the error).
sdothum is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo Glo HD like device, but with a micro sd card slot? tesseractcat Which one should I buy? 8 05-09-2017 04:35 AM
Copying device library to Micro SD card RobertJSawyer Kobo Reader 8 07-18-2013 03:45 AM
Error Communicating with Device - SD Card wen Devices 2 06-17-2012 05:54 AM
Ok So I got a micro sd card...... tym Barnes & Noble NOOK 4 01-18-2012 12:06 PM
Micro SD card syclone enTourage eDGe 9 11-17-2011 09:11 PM


All times are GMT -4. The time now is 02:48 AM.


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