![]() |
#106 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 40008
Join Date: Aug 2014
Location: Paris, France
Device: PW2, Kobo H20, Kobo Aura One
|
wha...? I'm not following what went wrong, but at least it works now?
|
![]() |
![]() |
![]() |
#107 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Sep 2014
Device: pw2
|
|
![]() |
![]() |
Advert | |
|
![]() |
#108 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Sep 2014
Device: pw2
|
|
![]() |
![]() |
![]() |
#109 | |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Sep 2014
Device: pw2
|
Quote:
Code:
time ./offline_folder_export.py /mnt/books/ real 0m2.138s user 0m0.214s sys 0m1.803s |
|
![]() |
![]() |
![]() |
#110 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Sep 2014
Device: pw2
|
btw, where do i need to put collections.json on kindle generated by offline script?
EDIT: nvm, collections.json should be in /mnt/us/extensions/ Last edited by mobusr; 09-27-2014 at 06:24 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#111 | |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Sep 2014
Device: pw2
|
Quote:
I did install python. It's in /usr/bin/python on kindle. |
|
![]() |
![]() |
![]() |
#112 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@mobusr: The exact same symlink also exists for python, python2 & python2.7, which is what made me wonder.
Code:
LIST="/usr/bin/python /usr/bin/python2 /usr/bin/python2.7" for var in ${LIST} ; do ln -fs "/mnt/us/python/bin/python2.7" "${var}" done |
![]() |
![]() |
![]() |
#113 | |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Sep 2014
Device: pw2
|
Quote:
for some reason which python2.7 gives me nothing tho ![]() |
|
![]() |
![]() |
![]() |
#114 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@mobusr: Huh. Is the python2.7 symlink actually there and sane, or is it broken?
|
![]() |
![]() |
![]() |
#115 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Oops - again - need coffee
Last edited by knc1; 09-28-2014 at 08:17 AM. |
![]() |
![]() |
![]() |
#116 | |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Sep 2014
Device: pw2
|
Quote:
Code:
[root@kindle root]# ls -al /usr/bin/python* lrwxrwxrwx 1 root root 28 Apr 2 21:37 /usr/bin/python -> /mnt/us/python/bin/python2.7 lrwxrwxrwx 1 root root 28 Apr 2 21:37 /usr/bin/python2 -> /mnt/us/python/bin/python2.7 lrwxrwxrwx 1 root root 28 Apr 2 21:37 /usr/bin/python2.7 -> /mnt/us/python/bin/python2.7 [root@kindle root]# which python [root@kindle root]# which python2.7 [root@kindle root]# which python2 [root@kindle root]# |
|
![]() |
![]() |
![]() |
#117 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
See if that Ash can "which" any other symlinks. - - - - OR try the most recent busybox build (in the ARMhf on Kindle tar ball). Yes, you can run that version of Ash and all/any of the existing Kindle image files. The "HowTo" page shows how to switch command line interpreters. Last edited by knc1; 09-28-2014 at 08:49 AM. |
|
![]() |
![]() |
![]() |
#118 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Good thing we rely on env and not which in the shebang then ;p.
(Namely because env is always a proper tool, whereas which is often a shell builtin). |
![]() |
![]() |
![]() |
#119 | ||
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Sep 2014
Device: pw2
|
Quote:
Code:
[root@kindle root]# which bash /bin/bash [root@kindle root]# ls -al /bin/bash lrwxrwxrwx 1 root root 7 Apr 23 12:50 /bin/bash -> busybox Quote:
![]() |
||
![]() |
![]() |
![]() |
#120 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I am mostly retired from (new) Kindle development (lack of time).
But that project to run (concurrently) two system libc's I do want to get finished - sometime. ![]() There is one "known problem" at the moment - LuaJit - needs to include the Amazon module paths in its loader search path. (OR - require'full path/name' - which looks sort of ugly and can break easily) Ah, Nano does work just fine. |
![]() |
![]() |
![]() |
Tags |
kindle collections, librariansync |
Thread Tools | Search this Thread |
|
![]() |
||||
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 |