chaunceygardiner / weewx-nws

A WeeWX extension for NWS forecasts.
GNU General Public License v3.0
5 stars 1 forks source link

Errors on Versions above 1.5 #3

Closed dshanske closed 2 years ago

dshanske commented 2 years ago

Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: Caught unrecoverable exception: Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: Unknown boolean specifier: 'None'. Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: Traceback (most recent call last): Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: File "/usr/share/weewx/weewxd", line 147, in main Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: engine = weewx.engine.StdEngine(config_dict) Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: File "/usr/share/weewx/weewx/engine.py", line 93, in init Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: self.loadServices(config_dict) Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: obj = weeutil.weeutil.get_object(svc)(self, config_dict) Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: File "/usr/share/weewx/user/nws.py", line 214, in init Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: enable = to_bool(rsync_spec_dict.get('enable')), Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: File "/usr/share/weewx/weeutil/weeutil.py", line 1307, in tobool Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: raise ValueError("Unknown boolean specifier: '%s'." % x) Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: ValueError: Unknown boolean specifier: 'None'. Feb 12 00:37:48 backend python3[22095]: weewx[22095] CRITICAL main: Exiting.

Any advice on this?

chaunceygardiner commented 2 years ago

Yes, until I fix this, add the following at the end of the [NWS] section in weewx.conf

[[RsyncSpec]]                                                                                                      
    enable = false 
chaunceygardiner commented 2 years ago

Oops, there are other booleans I have to fix. I’ll have a new version shortly. Hang on.

chaunceygardiner commented 2 years ago

I just published v1.9 to fix this. Please give it a try.

chaunceygardiner commented 2 years ago

Please reopen if you still have an issue.