Hi,

So what does /home/weewx/bin/user/extIP.py do? it seems to be having a 
problem opening a URL and that is killing the generation of your pages.

Gary

On Thursday, 22 February 2018 22:55:04 UTC+10, Mauro Venturelli wrote:
>
> Hi all,
> since yesterday evening my weewx-raspy stopped updating web page.
> weewx is loade on raspberry an receive data from davis pro2 console
> connected directly to raspy UART (/dev/ttyAMA0)
> worked fine till yesterday,now is giving following errors :
>
> Thanks for any help
> Mauro
>
> pi@weewx:/home/weewx$  sudo /etc/init.d/weewx start
> [ ok ] Starting weewx (via systemctl): weewx.service.
> pi@weewx:/home/weewx$ tail -f /var/log/syslog
> Feb 22 13:31:29 weewx weewx[1302]: vantage: gentle wake up of console 
> successful
> Feb 22 13:31:29 weewx weewx[1302]: manager: Daily summary version is 1.0
> Feb 22 13:31:29 weewx weewx[1302]: engine: Clock error is 0.52 seconds 
> (positive is fast)
> Feb 22 13:31:29 weewx weewx[1302]: vantage: Getting archive packets since 
> 2018-02-22 13:20:00 CET (1519302000)
> Feb 22 13:31:29 weewx weewx[1302]: vantage: gentle wake up of console 
> successful
> Feb 22 13:31:29 weewx weewx[1302]: vantage: Retrieving 0 page(s); starting 
> index= 0
> Feb 22 13:31:29 weewx weewx[1302]: engine: Starting main packet loop.
> Feb 22 13:31:29 weewx weewx[1302]: vantage: gentle wake up of console 
> successful
> Feb 22 13:31:29 weewx weewx[1302]: vantage: Requesting 200 LOOP packets.
> Feb 22 13:31:29 weewx weewx[1302]: vantage: gentle wake up of console 
> successful
> Feb 22 13:33:01 weewx rsyslogd-2007: action 'action 17' suspended, next 
> retry is Thu Feb 22 13:34:31 2018 [try http://www.rsyslog.com/e/2007 ]
> Feb 22 13:33:01 weewx CRON[1330]: (pi) CMD (sleep 20 ; curl -s -S "
> https://www.duckdns.org/update?domains=plexi47&token=77080db8-8c9d-431f-98ab-83003abf3581";
>  
> > /dev/null 2>&1 )
> Feb 22 13:35:15 weewx weewx[1302]: manager: Added record 2018-02-22 
> 13:35:00 CET (1519302900) to database 'weewx.sdb'
> Feb 22 13:35:15 weewx rsyslogd-2007: action 'action 17' suspended, next 
> retry is Thu Feb 22 13:36:45 2018 [try http://www.rsyslog.com/e/2007 ]
> Feb 22 13:35:15 weewx weewx[1302]: manager: Added record 2018-02-22 
> 13:35:00 CET (1519302900) to daily summary in 'weewx.sdb'
> Feb 22 13:35:16 weewx weewx[1302]: reportengine: Running reports for 
> latest time in the database.
> Feb 22 13:35:16 weewx weewx[1302]: vantage: Requesting 200 LOOP packets.
> Feb 22 13:35:16 weewx weewx[1302]: reportengine: Running report 
> StandardReport
> Feb 22 13:35:16 weewx weewx[1302]: vantage: gentle wake up of console 
> successful
> Feb 22 13:35:16 weewx weewx[1302]: reportengine: Found configuration file 
> /home/weewx/skins/Standard/skin.conf for report StandardReport
> Feb 22 13:35:16 weewx weewx[1302]: cheetahgenerator: using search list 
> ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
> 'user.extIP.MySearch']
> Feb 22 13:35:16 weewx weewx[1302]: manager: Daily summary version is 1.0
> Feb 22 13:35:16 weewx weewx[1302]: restx: Wunderground-PWS: Published 
> record 2018-02-22 13:35:00 CET (1519302900)
> Feb 22 13:35:16 weewx weewx[1302]: reportengine: Caught unrecoverable 
> exception in generator weewx.cheetahgenerator.CheetahGenerator
> Feb 22 13:35:16 weewx weewx[1302]:         ****  [Errno 104] Connection 
> reset by peer
> Feb 22 13:35:16 weewx weewx[1302]:         ****  Traceback (most recent 
> call last):
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/reportengine.py", line 239, in run
> Feb 22 13:35:16 weewx weewx[1302]:         ****      obj.start()
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/reportengine.py", line 273, in start
> Feb 22 13:35:16 weewx weewx[1302]:         ****      self.run()
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 157, in run
> Feb 22 13:35:16 weewx weewx[1302]:         ****      ngen = 
> self.generate(gen_dict[section_name], self.gen_ts)
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 231, in generate
> Feb 22 13:35:16 weewx weewx[1302]:         ****      ngen += 
> self.generate(section[subsection], gen_ts)
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 231, in generate
> Feb 22 13:35:16 weewx weewx[1302]:         ****      ngen += 
> self.generate(section[subsection], gen_ts)
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 319, in generate
> Feb 22 13:35:16 weewx weewx[1302]:         ****      default_binding)
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 371, in _getSearchList
> Feb 22 13:35:16 weewx weewx[1302]:         ****      searchList += 
> obj.get_extension_list(timespan, db_lookup)
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/user/extIP.py", line 17, in get_extension_list
> Feb 22 13:35:16 weewx weewx[1302]:         ****      ext_ip = 
> urllib2.urlopen('http://ip.42.pl/raw').read()
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
> Feb 22 13:35:16 weewx weewx[1302]:         ****      return 
> opener.open(url, data, timeout)
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/urllib2.py", line 431, in open
> Feb 22 13:35:16 weewx weewx[1302]:         ****      response = 
> self._open(req, data)
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/urllib2.py", line 449, in _open
> Feb 22 13:35:16 weewx weewx[1302]:         ****      '_open', req)
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
> Feb 22 13:35:16 weewx weewx[1302]:         ****      result = func(*args)
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/urllib2.py", line 1227, in http_open
> Feb 22 13:35:16 weewx weewx[1302]:         ****      return 
> self.do_open(httplib.HTTPConnection, req)
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/urllib2.py", line 1200, in do_open
> Feb 22 13:35:16 weewx weewx[1302]:         ****      r = 
> h.getresponse(buffering=True)
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/httplib.py", line 1111, in getresponse
> Feb 22 13:35:16 weewx weewx[1302]:         ****      response.begin()
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/httplib.py", line 444, in begin
> Feb 22 13:35:16 weewx weewx[1302]:         ****      version, status, 
> reason = self._read_status()
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/httplib.py", line 400, in _read_status
> Feb 22 13:35:16 weewx weewx[1302]:         ****      line = 
> self.fp.readline(_MAXLINE + 1)
> Feb 22 13:35:16 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/socket.py", line 476, in readline
> Feb 22 13:35:16 weewx weewx[1302]:         ****      data = 
> self._sock.recv(self._rbufsize)
> Feb 22 13:35:16 weewx weewx[1302]:         ****  error: [Errno 104] 
> Connection reset by peer
> Feb 22 13:35:16 weewx weewx[1302]:         ****  Generator terminated
> Feb 22 13:35:16 weewx weewx[1302]: manager: Daily summary version is 1.0
> Feb 22 13:35:17 weewx weewx[1302]: imagegenerator: Generated 12 images for 
> StandardReport in 1.02 seconds
> Feb 22 13:35:17 weewx weewx[1302]: copygenerator: copied 14 files to 
> /home/weewx/public_html
> Feb 22 13:35:17 weewx weewx[1302]: reportengine: Running report lastrain
> Feb 22 13:35:17 weewx weewx[1302]: reportengine: Found configuration file 
> /home/weewx/skins/lastrain/skin.conf for report lastrain
> Feb 22 13:35:17 weewx weewx[1302]: cheetahgenerator: using search list 
> ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
> 'user.lastrain.lastRainTags']
> Feb 22 13:35:17 weewx weewx[1302]: manager: Daily summary version is 1.0
> Feb 22 13:35:17 weewx weewx[1302]: reportengine: Caught unrecoverable 
> exception in generator weewx.cheetahgenerator.CheetahGenerator
> Feb 22 13:35:17 weewx weewx[1302]:         ****  [Errno 104] Connection 
> reset by peer
> Feb 22 13:35:17 weewx weewx[1302]:         ****  Traceback (most recent 
> call last):
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/reportengine.py", line 239, in run
> Feb 22 13:35:17 weewx weewx[1302]:         ****      obj.start()
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/reportengine.py", line 273, in start
> Feb 22 13:35:17 weewx weewx[1302]:         ****      self.run()
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 157, in run
> Feb 22 13:35:17 weewx weewx[1302]:         ****      ngen = 
> self.generate(gen_dict[section_name], self.gen_ts)
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 231, in generate
> Feb 22 13:35:17 weewx weewx[1302]:         ****      ngen += 
> self.generate(section[subsection], gen_ts)
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 231, in generate
> Feb 22 13:35:17 weewx weewx[1302]:         ****      ngen += 
> self.generate(section[subsection], gen_ts)
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 319, in generate
> Feb 22 13:35:17 weewx weewx[1302]:         ****      default_binding)
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 371, in _getSearchList
> Feb 22 13:35:17 weewx weewx[1302]:         ****      searchList += 
> obj.get_extension_list(timespan, db_lookup)
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/home/weewx/bin/user/lastrain.py", line 83, in get_extension_list
> Feb 22 13:35:17 weewx weewx[1302]:         ****      ext_ip = 
> urllib2.urlopen('http://ip.42.pl/raw').read()
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
> Feb 22 13:35:17 weewx weewx[1302]:         ****      return 
> opener.open(url, data, timeout)
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/urllib2.py", line 431, in open
> Feb 22 13:35:17 weewx weewx[1302]:         ****      response = 
> self._open(req, data)
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/urllib2.py", line 449, in _open
> Feb 22 13:35:17 weewx weewx[1302]:         ****      '_open', req)
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
> Feb 22 13:35:17 weewx weewx[1302]:         ****      result = func(*args)
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/urllib2.py", line 1227, in http_open
> Feb 22 13:35:17 weewx weewx[1302]:         ****      return 
> self.do_open(httplib.HTTPConnection, req)
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/urllib2.py", line 1200, in do_open
> Feb 22 13:35:17 weewx weewx[1302]:         ****      r = 
> h.getresponse(buffering=True)
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/httplib.py", line 1111, in getresponse
> Feb 22 13:35:17 weewx weewx[1302]:         ****      response.begin()
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/httplib.py", line 444, in begin
> Feb 22 13:35:17 weewx weewx[1302]:         ****      version, status, 
> reason = self._read_status()
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/httplib.py", line 400, in _read_status
> Feb 22 13:35:17 weewx weewx[1302]:         ****      line = 
> self.fp.readline(_MAXLINE + 1)
> Feb 22 13:35:17 weewx weewx[1302]:         ****    File 
> "/usr/lib/python2.7/socket.py", line 476, in readline
> Feb 22 13:35:17 weewx weewx[1302]:         ****      data = 
> self._sock.recv(self._rbufsize)
> Feb 22 13:35:17 weewx weewx[1302]:         ****  error: [Errno 104] 
> Connection reset by peer
> Feb 22 13:35:18 weewx weewx[1302]:         ****  Generator terminated
> Feb 22 13:35:18 weewx weewx[1302]: reportengine: Running report FTP
> Feb 22 13:35:18 weewx weewx[1302]: reportengine: Found configuration file 
> /home/weewx/skins/Ftp/skin.conf for report FTP
> Feb 22 13:35:18 weewx weewx[1302]: ftpupload: Attempting connection to 
> www.plexi47.altervista.org
> Feb 22 13:35:18 weewx weewx[1302]: ftpupload: Connected to 
> www.plexi47.altervista.org
> Feb 22 13:35:18 weewx weewx[1302]: ftpupload: Uploaded file /weewx.css
> Feb 22 13:35:18 weewx weewx[1302]: ftpupload: Uploaded file /daywind.png
> Feb 22 13:35:18 weewx weewx[1302]: ftpupload: Uploaded file /daypond.png
> Feb 22 13:35:18 weewx weewx[1302]: ftpupload: Uploaded file /daywinddir.png
> Feb 22 13:35:19 weewx weewx[1302]: ftpupload: Uploaded file /daytempdew.png
> Feb 22 13:35:19 weewx weewx[1302]: ftpupload: Uploaded file 
> /daytempchill.png
> Feb 22 13:35:19 weewx weewx[1302]: ftpupload: Uploaded file 
> /daybarometer.png
> Feb 22 13:35:19 weewx weewx[1302]: ftpupload: Uploaded file 
> /dayradiation.png
> Feb 22 13:35:19 weewx weewx[1302]: ftpupload: Uploaded file /mobile.css
> Feb 22 13:35:20 weewx weewx[1302]: ftpupload: Uploaded file /dayrx.png
> Feb 22 13:35:20 weewx weewx[1302]: ftpupload: Uploaded file /favicon.ico
> Feb 22 13:35:20 weewx weewx[1302]: ftpupload: Uploaded file /dayrain.png
> Feb 22 13:35:20 weewx weewx[1302]: ftpupload: Uploaded file /daywindvec.png
> Feb 22 13:35:20 weewx weewx[1302]: ftpupload: Uploaded file /dayinside.png
> Feb 22 13:35:21 weewx weewx[1302]: ftpupload: Uploaded file /dayuv.png
> Feb 22 13:35:21 weewx weewx[1302]: ftpupload: Uploaded file 
> /smartphone/custom.js
> Feb 22 13:35:21 weewx weewx[1302]: ftpupload: Uploaded file 
> /smartphone/icons/icon_ipad_x1.png
> Feb 22 13:35:21 weewx weewx[1302]: ftpupload: Uploaded file 
> /smartphone/icons/icon_iphone_x2.png
> Feb 22 13:35:21 weewx weewx[1302]: ftpupload: Uploaded file 
> /smartphone/icons/icon_ipad_x2.png
> Feb 22 13:35:22 weewx weewx[1302]: ftpupload: Uploaded file 
> /smartphone/icons/icon_iphone_x1.png
> Feb 22 13:35:22 weewx weewx[1302]: ftpupload: Uploaded file 
> /backgrounds/flower.jpg
> Feb 22 13:35:22 weewx weewx[1302]: ftpupload: Uploaded file 
> /backgrounds/drops.gif
> Feb 22 13:35:22 weewx weewx[1302]: ftpupload: Uploaded file 
> /backgrounds/band.gif
> Feb 22 13:35:23 weewx weewx[1302]: ftpupload: Uploaded file 
> /backgrounds/night.gif
> Feb 22 13:35:23 weewx weewx[1302]: ftpupload: Uploaded file 
> /backgrounds/butterfly.jpg
> Feb 22 13:35:23 weewx weewx[1302]: ftpupload: Uploaded file 
> /backgrounds/leaf.jpg
> Feb 22 13:35:23 weewx weewx[1302]: ftpgenerator: ftp'd 26 files in 5.65 
> seconds
> Feb 22 13:35:23 weewx weewx[1302]: reportengine: Running report RSYNC
> Feb 22 13:35:23 weewx weewx[1302]: reportengine: Found configuration file 
> /home/weewx/skins/Rsync/skin.conf for report RSYNC
> Feb 22 13:35:23 weewx weewx[1302]: rsyncgenerator: rsync upload not 
> requested. Skipped.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to