View Single Post
Old 01-31-2025, 11:27 AM   #323
sgmoore
Zealot
sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.
 
Posts: 140
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
> Unhandled exception: <b>KeyError</b>:'cardName'

cardName should contain your library card number, so Libby must not be sending your details back correctly.
Can you first check everything looks OK when you log into the website and view library and card details at https://libbyapp.com/interview/menu#mainMenu

If everything looks correct there, can you try running the plugin in debug (Ctrl-Shift-R should restart Calibre in debug mode) and then exit and look at the generated log file.

When the plugin attempts to sync it should return a response like

[overdrive_libby/0.2.2] RESPONSE: 200 https://sentry.libbyapp.com/chip/sync

and then a few lines further down the actual data which should contain the details of your library cards and usually starts something like.


Quote:
[overdrive_libby/0.2.2] RES BODY: {"result":"synchronized","cards":[{"cardId":"12345678","cardName":"1234567890123","c reateDate":"2025-01-24T13:42:01+00:00" ...
This might give a clue about what is going wrong.
sgmoore is offline   Reply With Quote