Thread: libmtp.MTPError
View Single Post
Old 01-15-2023, 01:03 PM   #1
ilugoiy
Junior Member
ilugoiy began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2023
Device: none
libmtp.MTPError

After upgrading from 5.x to 6.11, I have not been able to get Calibre to recognize my Android phone. Looking at the debug log, I get the following:
Code:
calibre 6.11  embedded-python: True
Linux-5.17.5-76051705-generic-x86_64-with-glibc2.31 Linux ('64bit', 'ELF')
Python 3.10.1
Interface language: None
Successfully initialized third party plugins: Count Pages (1, 12, 0) && KOReader Sync (0, 4, 1) && Reading List (1, 14, 0)
USB devices on system:
[['0x4e8', '0x6860', '0xc00', 'SAMSUNG', 'SAMSUNG_Android', 'RF8R410B2TT']]

No disabled plugins
Looking for devices of type: MTP_DEVICE
MTP devices connected:
USBDevice(busnum=1, devnum=6, vendor_id=0x04e8, product_id=0x6860, bcd=0x0c00, manufacturer=SAMSUNG, product=SAMSUNG_Android, serial=RF8R410B2TT)

Trying to open: USBDevice(busnum=1, devnum=6, vendor_id=0x04e8, product_id=0x6860, bcd=0x0c00, manufacturer=SAMSUNG, product=SAMSUNG_Android, serial=RF8R410B2TT)
Opening device failed:
Traceback (most recent call last):
  File "calibre/devices/mtp/unix/driver.py", line 214, in open
  File "calibre/devices/mtp/base.py", line 24, in synchronizer
  File "calibre/devices/mtp/unix/driver.py", line 166, in create_device
libmtp.MTPError: No raw devices found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/devices/mtp/unix/driver.py", line 144, in debug_managed_device_detection
  File "calibre/devices/mtp/driver.py", line 127, in open
  File "calibre/devices/mtp/base.py", line 24, in synchronizer
  File "calibre/devices/mtp/unix/driver.py", line 217, in open
calibre.devices.errors.OpenFailed: Failed to open USBDevice(busnum=1, devnum=6, vendor_id=0x04e8, product_id=0x6860, bcd=0x0c00, manufacturer=SAMSUNG, product=SAMSUNG_Android, serial=RF8R410B2TT): Error: No raw devices found
I can mount my phone fine on my filesystem and I have made sure that it is not automounting. I have not yet tried rolling back to a previous release of Calibre, but I don't know how else to approach this issue. Is this something wrong with libmtp (and not Calibre)?
ilugoiy is offline   Reply With Quote