Quote:
Originally Posted by dearleuk
That's how I was trying to return the book and that's where the following error occurs
calibre, version 8.4.0
ERROR: Unhandled exception: <b>TypeError</b>:unsupported operand type(s) for +: 'NoneType' and 'str'
calibre 8.4 embedded-python: True
Linux-6.14.0-37-generic-x86_64-with-glibc2.41 Linux ('64bit', 'ELF')
('Linux', '6.14.0-37-generic', '#37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025')
Python 3.11.12
Interface language: None
EXE path: /opt/calibre/bin/calibre
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3)
Traceback (most recent call last):
File "calibre_plugins.deacsm.config", line 1298, in show_rented_books
d = RentedBooksDialog(self, self.deacsmprefs["list_of_rented_books"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
File "calibre_plugins.deacsm.config", line 1321, in __init__
self.populate_list()
File "calibre_plugins.deacsm.config", line 1398, in populate_list
item = QListWidgetItem(book["book_name"] + " " + info)
~~~~~~~~~~~~~~~~~~^~~~~
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
|
You should update to calibre 9.x from the official website and try again. I'm using 9.x and I had no trouble returning an ePub. I am on Windows 11. But if your calibre is not downloaded from the official site, that could be a problem.