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 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
Old 01-15-2023, 10:44 PM   #2
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,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That is an error from libmtp, it is unable to find raw devices on your system. Most likely a permissions issue somewhere. There have been no changes to MTP device support between calibre 5 and 6, other than updating libmtp versions.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre 1.0 and nexus 4 on ubuntu 12.10: MTPError rodvp Devices 1 09-30-2013 03:06 PM
Calibre MTPError: Failed to get storage info for the device (Kindle Fire) roguemouser Kindle Fire 0 08-09-2013 05:51 PM


All times are GMT -4. The time now is 07:44 PM.


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