Yeah,  somewhere in the skin, things were mixed up.   I just got the skin 
up to date and though it took some effort with the breaking changes, the 
errors are gone now.  Thanks all, for the help.

On Monday, February 15, 2021 at 2:26:46 PM UTC-7 tke...@gmail.com wrote:

> I don't completely understand what is going on, but it looks like you're 
> asking for cloud base in the belchertown skin, but the belchertown search 
> list extension is not supplying a record from which to calculate it.
>
> Most likely this is a bug in the skin, but it could be from the way you 
> are using the tag. I assume it is something like $current.cloudbase?
>
> On Mon, Feb 15, 2021 at 12:39 PM Parker Lohrenz <ploh...@gmail.com> wrote:
>
>> I think i found it.   I must have been editing the graphs to change the 
>> new annual totals, etc after year end.   
>>
>> I found a typo on line 570 of the graphs.conf file.    Now that it is 
>> fixed, things are a bit better. but I am digging into the graphs.conf file 
>> to see where I may have broken something.   Here is the latest syslog:
>>
>> Feb 15 13:30:33 weatherpi weewx[10773] INFO weewx.restx: MQTT: Published 
>> record 2021-02-15 13:30:33 MST (1613421033)
>> Feb 15 13:30:33 weatherpi weewx[10773] INFO weewx.restx: Windy: Published 
>> record 2021-02-15 13:30:00 MST (1613421000)
>> Feb 15 13:30:33 weatherpi weewx[10773] INFO weewx.restx: 
>> Wunderground-PWS: Published record 2021-02-15 13:30:00 MST (1613421000)
>> Feb 15 13:30:33 weatherpi weewx[10773] DEBUG weewx.reportengine: Found 
>> configuration file /etc/weewx/skins/Belchertown/skin.conf for report 
>> 'Belchertown'
>> Feb 15 13:30:33 weatherpi weewx[10773] DEBUG weewx.cheetahgenerator: 
>> Using search list ['weewx.cheetahgenerator.Almanac', 
>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
>> 'weewx.cheetahgenerator.Extras', u'user.belchertown.getData']
>> Feb 15 13:30:33 weatherpi weewx[10773] DEBUG weewx.manager: Daily summary 
>> version is 4.0
>> Feb 15 13:30:34 weatherpi weewx[10773] INFO user.belchertown: New 
>> forecast file downloaded to 
>> /var/www/html/weewx/belchertown/json/darksky_forecast.json
>> Feb 15 13:30:35 weatherpi weewx[10773] INFO user.belchertown: Update 
>> Checker: New GitHub Version file downloaded to 
>> /var/www/html/weewx/belchertown/json/github_version.json
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine: Caught 
>> unrecoverable exception in generator 
>> 'weewx.cheetahgenerator.CheetahGenerator'
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****  argument of type 'NoneType' is not iterable
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****  Traceback (most recent call last):
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****    File "/usr/share/weewx/weewx/reportengine.py", line 196, in run
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****      obj.start()
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****    File "/usr/share/weewx/weewx/reportengine.py", line 281, in start
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****      self.run()
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 150, in run
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****      ngen = self.generate(gen_dict[section_name], self.gen_ts)
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, in 
>> generate
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****      ngen += self.generate(section[subsection], gen_ts)
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, in 
>> generate
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****      ngen += self.generate(section[subsection], gen_ts)
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 309, in 
>> generate
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****      default_binding)
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 385, in 
>> _getSearchList
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****      searchList += obj.get_extension_list(timespan, db_lookup)
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****    File "/usr/share/weewx/user/belchertown.py", line 836, in 
>> get_extension_list
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****      obs_output = getattr(current, obs)
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****    File "/usr/share/weewx/weewx/tags.py", line 506, in __getattr__
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****      vt = weewx.xtypes.get_scalar(obs_type, self.record, db_manager)
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****    File "/usr/share/weewx/weewx/xtypes.py", line 71, in get_scalar
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****      return xtype.get_scalar(obs_type, record, db_manager)
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****    File "/usr/share/weewx/weewx/wxxtypes.py", line 89, in get_scalar
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****      return getattr(self, 'calc_%s' % obs_type)(obs_type, record, 
>> db_manager)
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****    File "/usr/share/weewx/weewx/wxxtypes.py", line 127, in 
>> calc_cloudbase
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****      if 'outTemp' not in data or 'outHumidity' not in data:
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****  TypeError: argument of type 'NoneType' is not iterable
>> Feb 15 13:30:35 weatherpi weewx[10773] ERROR weewx.reportengine:        
>>  ****  Generator terminated
>> Feb 15 13:30:35 weatherpi weewx[10773] INFO weewx.reportengine: Copied 2 
>> files to /var/www/html/weewx/belchertown
>> Feb 15 13:30:35 weatherpi weewx[10773] DEBUG weewx.manager: Daily summary 
>> version is 4.0
>> F
>> On Monday, February 15, 2021 at 1:06:42 PM UTC-7 Parker Lohrenz wrote:
>>
>>> /etc/weewx/skins/Belchertown/skin.conf is only 515 lines.    here is an 
>>> excerpt there:
>>>
>>> [CheetahGenerator]
>>>     # This section is used by the generator CheetahGenerator, and 
>>> specifies
>>>     # which files are to be generated from which template.
>>>
>>>     search_list_extensions = user.belchertown.getData
>>>
>>>     # Possible encodings are 'html_entities', 'utf8', or 'strict_ascii'
>>>     encoding = html_entities
>>>
>>>     [[SummaryByMonth]]
>>>         # Reports that summarize "by month"
>>>         [[[NOAA_month]]]
>>>             encoding = strict_ascii
>>>             template = NOAA/NOAA-YYYY-MM.txt.tmpl
>>>
>>>     [[SummaryByYear]]
>>>         # Reports that summarize "by year"
>>>         [[[NOAA_year]]]
>>>             encoding = strict_ascii
>>>             template = NOAA/NOAA-YYYY.txt.tmpl
>>>
>>>     [[ToDate]]
>>>         # Reports that show statistics "to date", such as day-to-date,
>>>         # week-to-date, month-to-date, etc.
>>>         [[[weewx_data]]]
>>>             template = json/weewx_data.json.tmpl
>>>
>>>         [[Belchertown]]
>>>             template = js/belchertown.js.tmpl
>>>
>>>         [[[home]]]
>>>             template = index.html.tmpl
>>>
>>>         [[[about]]]
>>>             template = about/index.html.tmpl
>>>
>>>         [[[graphs]]]
>>>             template = graphs/index.html.tmpl
>>>
>>>         [[[reports]]]
>>>             template = reports/index.html.tmpl
>>>
>>>         [[[records]]]
>>>             template = records/index.html.tmpl
>>>
>>>         [[[pi]]]
>>>             template = pi/index.html.tmpl
>>>
>>>         [[[manifest]]]
>>>             encoding = utf8
>>>             template = manifest.json.tmpl
>>>
>>>
>>> ###############################################################################
>>>
>>> [CopyGenerator]
>>>
>>>     # This section is used by the generator CopyGenerator
>>>
>>>     # List of files to be copied only the first time the generator runs
>>>     copy_once = favicon.ico, images/*, json/index.html, js/index.html, 
>>> js/responsive-menu.js, robots.txt
>>>
>>>     # List of files to be copied each time the generator runs
>>>     copy_always = *.css
>>>
>>>
>>>
>>> ###############################################################################
>>>
>>> #
>>> # The list of generators that are to be run:
>>> #
>>> [Generators]
>>>     generator_list = weewx.cheetahgenerator.CheetahGenerator, 
>>> weewx.reportengine.CopyGenerator, user.belchertown.HighchartsJsonGenerator
>>>
>>>
>>> On Monday, February 15, 2021 at 12:26:14 PM UTC-7 tke...@gmail.com 
>>> wrote:
>>>
>>>> Did you check line 570 in the skin.conf for the Belchertown skin?
>>>>
>>>> On Mon, Feb 15, 2021 at 11:04 AM Parker Lohrenz <ploh...@gmail.com> 
>>>> wrote:
>>>>
>>>>>  Thanks for the thoughts.  The whole system is on the raspberry pi, 
>>>>> nothing on a NAS yet.  I don't recall any specifics what might have 
>>>>> triggered it since i was slow to realize the problem.  I noticed the last 
>>>>> date it was working was Jan 5 2021.   The only thing I have been doing 
>>>>> with 
>>>>> the system was trying to apt-get update to keep things current.   I did 
>>>>> recently notice I was pulling the wrong source list (python3 instead of 
>>>>> python2):
>>>>>
>>>>> For python3 (debian10 and later):
>>>>> curl -s http://weewx.com/apt/weewx-python3.list | sudo tee 
>>>>> /etc/apt/sources.list.d/weewx.list
>>>>> For python2 (debian9 and earlier):
>>>>> curl -s http://weewx.com/apt/weewx-python2.list | sudo tee 
>>>>> /etc/apt/sources.list.d/weewx.list
>>>>>
>>>>> The raspberry pi is still debian 9, and running python2.7.   Once I 
>>>>> updated this I was able to update from 3.9.2 to 4.4.0, but that 
>>>>> hasn't fixed the problem.  
>>>>>
>>>>> I hope the SD card is still good(only a couple years old, and weewx is 
>>>>> really all this pi is doing).   My best guess is that i did an apt-get 
>>>>> update that must have broken something last month that I didn't notice 
>>>>> until recently.  
>>>>>
>>>>> On Monday, February 15, 2021 at 11:46:30 AM UTC-7 vince wrote:
>>>>>
>>>>>> Are you doing anything unusual like running off a weewx tree out on a 
>>>>>> NAS on your LAN or the like ?
>>>>>> Did you change anything ?   
>>>>>>
>>>>>> The logs look like it's having issues reading files including perhaps 
>>>>>> even your weewx.conf.   Is your SD card maybe going bad ?
>>>>>>
>>>>> -- 
>>>>> 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/7e98fa08-a972-4662-9737-92aca81a33f3n%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/7e98fa08-a972-4662-9737-92aca81a33f3n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>> 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/ecc09d3b-0c07-4c32-aa19-57b278159f83n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/ecc09d3b-0c07-4c32-aa19-57b278159f83n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9cedc959-1613-4c4e-b2a3-32f52e1a3bben%40googlegroups.com.

Reply via email to