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 02-10-2016, 12:01 AM   #1
aBP
Member
aBP began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Feb 2012
Device: K4NT
KTerm & Python Issues

First off, thanks to BD, Niluge, and the entire dev community for the 5.6.5 jb. (and also my K4 jailbreak WAY back in the day! :P )

I'm only an enthusiast when it comes to Kindle tinkering, but I thought it'd be fun to check out the terminal and maybe even make some fun python scripts if possible. Problem is, when I try to launch KTerm from KUAL, the display just blinks then returns to the home screen. I saw knc1's github link at the end of the KTerm thread, but I'm not sure what to do with it :/

I also installed dos1's Python extension, and the lib suggested by jue but I have no idea how to use it...

Hope someone is willing to help Many thanks!
aBP is offline   Reply With Quote
Old 02-10-2016, 12:14 AM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Go back to the Kterm download page, and download the version for fw>=5.6.5
eschwartz is offline   Reply With Quote
Advert
Old 02-10-2016, 02:22 PM   #3
aBP
Member
aBP began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Feb 2012
Device: K4NT
Oh wow, that was embarrassingly easy xD Thanks eschwartz! I'm playing around in python as I'm typing this

For anyone else who is as silly as me, the download page is here.

>>edit It seems the pygtk module isn't working for me :/ Normal .py files run fine but the gtk-test.py throws out "ImportError: No module named pygtk"

Last edited by aBP; 02-10-2016 at 02:29 PM.
aBP is offline   Reply With Quote
Old 02-10-2016, 02:50 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
That sounds like you are using the wrong python installation. What are the chances that you accidentally ran gtk-test.py using, say, NiLuJe's python2 build which goes together with the screensavers hack?

(Hint: the reason for dos1's build is because NiLuJe's doesn't come with pygtk.)
eschwartz is offline   Reply With Quote
Old 02-10-2016, 05:23 PM   #5
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
And since mine in setting up symlinks all over the place, a generic python callling (usually /bin/env python) shebang will most likely point to mine .
NiLuJe is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
taskwarrior (REQUIRES KTERM) twobob Kindle Developer's Corner 77 07-30-2017 01:30 PM
[HELP]How to quit the kterm frosn0w Kindle Developer's Corner 2 03-13-2014 12:06 PM
newsbeuter 2.3 - requires KTERM twobob Kindle Developer's Corner 14 10-15-2013 05:57 PM
kual: kterm -e myapp.sh peepo Kindle Developer's Corner 7 02-25-2013 10:00 AM


All times are GMT -4. The time now is 11:31 AM.


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