Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-22-2020, 02:01 AM   #481
hius07
Wizard
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
Posts: 1,179
Karma: 3592925
Join Date: Sep 2014
Location: Ukraine
Device: Kindle
Why don't you like the files attached to the first post of this thread?
hius07 is offline   Reply With Quote
Old 07-22-2020, 05:25 AM   #482
shamanNS
Wizard
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 1,115
Karma: 12345678
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
@LuiMD: Download this: https://www.mobileread.com/forums/at...2&d=1569975082

(it is from the first post of this topic)
shamanNS is offline   Reply With Quote
Advert
Old 07-22-2020, 09:47 AM   #483
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Do note, there’s a new version of LibrarianSync updated June 2020 on:

https://github.com/NiLuJe/librariansync

As for installation, that’s done by unzipping and then copying the librariansync folder to the extensions folder (e.g. X:\extensions\librariansync on Windows).
Attached Thumbnails
Click image for larger version

Name:	5841F052-E238-4AFB-AA3D-72267DB3EAE9.jpg
Views:	351
Size:	288.8 KB
ID:	180847  
ilovejedd is offline   Reply With Quote
Old 07-26-2020, 01:25 AM   #484
LuiMD
Junior Member
LuiMD began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2020
Device: Kindle PPW3
@shamanNS, thanks! Its done
LuiMD is offline   Reply With Quote
Old 09-26-2020, 03:21 AM   #485
Kornison
Junior Member
Kornison began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2020
Device: Kindle Paperwhite 2018
Uninstalling Python

Hello all,

My PW4 is stuck on "Rebuilding collection (from Calibre)..." for many hours.

Now I have Python 3.8 installed and read that may be the issue and would like to uninstall it and try 2.7 version to see if it makes a difference.
Should I do this? And if so, how do I uninstall it? Haven't found instructions and in the Python folder from snapshots there is both install and Update_python_0.15.N_uninstall.bin file for older version but for Python3 only Update_python3_0.15.N_install_pw2_kt2_kv_pw3_koa_k t3_koa2_pw4_kt4.

Thanks
Kornison is offline   Reply With Quote
Advert
Old 09-26-2020, 04:25 AM   #486
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by Kornison View Post
My PW4 is stuck on "Rebuilding collection (from Calibre)..." for many hours.

Now I have Python 3.8 installed and read that may be the issue and would like to uninstall it and try 2.7 version to see if it makes a difference.
Should I do this? And if so, how do I uninstall it? Haven't found instructions and in the Python folder from snapshots there is both install and Update_python_0.15.N_uninstall.bin file for older version but for Python3 only Update_python3_0.15.N_install_pw2_kt2_kv_pw3_koa_k t3_koa2_pw4_kt4.
What firmware version do you have installed on the PW4? I believe LibrarianSync stopped working in 5.12.x. Doesn't work in 5.13.x either.

You don't need to uninstall Python3. You just need to install Python2. Make sure you're using NiLuJe's updated version of LibrarianSync from github.
ilovejedd is offline   Reply With Quote
Old 10-02-2020, 05:59 AM   #487
lrpirlet
Connoisseur
lrpirlet began at the beginning.
 
Posts: 96
Karma: 40
Join Date: Mar 2020
Location: Belgium (sorry, I am from the Walloon side of the country and I speak french only)
Device: PW3, Kobo Libra H2O
Sad confirmation...

I did deep dive the LibrarianSync module/software... That software does NOT work anymore... And probably will not work without some big change... See this entry.

Technically, as far as I understand, one way to be able to access the involved databases was to use
Code:
http://localhost:9101/change
(see wiki section Collections).

Amazon decided that it was not their policy (their policy seems to be: make money, only make money... do NOT consider customer desiderata that was NOT planned in their business plan and implement their plan even if it breaks a nice hack... close any open gate that could let a hacker change the customer expectation... In fact they act as if they had a monopoly not considering that other companies do provide similar product that CAN be hacked/improved/tuned...)

Again, as far as I understand, the database is undergoing changes and LibrarianSync would have come in their way, so they were obliged to brake it (poor developpers hit by hacks... Luckily, for me, they are not developping linux; unluckily, for us, they are not from Microsoft who would have bought the technology... sight).

Note that I could NOT find anymore the reference documents used by those who did develop the LibrarianSync hack.

I do see a way to repair the LibrarianSync, but it would be a big work for me and I feel that it will be invalidated as soon as I publish it, so I just use my kindle till it dies while looking around for a better alternative...

Anyway I share the frustration. I doubt that I will buy Amazon kindle or even Amazon products anymore. I would give my kindle a 3 out of 10 in any Net Promoter Score survey and such a high result would be only for the quality of the harware...
lrpirlet is offline   Reply With Quote
Old 11-01-2020, 10:56 AM   #488
MrTick
Enhtusiast
MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.
 
MrTick's Avatar
 
Posts: 53
Karma: 2340139
Join Date: Dec 2018
Device: K3 DxG PW1 KV PW4
I think I've solved the problem with 5.12+ firmware.
Now the localhost:9101/change requires some form of authentication.
After some poking around with tcpdump I've managed to find the following solution:

