06-21-2023, 05:15 PM | #556 |
Zealot
Posts: 103
Karma: 1000
Join Date: May 2013
Device: Kindle Paperwhite
|
|
07-06-2023, 02:25 AM | #557 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2023
Device: Paperwhite SE
|
I want to take a look at updating this project for Paperwhite SE. Could you give a rough outline of what I need to do? What still needs investigating and what parts need updating?
Last edited by midrare; 07-06-2023 at 02:29 AM. |
Advert | |
|
07-07-2023, 09:47 AM | #558 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
The code changes are probably irrelevant (and minor, probably just the device IDs), it's quite likely blocked by the lack of an updated FBInk/Python build with support for the new devices.
|
07-17-2023, 05:59 AM | #559 |
Member
Posts: 24
Karma: 10
Join Date: Sep 2014
Device: Kindle PW
|
|
07-17-2023, 01:58 PM | #560 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I'm hoping to get in done before fall.
|
Advert | |
|
09-08-2023, 02:46 PM | #561 |
Connoisseur
Posts: 84
Karma: 10
Join Date: Jan 2014
Location: Scotland
Device: KT4 5.13.6
|
Books don't stay in Kindle Collection on Librarian Sync
I've got two books that will not stay in their collection & I'm baffled.
Background - Books 1 & 2 are by XYZ. I've got a collection that I've allocated them to in Calibre, called XYZ. They are the only two books in this collection, and when the problem started I hadn't read or opened either of them for a long time. When I run Kindle Collections in Calibre, the log report shows them in their proper collection. Problem - When I go to my Kindle - Open KUAL - Librarian Sync - Update folders - any new books I've added are sorted into their proper places, but Books 1 & 2 aren't - they are "Floating" at the end of the list of collections in collections view. Collection XYZ is still there but now has no books in it. I can manually add 1&2 to it, and they'll stay there, but only till the next time I run Update folders; after that, they are back to floating again. I've tried 1. deleting the collection in the Kindle & then recreating it. That works for the first time, then the books slip out of the collection again when I next Update; 2. reconverting the books, I've tried taking them out of Calibre entirely then re-adding as if they were new; 3. running disc checkers on the Kindle to check I've not got a bad sector or whatever. This has occasionally happened in the past to a random book or so, but never with the persistence that 1&2 are showing! Any thoughts? Thanks. |
09-15-2023, 05:11 AM | #562 |
Member
Posts: 24
Karma: 10
Join Date: Sep 2014
Device: Kindle PW
|
|
11-10-2023, 03:07 PM | #563 |
Member
Posts: 13
Karma: 10
Join Date: Aug 2014
Device: Kindle PW5 (2021), Kindle KT2 (2014)
|
LibrarianSync
I got following message in mrinstaller.log on a PW5 (2021), device code 21A, FW 5.16.2.1.1.
Spoiler:
I hope that can be easily fixed. Thanks in advance Update: After checking out the first options in KOreader, which I started to be in love with, I understood how books are organized there. Simply folder wise, which is exactly what my wife loves. On top you can use the meta data library of Calibre in KOreader to find books in another way. Last but not least, using my Raspberry as Calibre server and connect it with OPDS is the cherry on the cake. Thanks to all who spend/spent there personal time to make user like me happy. I will do some donations in the coming days to honor that. Last edited by knolle75; 11-12-2023 at 05:05 AM. |
11-26-2023, 02:08 PM | #564 |
Zealot
Posts: 103
Karma: 1000
Join Date: May 2013
Device: Kindle Paperwhite
|
|
12-13-2023, 04:29 AM | #565 |
Member
Posts: 24
Karma: 10
Join Date: Sep 2014
Device: Kindle PW
|
|
12-19-2023, 04:42 AM | #566 |
Connoisseur
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
|
Hi,
I just got librariansync working on a brand new PW5 (paperwhite 2021 signature edition bought during this 2023 BF. it's so new a new device ID needed to be added for it in kindletool. Thanks NiLuJe!!) ;tldr it all just works with one missing autodetect feature and a key "install python 2.7 pacakge on kindle" support step (step 3 below) needed. basically do the following. 1. on the Calibre side, install Kindle Collections, do the QT6 patch if you plan to use the manual edit function (otherwise ignore it. look at the last few pages of the extension page for the patch) 2. the autodetect feature of Kindle Collections will fail when you do the "Setup" step. just select something. I used the paperwhite setting and it works 3. on the kindle side, install the librarian sync (using mrpi) *AND* the python 2.7 PW5 package from the snapshots page. If you don't install python, librariansync will just keep failing *silently* over and over again. 4. done. if you have synced the collections in calibre and got the "run librariansync update on your kindle" popup message from the calibre plugin, just run that menu option on the kindle, wait a few seconds (there will be no "finised message"), tap the go back option at the bottom (the /), go to your library screen and watch all the collections show up.. original "debugging" thread and post is here btw https://www.mobileread.com/forums/sh...92#post4381692 Last edited by bigwoof; 12-19-2023 at 04:57 AM. |
12-20-2023, 08:16 AM | #567 |
Connoisseur
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
|
found another bug that needs fixing. The sqlite DB barfs when too many books are added at one go. the error is
Code:
{ "Error": "Failed to execute handler: /usr/lib/ccat/change.lua:2201: /usr/lib/ccat/change.lua:2045: {"http_status_code":400,"sqlite3_msg":"too many SQL variables","sqlite3_code":4}" } Code:
r = requests.post("http://127.0.0.1:9101/change", data=json.dumps(full_command), headers={'AuthToken': self.session_token, 'content-type proxies={'no': 'pass'}) I'm not great at JSON and even worse at SQL so if someone can crank this up in 5 minutes (some folks I know could!), please go ahead. otherwise I'll fix this as a weekend project sometime.. :-) Last edited by bigwoof; 12-20-2023 at 08:47 AM. |
12-20-2023, 10:06 AM | #568 |
Connoisseur
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
|
had some time and this was more interesting than doing other things. So I took a look at the code..
It might be as simple as doing this in generate_collections.py Code:
for i in range(0,len(collection.ebooks),400): new_collection = collection.ebooks[i:i+400] cc.update_collections_entry(collection.uuid, [e.uuid for e in new_collection]) Last edited by bigwoof; 12-20-2023 at 10:12 AM. |
12-20-2023, 07:24 PM | #569 |
Connoisseur
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
|
first tests are promising. adding a 2000 book single collection now works where it used to fail previously.
going to try with 4000+ books and 100+ collections now. Update: and it did not work. The kindle rebooted after printing Code:
231221:074522 system: I LibrarianSync:cc_update:: Sending commands... tail: /var/log/messages has been replaced; following end of new file 231221:074645 system: E LibrarianSync:main:: Something went very wrong. UPDATE: doing the SQL commands in batches of 100 and it seems to be working so far. and it succeeded.. but the collections in the kindle don't have the right number of entries.. will need to dig into the SQL being sent and see where I messed up.. probably need to change the "INSERT" into "UPDATE" for the items that were broken into multiple SQL commands.. the code I am using is here btw. if anyone wants to try it. made changes at line 117 in cc_update.py (to split up the number of SQL commands sent in each POST message) and at line 237 in generate_collections.py (to break up the items in each SQL command). added debugging output to see the books being added as well. Last edited by bigwoof; 12-20-2023 at 09:25 PM. |
12-21-2023, 09:44 PM | #570 |
Connoisseur
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
|
found the bug. The error is in this function in cc_update.py
Code:
def update_collections_entry(self, coll_uuid, members): self.commands.append( { "update": { "type": "Collection", "uuid": str(coll_uuid), "members": members } }) https://stackoverflow.com/questions/...xt-row-sqlite3 Last edited by bigwoof; 12-21-2023 at 10:07 PM. |
Tags |
kindle collections, librariansync |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vocabulary builder and flash card feature on old kindle 2/3/dx? | dark.knight1 | Kindle Developer's Corner | 12 | 10-10-2015 02:12 PM |
Vocabulary builder | bobafruit | Kindle Developer's Corner | 25 | 09-04-2015 02:46 AM |
Free (nook/Kindle/iTunes/DRM-free) Legacy Builder [Xtian Business Leadership Advice] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 10-13-2014 03:44 AM |
Vocabulary Builder for Kindle Paperwhite 1 | pxpxpx | Amazon Kindle | 2 | 02-16-2014 07:07 PM |
SBPubX Builder | tmaynard | Fictionwise eBookwise | 16 | 11-20-2008 01:35 PM |