Oh, the ultimeter isn't supported on Python 3 and ver 4 weewx ?
Is that what your saying?
Oh, had not planned on that.
I found some sort of error in my template, which I've kind of resolved.
But the Ultimeter driver... not sure on this one.
Thanks
Chris

On Friday, 9 April 2021 at 15:20:41 UTC+1 [email protected] wrote:

> Looks like you switched to Python 3 from Python 2.7 and the driver isn't 
> compatible, based on the error message.
>
> On Fri, Apr 9, 2021 at 6:56 AM Chris Thompstone <[email protected]> 
> wrote:
>
>> Hi Guys,
>> I have been trying to upgrade to version 4 since my Pi decided to throw a 
>> strop.
>> Anyway, it's been fairly hardwork.
>>
>> I have this message continuous in the logs:
>> DEBUG weewx.drivers.ultimeter: Decode failed for '----': invalid literal 
>> for int() with base 16: '----'
>> just coming every 1s or so.
>>
>> I also have some other issue which I can't seem to find:
>> ERROR weewx.cheetahgenerator: Generate failed with exception '<class 
>> 'TypeError'>'
>> Apr  9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: **** 
>> Ignoring template /home/weewx/skins/Standard/index.html.tmpl
>> Apr  9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: **** 
>> Reason: '>' not supported between instances of 'NoneType' and 'float'
>> Apr  9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: ****  
>> Traceback (most recent call last):
>> Apr  9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: ****    
>> File "/home/weewx/bin/weewx/cheetahgenerator.py", line 326, in generate
>> Apr  9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: ****      
>> unicode_string = compiled_template.respond()
>> Apr  9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: ****    
>> File "_home_weewx_skins_Standard_index_html_tmpl.py", line 1378, in respond
>> Apr  9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: ****  
>> TypeError: '>' not supported between instances of 'NoneType' and 'float'
>>
>> My wind vein has blown off the roof, so wind direction and speed are 
>> probably both None.
>> Whether this is something to do with it I don't know, but I can't get the 
>> index template generated.
>> Thanks
>> Chris
>>
>> -- 
>> 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/dd2cd2fd-515b-47b3-a8c5-cb1692508eb8n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/dd2cd2fd-515b-47b3-a8c5-cb1692508eb8n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Peter Quinn
> (415)794-2264 <(415)%20794-2264>
>

-- 
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/c4ef6c55-ddee-4c9e-a7d6-23cc1f5beb2an%40googlegroups.com.

Reply via email to