Fixed in commit 178114d
<https://github.com/weewx/weewx/commit/178114d0ba3a235a8f2f6b4a77d21c4f9135a9f0>
.

Thanks, Rich!

-tk

On Tue, Nov 19, 2019 at 7:18 AM Rich Bell <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/weewx-development/f83ba902-a6b4-4352-a0d5-e752090278de%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPq0zEA0BPBRxjphwirf7_FBesDdk3mcuNZpZJLJN_RN2GxN7A%40mail.gmail.com.

Reply via email to