On 20/06/2021 18:18, John Kline wrote:
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'.

Yes, I'm running Python 3. I installed it be following the instructions here https://github.com/weewx/weewx/wiki/forecasting.

--
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/456e961e-53b6-34f8-867b-d0a6af6062ba%40gmail.com.

Reply via email to