View Single Post
Old 09-16-2025, 03:32 PM   #16
docutus1of1
Junior Member
docutus1of1 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2025
Device: kindle
@jbhul...working on configuring your plugin with Calibre.

Steps:
1.Installed plugin, restarted calibre
2. Added the API key successfully
3. Configured a few columns
4. Chose 5 or so books that I know are in AudiobookShelf, then chose link Audiobookshelf book

Error message received stating:
Quote:
calibre, version 8.10.0
ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'lower'

calibre 8.10 embedded-python: True
Linux-6.12.24-Unraid-x86_64-with-glibc2.39 Linux ('64bit', 'ELF')
('Linux', '6.12.24-Unraid', '#1 SMP PREEMPT_DYNAMIC Sat May 3 00:12:52 PDT 2025')
Python 3.11.12
Interface language: None
EXE path: /opt/calibre/bin/calibre-debug
Successfully initialized third party plugins: Audiobookshelf Sync (1, 4, 2) && Goodreads (1, 8, 3) && Kobo Metadata (1, 12, 0) && Read Audiobooks metadata (0, 1, 1)
Traceback (most recent call last):
File "calibre_plugins.audiobookshelf.action", line 828, in link_audiobookshelf_book
sorted_items = sorted(filtered_items, key=lambda x: x.get('media', {}).get('metadata', {}).get('title', '').lower())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^
File "calibre_plugins.audiobookshelf.action", line 828, in <lambda>
sorted_items = sorted(filtered_items, key=lambda x: x.get('media', {}).get('metadata', {}).get('title', '').lower())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'lower'
Issue? Config problem? Permissions?
docutus1of1 is offline   Reply With Quote