View Single Post
Old 12-30-2021, 01:08 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,063
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by ErichSt View Post
When working on a Windows machine where USB ports are read-only by policy, Calibre issues error "Error communicating with device" and doesn't connect.

It would be nice if connecting to a device and read-only operations from the device, like copying books from the device to Calibre, still worked in this case.
Spoiler:

The full message is:
calibre, version 5.34.0
ERROR: Error: Error communicating with device

Failed to access files in the main memory of your device. You should contact the device manufacturer for support. Common fixes are: try a different USB cable/USB port on your computer. If you device has a "Reset to factory defaults" type of setting somewhere, use it. Underlying error: [Errno 13] Permission denied: 'D:\\driveinfo.calibre'

Traceback (most recent call last):
File "calibre\devices\usbms\driver.py", line 162, in get_device_information
File "calibre\devices\usbms\driver.py", line 134, in _update_driveinfo_file
PermissionError: [Errno 13] Permission denied: 'D:\\driveinfo.calibre'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "calibre\gui2\device.py", line 87, in run
File "calibre\gui2\device.py", line 472, in _get_device_information
File "calibre\devices\eb600\driver.py", line 89, in get_device_information
File "calibre\devices\usbms\driver.py", line 171, in get_device_information
File "calibre\devices\usbms\driver.py", line 152, in raise_os_error
OSError: Failed to access files in the main memory of your device. You should contact the device manufacturer for support. Common fixes are: try a different USB cable/USB port on your computer. If you device has a "Reset to factory defaults" type of setting somewhere, use it. Underlying error: [Errno 13] Permission denied: 'D:\\driveinfo.calibre'
Speaking as someone who does manage corporate machines some of which are very locked down due to privacy requirements, setting USB ports to read-only is not my preferred option. Totally disabled is my preference.

In my environment, attempting to install an unauthorized program such as calibre on a secured corporate computer without permission would be a crash landing. Security would be escorting you out of the building and your next stop would be the unemployment line.
DNSB is offline   Reply With Quote