Should have added, running under python 2.

On Tuesday, 19 November 2019 10:16:31 UTC-5, Rich Bell wrote:
>
> With this in weewx.conf
>
> [ComputerMonitor]
>     max_age = None
>  
> Getting the following error:
> Traceback (most recent call last):
>   File "./bin/weewxd", line 64, in <module>
>     weewx.engine.main(options, args)
>   File "/home/pi/4.0.0b1/bin/weewx/engine.py", line 883, in main
>     engine = StdEngine(config_dict)
>   File "/home/pi/4.0.0b1/bin/weewx/engine.py", line 83, in __init__
>     self.loadServices(config_dict)
>   File "/home/pi/4.0.0b1/bin/weewx/engine.py", line 143, in loadServices
>     obj = weeutil.weeutil.get_object(svc)(self,config_dict)
>   File "/home/pi/4.0.0b1/bin/user/cmon.py", line 667, in __init__
>     self.max_age = weeutil.weeutil.to_int(d.get('max_age', 2592000))
>   File "/home/pi/4.0.0b1/bin/weeutil/weeutil.py", line 1248, in to_int
>     return int(float(x))
> ValueError: could not convert string to float: None
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/f83ba902-a6b4-4352-a0d5-e752090278de%40googlegroups.com.

Reply via email to