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

On Saturday, July 6, 2019 at 7:25:19 PM UTC-4, 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?
>
> 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
>
>
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9444bf74-a29b-4fdd-a655-9dc1d574f3f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to