I recently noticed that my logs are being spammed with this every few seconds.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre/devices/usbms/device.py", line 604, in do_mount
File "calibre/devices/udisks.py", line 184, in mount
File "calibre/devices/udisks.py", line 56, in __enter__
File "jeepney/io/blocking.py", line 342, in open_dbus_connection
File "jeepney/io/blocking.py", line 310, in prep_socket
File "jeepney/io/blocking.py", line 307, in with_sock_deadline
FileNotFoundError: [Errno 2] No such file or directory
The debug device detection showed this:
calibre 8.3 embedded-python: True
Linux-6.6.78-Unraid-x86_64-with-glibc2.39 Linux ('64bit', 'ELF')
('Linux', '6.6.78-Unraid', '#2 SMP PREEMPT_DYNAMIC Thu Feb 20 13:33:15 PST 2025')
Python 3.11.12
Interface language: None
EXE path: /opt/calibre/bin/calibre
Successfully initialized third party plugins: Find Duplicates (1, 10, 9) && Modify ePub (1, 8, 6)
USB devices on system:
[['0x0764', '0x0601', '0x0200', 'Device1', 'Model1', 'REDACTED'],
['0x154b', '0x1008', '0x0110', 'Device2', 'Model2', 'REDACTED'],
['0x046d', '0xc52b', '0x2401', 'Logitech', 'USB Receiver', ''],
['0x1d6b', '0x0104', '0x0100', 'PiKVM', 'Composite KVM Device', 'REDACTED']]
No disabled plugins
Looking for devices of type: MTP_DEVICE
No MTP devices connected to system
Looking for devices of type: SMART_DEVICE_APP
All IP addresses: [REDACTED]
No device is connected
Looking for devices...
USBDevice(busnum=1, devnum=3, vendor_id=0x1d6b, product_id=0x0104, bcd=0x0100, manufacturer=PiKVM, product=Composite KVM Device, serial=REDACTED)
Detected possible device DIVA
Devices possibly connected: Bookeen Diva HD Device Interface
Trying to open Bookeen Diva HD Device Interface ...
Found device nodes: /dev/sr0 None None
Udisks mount call failed:
Traceback (most recent call last):
File "calibre/devices/usbms/device.py", line 604, in do_mount
File "calibre/devices/udisks.py", line 184, in mount
File "calibre/devices/udisks.py", line 56, in __enter__
File "jeepney/io/blocking.py", line 342, in open_dbus_connection
File "jeepney/io/blocking.py", line 310, in prep_socket
File "jeepney/io/blocking.py", line 307, in with_sock_deadline
FileNotFoundError: [Errno 2] No such file or directory
Found device nodes: /dev/sr0 None None
Udisks mount call failed:
Traceback (most recent call last):
File "calibre/devices/usbms/device.py", line 847, in open
File "calibre/devices/usbms/device.py", line 629, in open_linux
calibre.devices.errors.DeviceError: Unable to mount main memory (Error code: 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre/devices/usbms/device.py", line 604, in do_mount
File "calibre/devices/udisks.py", line 184, in mount
File "calibre/devices/udisks.py", line 56, in __enter__
File "jeepney/io/blocking.py", line 342, in open_dbus_connection
File "jeepney/io/blocking.py", line 310, in prep_socket
File "jeepney/io/blocking.py", line 307, in with_sock_deadline
FileNotFoundError: [Errno 2] No such file or directory
failed
Opening of the following devices failed
<calibre.devices.cybook.driver.DIVA object at 0xREDACTED>
Traceback (most recent call last):
File "calibre/devices/usbms/device.py", line 847, in open
File "calibre/devices/usbms/device.py", line 629, in open_linux
calibre.devices.errors.DeviceError: Unable to mount main memory (Error code: 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre/devices/__init__.py", line 166, in debug
File "calibre/devices/usbms/device.py", line 850, in open
File "calibre/devices/usbms/device.py", line 629, in open_linux
calibre.devices.errors.DeviceError: Unable to mount main memory (Error code: 1)
It seems to be causing issues for my system and even setting up a fresh instance of Calibre didn't help. Any ideas on how to fix this or stop the log spam?