Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 10:49 AM   #1
m.s
Enthusiast
m.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Timem.s possesses cleverness exceeding the boundaries of Space and Time
 
m.s's Avatar
 
Posts: 33
Karma: 49174
Join Date: Oct 2012
Device: Bookeens, Kindles, Kobos, PocketBooks, Tolinos
Calibre-AI with Ollama: TypeError:can only concatenate str (not "list") to str

I can't get the AI summary with Ollama to work. Calibre is throwing this error message:

Code:
calibre, version 8.16.1
FEHLER: Unbehandelter Ausnahmefehler: <b>TypeError</b>:can only concatenate str (not "list") to str

calibre 8.16.1  embedded-python: True
macOS-26.1-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '25.1.0', 'Darwin Kernel Version 25.1.0: Mon Oct 20 19:32:47 PDT 2025; root:xnu-12377.41.6~2/RELEASE_ARM64_T8103')
Python 3.11.14
OSX: ('26.1', ('', '', ''), 'arm64')
Interface language: de
EXE path: /Applications/calibre.app/Contents/MacOS/calibre
Successfully initialized third party plugins: DeDRM (10, 0, 3) && Access Aide (0, 1, 15) && Check Books (0, 2, 0) && Count Pages (1, 14, 4) && DNB_DE (3, 2, 5) && Ebook Translator (2, 4, 1) && EpubSplit (3, 12, 0) && Find Duplicates (1, 10, 9) && Hyphenate This! (0, 1, 4) && Set KFX metadata (from KFX Output) (2, 18, 0) && KFX Output (2, 18, 0) && Mass Search-Replace (1, 8, 5) && Modify ePub (1, 8, 8) && PocketBook632 (1, 0, 2) && Pocketbook Collections (1, 2, 6) && Quality Check (1, 14, 6) && View Manager (1, 10, 3)
Traceback (most recent call last):
  File "calibre/gui2/llm.py", line 449, in on_chat_link_clicked
  File "calibre/gui2/dialogs/llm_book.py", line 214, in handle_chat_link
  File "calibre/gui2/dialogs/llm_book.py", line 220, in activate_action
  File "calibre/gui2/llm.py", line 349, in start_api_call
  File "calibre/gui2/dialogs/llm_book.py", line 235, in create_initial_messages
  File "calibre/gui2/dialogs/llm_book.py", line 53, in format_books_for_query
  File "calibre/gui2/dialogs/llm_book.py", line 44, in format_book_for_query
TypeError: can only concatenate str (not "list") to str
My AI settings are in attached screenshot.
Attached Thumbnails
Click image for larger version

Name:	SCR-20251205-nxur.png
Views:	7
Size:	110.5 KB
ID:	219572  
m.s is offline   Reply With Quote
Old Today, 10:57 AM   #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,676
Karma: 28549304
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...066c0ea5971b79
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre TypeError:'str' object is not callable - only last few days madeirabhoy Calibre 1 06-06-2023 01:02 PM
TypeError: can only concatenate str (not "bytes") to str when using extraCss and TOC Lafisrap Calibre 1 12-26-2022 11:13 PM
Help with error: TypeError: cannot concatenate 'str' and 'int' objects Talayero Devices 3 01-24-2013 11:28 PM
Error: "can only concatenate list (not "unicode") to list" bmuesse Library Management 2 01-11-2013 04:50 PM
Touch How good is the "rooted" Nook STR at reading "technical" PDFs? ibex333 Nook Developer's Corner 15 11-20-2011 12:16 AM


All times are GMT -4. The time now is 02:14 PM.


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