Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weewx Died This Morning #31

Closed
Overcon opened this issue Sep 30, 2021 · 3 comments
Closed

Weewx Died This Morning #31

Overcon opened this issue Sep 30, 2021 · 3 comments

Comments

@Overcon
Copy link

Overcon commented Sep 30, 2021

I am not sure what is happening, but this morning, it seems Weewx stopped working. I can reboot and it works for a little bit, then stops working. Here is the log excerpt.

This is the log after a reboot.

Sep 30 14:48:14 weewx-pi systemd[1]: Finished Update UTMP about System Runlevel Changes.
Sep 30 14:48:15 weewx-pi cloud-init[1985]: Cloud-init v. 21.2-3-g899bfaa9-0ubuntu220.04.1 running 'modules:final' at Thu, 30 Sep 2021 20:48:15 +0000. Up 56.14 seconds.
Sep 30 14:48:15 weewx-pi cloud-init[1985]: Cloud-init v. 21.2-3-g899bfaa9-0ubuntu2
20.04.1 finished at Thu, 30 Sep 2021 20:48:15 +0000. Datasource DataSourceNone. Up 56.49 seconds
Sep 30 14:48:15 weewx-pi cloud-init[1985]: 2021-09-30 20:48:15,466 - cc_final_message.py[WARNING]: Used fallback datasource
Sep 30 14:48:15 weewx-pi systemd[1]: Finished Execute cloud user/final scripts.
Sep 30 14:48:15 weewx-pi systemd[1]: Reached target Cloud-init target.
Sep 30 14:48:15 weewx-pi systemd[1]: Startup finished in 9.642s (kernel) + 46.957s (userspace) = 56.599s.
Sep 30 14:48:23 weewx-pi weewx[867] DEBUG user.gw1000: Next update in 20 seconds
Sep 30 14:48:23 weewx-pi weewx[867] DEBUG weewx.restx: Wunderground-RF: wait interval (20 < 80) has not passed for record 2021-09-30 14:48:23 MDT (1633034903)
Sep 30 14:48:23 weewx-pi weewx[867] INFO weewx.restx: MQTT: Published record 2021-09-30 14:48:23 MDT (1633034903)
Sep 30 14:48:43 weewx-pi weewx[867] DEBUG user.gw1000: Next update in 20 seconds
Sep 30 14:48:43 weewx-pi weewx[867] DEBUG weewx.restx: Wunderground-RF: wait interval (40 < 80) has not passed for record 2021-09-30 14:48:43 MDT (1633034923)
Sep 30 14:48:43 weewx-pi weewx[867] INFO weewx.restx: MQTT: Published record 2021-09-30 14:48:43 MDT (1633034923)
Sep 30 14:49:03 weewx-pi weewx[867] DEBUG user.gw1000: Next update in 20 seconds
Sep 30 14:49:03 weewx-pi weewx[867] DEBUG weewx.restx: Wunderground-RF: wait interval (60 < 80) has not passed for record 2021-09-30 14:49:03 MDT (1633034943)
Sep 30 14:49:03 weewx-pi weewx[867] INFO weewx.restx: MQTT: Published record 2021-09-30 14:49:03 MDT (1633034943)
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG user.gw1000: Next update in 20 seconds
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG user.aqixtypes: UsEpaAqiXTypes.get_scalar(aqi_pm2_51_24h_avg,,)
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG user.aqixtypes: UsEpaAqiXTypes.get_scalar(aqi_pm2_52_24h_avg,,)
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG user.aqixtypes: UsEpaAqiXTypes.get_scalar 'pm2_52_24h_avg' not in record
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG weewx.wxservices: Unknown extensible type 'aqi_pm2_52_24h_avg'
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG user.aqixtypes: UsEpaAqiXTypes.get_scalar(aqi_pm2_51_instant,,)
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG user.aqixtypes: UsEpaAqiXTypes.get_scalar(aqi_pm2_52_instant,,)
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG user.aqixtypes: UsEpaAqiXTypes.get_scalar 'pm2_52' not in record
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG weewx.wxservices: Unknown extensible type 'aqi_pm2_52_instant'
Sep 30 14:49:23 weewx-pi weewx[867] INFO weewx.engine: Main loop exiting. Shutting engine down.
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG weewx.restx: Shut down WeatherCloud thread.
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG weewx.restx: Shut down OWM thread.
Sep 30 14:49:23 weewx-pi weewx[867] INFO weewx.restx: MQTT: Published record 2021-09-30 14:49:23 MDT (1633034963)
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG weewx.restx: Shut down MQTT thread.
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG weewx.restx: Shut down AWEKAS thread.
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG weewx.restx: Shut down WOW thread.
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG weewx.restx: Shut down CWOP thread.
Sep 30 14:49:23 weewx-pi weewx[867] DEBUG weewx.restx: Shut down PWSWeather thread.
Sep 30 14:49:24 weewx-pi weewx[867] INFO weewx.restx: Wunderground-RF: Published record 2021-09-30 14:49:23 MDT (1633034963)
Sep 30 14:49:24 weewx-pi weewx[867] DEBUG weewx.restx: Shut down Wunderground-RF thread.
Sep 30 14:49:24 weewx-pi weewx[867] DEBUG weewx.restx: Shut down StationRegistry thread.
Sep 30 14:49:24 weewx-pi weewx[867] INFO user.gw1000: Gw1000Collector thread has been terminated
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: Caught unrecoverable exception:
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** unsupported operand type(s) for -: 'NoneType' and 'float'
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** Traceback (most recent call last):
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/weewx/engine.py", line 214, in run
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet))
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/weewx/engine.py", line 245, in dispatchEvent
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** callback(event)
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/weewx/engine.py", line 624, in check_loop
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** raise BreakLoop
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** weewx.engine.BreakLoop
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: ****
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** During handling of the above exception, another exception occurred:
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: ****
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** Traceback (most recent call last):
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/weewx/engine.py", line 640, in post_loop
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** self._catchup(self.engine.console.genArchiveRecords)
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/weewx/engine.py", line 687, in _catchup
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** for record in generator(lastgood_ts):
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/weewx/drivers/init.py", line 30, in genArchiveRecords
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** raise NotImplementedError("Method 'genArchiveRecords' not implemented")
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** NotImplementedError: Method 'genArchiveRecords' not implemented
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: ****
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** During handling of the above exception, another exception occurred:
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: ****
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** Traceback (most recent call last):
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/weewxd", line 157, in main
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** engine.run()
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/weewx/engine.py", line 221, in run
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** self.dispatchEvent(weewx.Event(weewx.POST_LOOP))
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/weewx/engine.py", line 245, in dispatchEvent
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** callback(event)
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/weewx/engine.py", line 642, in post_loop
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** self._software_catchup()
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/weewx/engine.py", line 705, in _software_catchup
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD,
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/weewx/engine.py", line 245, in dispatchEvent
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** callback(event)
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/user/aqi/service.py", line 311, in new_archive_record
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** temp_kelvin = weewx.units.CtoK(weewx.units.FtoC(row['outTemp']))
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** File "/home/weewx/bin/weewx/units.py", line 44, in FtoC
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** return (x - 32.0) * 5.0 / 9.0
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
Sep 30 14:49:24 weewx-pi weewx[867] CRITICAL main: **** Exiting.
Sep 30 15:02:21 weewx-pi systemd[1]: Starting Cleanup of Temporary Directories...
Sep 30 15:02:22 weewx-pi systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Sep 30 15:02:22 weewx-pi systemd[1]: Finished Cleanup of Temporary Directories.
^C

@jonathankoren
Copy link
Owner

jonathankoren commented Sep 30, 2021

What version are you using?

What sensor is this?

This is saying that you don't have an exterior temperature.

This worked until today?

Have you tried disabling weewx-aqi?

@Overcon
Copy link
Author

Overcon commented Sep 30, 2021 via email

@jonathankoren
Copy link
Owner

It's probably 1.3 if you downloaded it recently.

I just pushed 1.4. Try that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants