View Single Post
Old 12-17-2020, 01:50 AM   #93
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 876
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by MGlitch View Post
That's done the trick, at least in terms of getting a logfile that isn't gibberish

If you need more let me know, interestingly no mention of any book either on my Kobo or in my Calibre library is in the log.
Thanks. This is weird. It seems that for some reason Calibre just stops sending NOOP packets, which then causes my code to timeout after a set period of time.

As for not seeing books in the log, I truncate each line to make sure the log doesn't balloon in size. You should see something like the following:
Code:
[Kobo-UNCaGED] 2020/12/17 19:45:44 [DEBUG] Processing SET_LIBRARY_INFO packet: {"libraryName": "Calibre Library", "libr
[Kobo-UNCaGED] 2020/12/17 19:45:44 [DEBUG] Wrote TCP packet: 6[0,{}]
[Kobo-UNCaGED] 2020/12/17 19:45:44 [DEBUG] Read TCP packet: [6, {"canStream": true, "canScan": true,
[Kobo-UNCaGED] 2020/12/17 19:45:44 [DEBUG] Calibre Opcode received: 6
[Kobo-UNCaGED] 2020/12/17 19:45:44 [DEBUG] Processing GET_BOOK_COUNT packet: {"canStream": true, "canScan": true, "wi
[Kobo-UNCaGED] 2020/12/17 19:45:44 [DEBUG] Wrote TCP packet: 51[0,{"count":107,"willStream":true,"wil
[Kobo-UNCaGED] 2020/12/17 19:45:44 [DEBUG] Wrote TCP packet: 201[0,{"priKey":0,"uuid":"088ca258-a4e7-
[Kobo-UNCaGED] 2020/12/17 19:45:44 [DEBUG] Wrote TCP packet: 223[0,{"priKey":1,"uuid":"fd21303e-27bd-
That is the Kobo sending the list of books to Calibre.

EDIT: I guess the only thing I can think to try would be to restart both your Kobo, and Calibre, and see what happens. I must confess I'm a bit perplexed.
sherman is offline   Reply With Quote