Belchertown Earthquake data error

49 views
Skip to first unread message

Patrick Mendiuk

unread,
Jul 6, 2019, 7:25:19 PM7/6/19
to weewx-user
I have been running the Belchertown skin without any errors for a while now and this started happening after the California earthquakes.  Is anyone else getting this error?

Jul  6 16:04:26 MITX-6930 weewx[22281]: reportengine: Running report 'Belchertown'
Jul  6 16:04:26 MITX-6930 weewx[22281]: reportengine: Found configuration file /etc/weewx/skins/Belchertown/skin.conf for report 'Belchertown'
Jul  6 16:04:26 MITX-6930 weewx[22281]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'user.belchertown.getData']
Jul  6 16:04:26 MITX-6930 weewx[22281]: manager: Daily summary version is 2.0
Jul  6 16:04:26 MITX-6930 weewx[22281]: reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****  No JSON object could be decoded
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****  Traceback (most recent call last):
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 204, in run
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****      obj.start()
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 300, in start
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****      self.run()
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 160, in run
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****      ngen = self.generate(gen_dict[section_name], self.gen_ts)
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 234, in generate
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****      ngen += self.generate(section[subsection], gen_ts)
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 234, in generate
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****      ngen += self.generate(section[subsection], gen_ts)
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****      default_binding)
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 374, in _getSearchList
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****      searchList += obj.get_extension_list(timespan, db_lookup)
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****    File "/usr/share/weewx/user/belchertown.py", line 636, in get_extension_list
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****      eqdata = json.load( read_file )
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****    File "/usr/lib/python2.7/json/__init__.py", line 291, in load
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****      **kw)
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****    File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****      return _default_decoder.decode(s)
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****    File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****    File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****      raise ValueError("No JSON object could be decoded")
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****  ValueError: No JSON object could be decoded
Jul  6 16:04:26 MITX-6930 weewx[22281]:         ****  Generator terminated
Jul  6 16:04:26 MITX-6930 weewx[22281]: copygenerator: copied 2 files to /var/www/html

Patrick



Les Niles

unread,
Jul 6, 2019, 7:29:58 PM7/6/19
to weewx...@googlegroups.com

The USGS web site was timing out pretty frequently after the big shocks. 

  -Les
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/195ff59a-8545-4db3-925e-7fa43f214fe2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

vince

unread,
Jul 6, 2019, 8:34:13 PM7/6/19
to weewx-user
On Saturday, July 6, 2019 at 4:25:19 PM UTC-7, Patrick Mendiuk wrote:
I have been running the Belchertown skin without any errors for a while now and this started happening after the California earthquakes.  Is anyone else getting this error?


No, but the list of what's recent was super out of date.  Their site is getting hammered as you'd expect.

(kid-2 is 70 miles south of there and felt both quite strongly).

Pat

unread,
Jul 7, 2019, 12:49:23 PM7/7/19
to weewx-user
As other's have said probably a timeout or website down error. I'll add an error catcher in Belchertown 1.1 so the skin will generate even if no data is available. I should have done that before. Sorry about that

Pat

unread,
Jul 7, 2019, 1:15:52 PM7/7/19
to weewx-user
This should be all set now in commit f4b62e1 and will appear in 1.1 (unless you manually add the changes now)
Reply all
Reply to author
Forward
0 new messages