View Single Post
Old 01-12-2024, 04:01 AM   #577
Ruskie_it
Fanatic
Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.
 
Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
Quote:
Originally Posted by bigwoof View Post
one way to test if the sync is working is to just have 1 collection with about 10 books. see if that works. if it does, then any further errors will be from two different sources.

1. you did not wait long enough

Note: updating a lot of books and/or collections takes a long time btw. an hour or two for my case with about 4000 books and 150 collections.

nothing will display in kual (it will look like librariansync has just finished or died) but it is running in the background and you will notice this via the log messages or checking that the generate_collections.py process is running..

you can get the log messages by ssh ing into the kindle and running

showlog -f | grep -i LIBRARIAN

you can see the process by running (at the shell command line after sshing in)

ps aw | grep -i generate

2. you have too many books

if your collections have more than 900 or so books in them, then it will fail with a SQL error printed in the log. the solution (as stated in my last post) is to send smaller SQL sets and patch change.lua to not delete existing libraries. I can send you my code if you want but I can't guarantee it won't break anything else. it works for me though

3. if the simple sync did not work, what does the log print (showlog -f | grep -i LIBRARIAN)?
You got it, according to OP answer... yet I was extremely puzzled: it never takes more than 3-4 seconds in my PW5... Sure I don't have 4k books, but I have almost a thousand...
Ruskie_it is offline   Reply With Quote