Thanks, Gary.  Works fine.

Tom

> On Jan 16, 2024, at 2:07 PM, gjr80 <gjroder...@gmail.com> wrote:
> 
> Just to wrap this up I have released weewx-saratoga v0.1.8 
> <https://github.com/gjr80/weewx-saratoga/releases> that fixes this bug and a 
> couple of other unrelated ones. 
> 
> Gary
> 
> On Tuesday 16 January 2024 at 08:09:33 UTC+10 Tom -KQ5S wrote:
>> Thanks, Gary.  I will wait.
>> 
>> Tom
>> 
>> On Monday, January 15, 2024 at 4:05:25 PM UTC-6 gjr80 wrote:
>>> Or better still wait until I get home this morning and patch weewx-saratoga.
>>> 
>>> Gary
>>> On Tuesday 16 January 2024 at 07:24:01 UTC+10 tke...@gmail.com <> wrote:
>>>> Yes, it will. So much for my assumption that users are unlikely to be 
>>>> affected!
>>>> 
>>>> In the meantime, you can change weewx.units.UnknownType to 
>>>> weewx.units.UnknownObsType in the code.
>>>> 
>>>> On Mon, Jan 15, 2024 at 11:07 AM bell...@gmail.com <> <bell...@gmail.com 
>>>> <>> wrote:
>>>>> As I was researching upgrading to V5 I ran across this, 
>>>>> http://www.weewx.com/docs/5.0/upgrade/#class-weewxunitsunknowntype-has-been-renamed.
>>>>> Looks like Wssearchlist.py will need an update.
>>>>> rich
>>>>> 
>>>>> On Monday 15 January 2024 at 11:23:50 UTC-5 Tom -KQ5S wrote:
>>>>>> I was using one of the beta versions of weewx and all was fine.   I just 
>>>>>> updated using the poip update command and am now getting this error..  
>>>>>> Wssearchlist.py is the Search List Extension support for WeeWX-Saratoga. 
>>>>>>  Maybe Gary can answer.
>>>>>> an 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine: 
>>>>>> Caught unrecoverable exception in generator 
>>>>>> 'weewx.cheetahgenerator.CheetahGenerator'
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****  module 'weewx.units' has no attribute 'UnknownType'
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****  Traceback (most recent call last):
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****    File 
>>>>>> "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/reportengine.py",
>>>>>>  line 207, in run
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****      obj.start()
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****    File 
>>>>>> "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/reportengine.py",
>>>>>>  line 399, in start
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****      self.run()
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****    File 
>>>>>> "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/cheetahgenerator.py",
>>>>>>  line 166, in run
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****      ngen = self.generate(gen_dict[section_name], 
>>>>>> section_name, self.gen_ts)
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****             
>>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****    File 
>>>>>> "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/cheetahgenerator.py",
>>>>>>  line 226, in generate
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****      ngen += self.generate(section[subsection], subsection, 
>>>>>> gen_ts)
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****              
>>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****    File 
>>>>>> "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/cheetahgenerator.py",
>>>>>>  line 226, in generate
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****      ngen += self.generate(section[subsection], subsection, 
>>>>>> gen_ts)
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****              
>>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****    File 
>>>>>> "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/cheetahgenerator.py",
>>>>>>  line 309, in generate
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****      searchList = self._getSearchList(encoding, timespan,
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****    File 
>>>>>> "/home/pi/weewx-venv/lib/python3.11/site-packages/weewx/cheetahgenerator.py",
>>>>>>  line 401, in _getSearchList
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****      search_list += obj.get_extension_list(timespan, db_lookup)
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****    File "/home/pi/weewx-data/bin/user/wssearchlist.py", line 
>>>>>> 1569, in get_extension_list
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****      if not isinstance(temp_vt, weewx.units.UnknownType):
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****                                 ^^^^^^^^^^^^^^^^^^^^^^^
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****  AttributeError: module 'weewx.units' has no attribute 
>>>>>> 'UnknownType'
>>>>>> Jan 15 10:20:18 raspberrypi weewxd[328037]: ERROR weewx.reportengine:    
>>>>>>      ****  Generator terminated
>>>>> 
>>>>> 
>>>> 
>>>>> -- 
>>>>> 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/6723383d-625e-4d9b-832a-76ab72099f7bn%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/6723383d-625e-4d9b-832a-76ab72099f7bn%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 
> <mailto:weewx-user+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/8799a46d-8738-4e5d-a328-3bbd0d29e4a9n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/8799a46d-8738-4e5d-a328-3bbd0d29e4a9n%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/CA419722-ECDC-4765-943F-B184C9B09B23%40gmail.com.

Reply via email to