| 
			
			 | 
		#136 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348 
				Karma: 209937 
				Join Date: Jan 2012 
				Location: Virginia, US 
				
				
				Device: Kobo Wifi, Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I have not tested it myself on the Aura H2O, but it should work. The weather app cannot run at the same time as Nickel, you have to stop Nickel to start the weather app.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#137 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 68 
				Karma: 10 
				Join Date: Nov 2014 
				Location: Orcas, WA 
				
				
				Device: Kindle PW & Kobo H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Using the file in this thread I got the telnet and ftp connections going on my H2O. However, the ftp connection is terminated after about 2 minutes of inactivity. The wifi connection is terminated rather quickly too if I don't have the experimental browser loaded. Is there something I can do to extend the connection time?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#138 | |
| 
			
			
			
			 Avid reader 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 897 
				Karma: 6543210 
				Join Date: Apr 2009 
				Location: UK 
				
				
				Device: Samsung Galaxy Z Flip 6 / Kindle Paperwhite / TCL Nxtpaper 14 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Andrew  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#139 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 68 
				Karma: 10 
				Join Date: Nov 2014 
				Location: Orcas, WA 
				
				
				Device: Kindle PW & Kobo H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Andy, I'll try killing the nickel process.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	Do you know how to start and stop the web browser using the console terminal? Because it's full screen every time I do a revision to the the html file I have to use the power button to power down and then back up again and go through the menu to restart the browser. I'm looking at the process list under "top" but I can't identify the process or name.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#140 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 68 
				Karma: 10 
				Join Date: Nov 2014 
				Location: Orcas, WA 
				
				
				Device: Kindle PW & Kobo H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Andy, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Killing nickel also kills the web browser. The browser doesn't get a separate process id.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#141 | |
| 
			
			
			
			 Avid reader 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 897 
				Karma: 6543210 
				Join Date: Apr 2009 
				Location: UK 
				
				
				Device: Samsung Galaxy Z Flip 6 / Kindle Paperwhite / TCL Nxtpaper 14 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Andrew  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#142 | |
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 68 
				Karma: 10 
				Join Date: Nov 2014 
				Location: Orcas, WA 
				
				
				Device: Kindle PW & Kobo H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			WEATHER APP ON H2O 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Quote: 
	
 I had to restart the H2O and now when I run the command: Code: 
	/mnt/onboard/.python/weather.sh Last edited by Bob Brunius; 03-26-2015 at 09:23 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#143 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 68 
				Karma: 10 
				Join Date: Nov 2014 
				Location: Orcas, WA 
				
				
				Device: Kindle PW & Kobo H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I thought the problem might be that the image file might have to be different for the H2O. But the write to /tmp/img.raw at line 31 in weather.py is not happening at all so something else is up. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Where does python leave its error logs? Last edited by Bob Brunius; 03-26-2015 at 10:09 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#144 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 4 
				Karma: 10 
				Join Date: Mar 2014 
				
				
				
				Device: Kindle Paperwhite, Kobo WiFi 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hello, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I just found this article, and I realise its quite old now but hopefully someone can help. I am getting a URL error, I am imaging that the weather service in the original is no longer around or something. Or maybe I am reading this wrong. Either way here is the error and I would appreciate any help. Code: 
	[root@(none) koboWeather]# /mnt/onboard/.python/weather.sh
Kobo Wifi weather forecast started.
Getting weather information . . .
Traceback (most recent call last):
  File "weather.py", line 363, in <module>
    get_weather_data()
  File "weather.py", line 53, in get_weather_data
    weather_xml = urllib2.urlopen(weather_link)
  File "/mnt/onboard/.python/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/mnt/onboard/.python/lib/python2.7/urllib2.py", line 394, in open
    response = self._open(req, data)
  File "/mnt/onboard/.python/lib/python2.7/urllib2.py", line 412, in _open
    '_open', req)
  File "/mnt/onboard/.python/lib/python2.7/urllib2.py", line 372, in _call_chain
    result = func(*args)
  File "/mnt/onboard/.python/lib/python2.7/urllib2.py", line 1199, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/mnt/onboard/.python/lib/python2.7/urllib2.py", line 1174, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#145 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Look through this thread for some changes I posted that were needed due to changes in the website.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#146 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 4 
				Karma: 10 
				Join Date: Mar 2014 
				
				
				
				Device: Kindle Paperwhite, Kobo WiFi 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			That was it, thanks for the help! I may return for advice as I wish to modify some things but I will attempt to do it on my own first of course.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#147 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 1 
				Karma: 10 
				Join Date: Jan 2016 
				
				
				
				
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			can i go back to nickle and coolreader
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#148 | |
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 7 
				Karma: 10 
				Join Date: Jan 2016 
				
				
				
				Device: Kobo Wifi 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Code: 
	urllib2.URLError: <urlopen error [Errno -2] Name or service not known>  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#149 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'll check into it later. Remember though I've never actually installed it on a Kobo.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#150 | |
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 7 
				Karma: 10 
				Join Date: Jan 2016 
				
				
				
				Device: Kobo Wifi 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Code: 
	http://api.worldweatheronline.com/free/v2/weather.ashx?q={0},{1}&format=xml&num_of_days=5&key=95f758b5c88e1b323c12bd1017202
I noticed maxtemp / mintemp appear to be maxtempF and mintempF, and I updated those in the .py file, but still the same error. Last edited by Khord; 01-08-2016 at 10:03 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Tags | 
| hacking, kobo wifi | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Odd; Kobo-purchased book reads fine on Desktop, WiFi and Sony -but not on Kobo Touch. | beautifulsoup | Kobo Reader | 4 | 07-17-2012 10:29 AM | 
| Kobo Touch in cold weather | Judsuw | General Discussions | 15 | 06-02-2012 07:23 PM | 
| Sync epubs between Kobo app and Kobo wifi? | emilikins | Kobo Reader | 1 | 11-17-2011 05:12 PM | 
| Kobo Desktop App v1.7 onboard Kobo WiFi | ZombWii | Kobo Reader | 6 | 10-20-2010 01:24 PM | 
| Forrester upgrades sales forecast by 50% | xoox | News | 0 | 10-10-2009 05:11 AM |