Get this 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.
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
,
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.