Still having "earthquake" problem. I noticed something that may make no
difference but not sure how I would fix it.
I removed any "Belchertown" file/directory I could find and installed
0.7 with wee install, ran a few syslog loops and came up with the following:
Sep 10 08:05:18 OptiPlex weewx[15703]: Belchertown Extension: version 0.7
Sep 10 08:05:18 OptiPlex weewx[15703]: forecast: ZambrettiThread:
Zambretti: units=1 winddir=346.956499898 pressure=29.834265283
first_p=29.810304082 last_p=29.8495650658
Sep 10 08:05:18 OptiPlex weewx[15703]: forecast: ZambrettiThread:
Zambretti: pressure=1010.30402681 month=8 winddir=15
trend=0.443176434794 north=True
Sep 10 08:05:18 OptiPlex weewx[15703]: forecast: ZambrettiThread:
Zambretti: code is C
Sep 10 08:05:18 OptiPlex weewx[15703]: forecast: ZambrettiThread:
Zambretti: generated 1 forecast record
Sep 10 08:05:18 OptiPlex weewx[15703]: forecast: ZambrettiThread:
Zambretti: saving 1 forecast records
Sep 10 08:05:18 OptiPlex weewx[15703]: manager: Added record 2018-09-10
08:05:00 CDT (1536584700) to database 'forecast.sdb'
Sep 10 08:05:18 OptiPlex weewx[15703]: forecast: ZambrettiThread:
Zambretti: saved 1 forecast records
Sep 10 08:05:18 OptiPlex weewx[15703]: forecast: ZambrettiThread:
Zambretti: deleting forecasts prior to 1535979918
Sep 10 08:05:18 OptiPlex weewx[15703]: forecast: ZambrettiThread:
Zambretti: deleted forecasts prior to 1535979918
Sep 10 08:05:18 OptiPlex weewx[15703]: forecast: ZambrettiThread:
Zambretti: terminating thread
Sep 10 08:05:18 OptiPlex weewx[15703]: restx: CWOP: Connected to server
cwop.aprs.net:14580
Sep 10 08:05:19 OptiPlex weewx[15703]: restx: PWSWeather: Published
record 2018-09-10 08:05:00 CDT (1536584700)
Sep 10 08:05:19 OptiPlex weewx[15703]: restx: Wunderground-PWS:
Published record 2018-09-10 08:05:00 CDT (1536584700)
Sep 10 08:05:19 OptiPlex weewx[15703]: Belchertown Extension: New
forecast file downloaded to /var/www/html/weewx/json/darksky_forecast.json
Sep 10 08:05:19 OptiPlex weewx[15703]: restx: WeatherCloud: Published
record 2018-09-10 08:05:00 CDT (1536584700)
Sep 10 08:05:19 OptiPlex weewx[15703]: reportengine: Caught
unrecoverable exception in generator weewx.cheetahgenerator.CheetahGenerator
Sep 10 08:05:19 OptiPlex weewx[15703]: **** Error downloading earthquake
data. Check the URL and try again. You are trying to use URL:
http://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=37.212907&lon=-89.529325&maxradiuskm=1000&format=geojson&nodata=204&minmag=2,
and the error is: <urlopen error [Errno 1] _ssl.c:510:
error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake
failure>
Sep 10 08:05:19 OptiPlex weewx[15703]: **** Traceback (most recent call
last):
Sep 10 08:05:19 OptiPlex weewx[15703]: **** File
"/usr/share/weewx/weewx/reportengine.py", line 239, in run
Sep 10 08:05:19 OptiPlex weewx[15703]: **** obj.start()
Sep 10 08:05:19 OptiPlex weewx[15703]: **** File
"/usr/share/weewx/weewx/reportengine.py", line 273, in start
Sep 10 08:05:19 OptiPlex weewx[15703]: **** self.run()
Sep 10 08:05:19 OptiPlex weewx[15703]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 158, in run
Sep 10 08:05:19 OptiPlex weewx[15703]: **** ngen =
self.generate(gen_dict[section_name], self.gen_ts)
Sep 10 08:05:19 OptiPlex weewx[15703]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
Sep 10 08:05:19 OptiPlex weewx[15703]: **** ngen +=
self.generate(section[subsection], gen_ts)
Sep 10 08:05:19 OptiPlex weewx[15703]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate
Sep 10 08:05:19 OptiPlex weewx[15703]: **** ngen +=
self.generate(section[subsection], gen_ts)
Sep 10 08:05:19 OptiPlex weewx[15703]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 320, in generate
Sep 10 08:05:19 OptiPlex weewx[15703]: **** default_binding)
Sep 10 08:05:19 OptiPlex weewx[15703]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 372, in _getSearchList
Sep 10 08:05:19 OptiPlex weewx[15703]: **** searchList +=
obj.get_extension_list(timespan, db_lookup)
Sep 10 08:05:19 OptiPlex weewx[15703]: **** File
"/usr/share/weewx/user/belchertown.py", line 466, in get_extension_list
Sep 10 08:05:19 OptiPlex weewx[15703]: **** raise ValueError( "Error
downloading earthquake data. Check the URL and try again. You are trying
to use URL: %s, and the error is: %s" % ( earthquake_url, error ) )
Sep 10 08:05:19 OptiPlex weewx[15703]: **** ValueError: Error
downloading earthquake data. Check the URL and try again. You are trying
to use /*URL:
http://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=37.212907&lon=-89.529325&maxradiuskm=1000&format=geojson&nodata=204&minmag=2*/,
and the error is: <urlopen error [Errno 1] _ssl.c:510:
error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake
failure>
Sep 10 08:05:19 OptiPlex weewx[15703]: **** Generator terminated
Sep 10 08:05:19 OptiPlex weewx[15703]: copygenerator: copied 22 files to
/var/www/html/weewx
Sep 10 08:05:19 OptiPlex weewx[15703]: reportengine: Running report forecast
Sep 10 08:05:19 OptiPlex weewx[15703]: reportengine: Found configuration
file /etc/weewx/skins/forecast/skin.conf for report forecast
Sep 10 08:05:19 OptiPlex weewx[15703]: cheetahgenerator: using search
list ['weewx.cheetahgenerator.Almanac',
'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current',
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo',
'weewx.cheetahgenerator.Extras', 'user.forecast.ForecastVariables']
Sep 10 08:05:19 OptiPlex weewx[15703]: manager: Daily summary version is 2.0
Sep 10 08:05:20 OptiPlex weewx[15703]: cheetahgenerator: Generated 12
files for report forecast in 0.47 seconds
Sep 10 08:05:20 OptiPlex weewx[15703]: copygenerator: copied 87 files to
/var/www/html/weewx/forecast
Sep 10 08:05:20 OptiPlex weewx[15703]: reportengine: Running report
Highcharts_Belchertown
Sep 10 08:05:20 OptiPlex weewx[15703]: reportengine: Found configuration
file /etc/weewx/skins/Highcharts_Belchertown/skin.conf for report
Highcharts_Belchertown
Sep 10 08:05:20 OptiPlex weewx[15703]: cheetahgenerator: using search
list ['weewx.cheetahgenerator.Almanac',
'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current',
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo',
'weewx.cheetahgenerator.Extras',
'user.belchertown_highchartsSearchX.highchartsDay',
'user.belchertown_highchartsSearchX.highchartsWeek',
'user.belchertown_highchartsSearchX.highchartsMonth',
The text in red is what I noticed. If I copy and paste the URL, the
website changes it to /*https://(etc) */and I can read the info without
a fuss. If this is the problem, is there something I can do on my end to
fix it, and where? Also, as before, as long as earthquakes are
activated, no information is updated either locally or remotely (ftp,
CWOP, etc) but when I change it back to "0" all seems to work fine.
--
*/John Clark <mailto:[email protected]>/*
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.