9101 POSTs require to authenticate with AuthToken field.
The value is then compared with current session token that's stored in... /tmp/session_token (it changes every reboot at least).

I'm uploading modified cc_update.py (it has to be replaced in extensions/librariansync)

Code:
201101:165222 system: I LibrarianSync:cc_update:: Sending commands...
201101:165223 system: I LibrarianSync:cc_update:: Success.
201101:165223 system: I LibrarianSync:main:: Done in 0.63s.
I've verified in for PW4 5.13.2 and 5.13.3
Attached Files
File Type: py cc_update.py (4.2 KB, 322 views)
MrTick is offline   Reply With Quote
Old 11-01-2020, 11:03 AM   #489
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@MrTick: Kudos! Can you send a PR to my GitHub fork?
NiLuJe is offline   Reply With Quote
Old 11-01-2020, 11:07 AM   #490
MrTick
Enhtusiast
MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.
 
MrTick's Avatar
 
Posts: 53
Karma: 2340139
Join Date: Dec 2018
Device: K3 DxG PW1 KV PW4
Quote:
Originally Posted by NiLuJe View Post
@MrTick: Kudos! Can you send a PR to my GitHub fork?
Sure, but as I haven't done that for a while, it'd take up to an hour

EDIT: done! (and took only 44 minutes )

Last edited by MrTick; 11-01-2020 at 11:51 AM.
MrTick is offline   Reply With Quote
Old 11-01-2020, 12:01 PM   #491
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by MrTick View Post
I think I've solved the problem with 5.12+ firmware.
Now the localhost:9101/change requires some form of authentication.
After some poking around with tcpdump I've managed to find the following solution:

9101 POSTs require to authenticate with AuthToken field.
The value is then compared with current session token that's stored in... /tmp/session_token (it changes every reboot at least).

I'm uploading modified cc_update.py (it has to be replaced in extensions/librariansync)

Code:
201101:165222 system: I LibrarianSync:cc_update:: Sending commands...
201101:165223 system: I LibrarianSync:cc_update:: Success.
201101:165223 system: I LibrarianSync:main:: Done in 0.63s.
I've verified in for PW4 5.13.2 and 5.13.3
Awesome news!

Question though, will this fix work with unregistered Kindles as well?
ilovejedd is offline   Reply With Quote
Old 11-01-2020, 12:12 PM   #492
MrTick
Enhtusiast
MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.
 
MrTick's Avatar
 
Posts: 53
Karma: 2340139
Join Date: Dec 2018
Device: K3 DxG PW1 KV PW4
Quote:
Originally Posted by ilovejedd View Post
Question though, will this fix work with unregistered Kindles as well?
If by unregistered you mean hack-registered then I'm 90% sure it'll work.
MrTick is offline   Reply With Quote
Old 11-01-2020, 12:26 PM   #493
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by MrTick View Post
If by unregistered you mean hack-registered then I'm 90% sure it'll work.
As in never registered to Amazon. No fake reg or anything.
ilovejedd is offline   Reply With Quote
Old 11-01-2020, 12:31 PM   #494
MrTick
Enhtusiast
MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.
 
MrTick's Avatar
 
Posts: 53
Karma: 2340139
Join Date: Dec 2018
Device: K3 DxG PW1 KV PW4
Quote:
Originally Posted by ilovejedd View Post
As in never registered to Amazon. No fake reg or anything.
In that case I think collections are still unavailable and enabling them would require hacking the framework itself

I don't quite understand why Amazon forces user to register before collections are enabled (actually I do understand, I just disagree totally with that politics)
MrTick is offline   Reply With Quote
Old 11-04-2020, 12:11 PM   #495
lrpirlet
Connoisseur
lrpirlet began at the beginning.
 
Posts: 96
Karma: 40
Join Date: Mar 2020
Location: Belgium (sorry, I am from the Walloon side of the country and I speak french only)
Device: PW3, Kobo Libra H2O
Quote:
Originally Posted by MrTick View Post
I think I've solved the problem with 5.12+ firmware.
Now the localhost:9101/change requires some form of authentication.
After some poking around with tcpdump I've managed to find the following solution:

9101 POSTs require to authenticate with AuthToken field.
The value is then compared with current session token that's stored in... /tmp/session_token (it changes every reboot at least).

I've verified in for PW4 5.13.2 and 5.13.3


I did try with wireshark but did not get anything (that I could use, I may have missed it in the HUGE file I got)...

Out of curiosity, to learn some, what did you monitor with tcpdump that leaded you to check the /tmp/session_token ?

It does work for me too on 5.12.4...

Last edited by lrpirlet; 11-04-2020 at 12:54 PM.
lrpirlet is offline   Reply With Quote
Reply

Tags
kindle collections, librariansync


Forum Jump

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 01:12 PM
Vocabulary builder bobafruit Kindle Developer's Corner 25 09-04-2015 01: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 02:44 AM
Vocabulary Builder for Kindle Paperwhite 1 pxpxpx Amazon Kindle 2 02-16-2014 06:07 PM
SBPubX Builder tmaynard Fictionwise eBookwise 16 11-20-2008 12:35 PM


All times are GMT -4. The time now is 12:15 AM.


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