I assume you are running Python 3 (from the error). What version of forecast are you running? Exactly where did you get it from?
> On Jun 20, 2021, at 9:17 AM, Mark Fraser <[email protected]> wrote: > > > Encountered this error this afternoon, the only extension I had installed > previous to this was forecast. > > This is on a Raspberry Pi running Raspbian Buster. Weewx getting weather data > using weewx-sdr. > > Jun 20 15:25:32 weathercam weewx[3515] INFO weewx.engine: Main loop exiting. > Shutting engine down. > Jun 20 15:25:32 weathercam weewx[3515] INFO weewx.engine: Shutting down > StdReport thread > Jun 20 15:25:32 weathercam weewx[3515] INFO user.sdr: shutdown process > rtl_433 -M utc -F json > Jun 20 15:25:42 weathercam weewx[3515] INFO user.sdr: timed out waiting for > stdout-thread > Jun 20 15:25:52 weathercam weewx[3515] INFO user.sdr: timed out waiting for > stderr-thread > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: Caught > unrecoverable exception: > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** '>' not > supported between instances of 'float' and 'NoneType' > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** Traceback > (most recent call last): > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 214, in run > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** > self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet)) > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** > callback(event) > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 624, in check_loop > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** raise > BreakLoop > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** > weewx.engine.BreakLoop > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** During > handling of the above exception, another exception occurred: > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** Traceback > (most recent call last): > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** File > "/usr/share/weewx/weewxd", line 157, in main > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** > engine.run() > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 221, in run > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** > self.dispatchEvent(weewx.Event(weewx.POST_LOOP)) > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** > callback(event) > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 634, in post_loop > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** > self._software_catchup() > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 707, in _software_catchup > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** > origin='software')) > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** File > "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** > callback(event) > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** File > "/usr/share/weewx/user/forecast.py", line 1212, in update_forecast > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** elif > time.time() - self.interval > self.last_ts: > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** > TypeError: '>' not supported between instances of 'float' and 'NoneType' > Jun 20 15:30:18 weathercam weewx[3515] CRITICAL __main__: **** Exiting. > Jun 20 15:30:18 weathercam systemd[1]: weewx.service: Main process exited, > code=exited, status=1/FAILURE > Jun 20 15:30:18 weathercam systemd[1]: weewx.service: Failed with result > 'exit-code'. > -- > 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/7078adcc-8e62-4239-ac43-f794c7392d60n%40googlegroups.com. -- 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/A709336E-6000-4C60-BAD1-78EEE798B28A%40johnkline.com.
