Everything is still working normally. For the record, however, I have attached the complete log listing for one of the crashes when it wasn't. At least to me, it gives no more information than the text printed to stderror.
On Monday, August 10, 2020 at 8:57:51 PM UTC-4 tke...@gmail.com wrote: > It may be past the "catch up" phase. > > This would be a lot easier to diagnose with the log... > > On Mon, Aug 10, 2020 at 5:48 PM 'Peter Fletcher' via weewx-user < > weewx...@googlegroups.com> wrote: > >> Now I know I'm insane! >> >> I copied my old conf file, modified the original to disable the user >> code, and confirmed that it worked with weewxd. However, weewx with the >> vanilla conf still crashed as a service. I then stopped the service and >> started it again and it worked! Stopped the service, copied back the >> original conf file, restarted it and it worked without problems!! Go figure! >> >> On Monday, August 10, 2020 at 7:33:10 PM UTC-4, Peter Fletcher wrote: >>> >>> I know that this sounds insane, but my modified (to add some extra data >>> derived from external sensors) weewx installation which has been running >>> for a couple of months now crashes on startup. I stopped weewx to replace a >>> (very) old Vantage Pro 2 ISS, removed the old unit, put the new unit in its >>> place, reconfigured the console to communicate with the new unit, observed >>> that the console was showing valid data, and restarted weewx, which is >>> running on a Pi connected to the console via a MeteoPi. weewx immediately >>> crashes, with the following exception tree, arising from my user 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 weewx-user+...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/49991444-d821-4ca0-b987-7c76be31f7d2o%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/49991444-d821-4ca0-b987-7c76be31f7d2o%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b3be6da5-3971-49fc-963e-804ab76f9b18n%40googlegroups.com.
Aug 10 18:50:00 localhost weewx[1595] INFO __main__: Initializing weewx version 4.1.1 Aug 10 18:50:00 localhost weewx[1595] INFO __main__: Using Python 3.7.3 (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0] Aug 10 18:50:00 localhost weewx[1595] INFO __main__: Platform Linux-5.4.51-v7+-armv7l-with-debian-10.4 Aug 10 18:50:00 localhost weewx[1595] INFO __main__: Locale is 'en_US.UTF-8' Aug 10 18:50:00 localhost weewx[1595] INFO __main__: Using configuration file /etc/weewx/weewx.conf Aug 10 18:50:00 localhost weewx[1595] INFO __main__: Debug is 0 Aug 10 18:50:00 localhost weewx[1595] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage) Aug 10 18:50:00 localhost /weewxd: ArchTH: using /var/tmp/THNow.txt Aug 10 18:50:00 localhost /weewxd: LoopTH: using /var/tmp/THNow.txt Aug 10 18:50:00 localhost weewx[1595] INFO weewx.engine: StdConvert target unit is 0x1 Aug 10 18:50:00 localhost weewx[1595] INFO weewx.wxservices: The following values will be calculated: pressure=prefer_hardware, barometer=prefer_hardware, altimeter=prefer_hardware, windchill=prefer_hardware, heatindex=prefer_hardware, dewpoint=prefer_hardware, inDewpoint=prefer_hardware, rainRate=prefer_hardware, maxSolarRad=prefer_hardware, cloudbase=prefer_hardware, humidex=prefer_hardware, appTemp=prefer_hardware, ET=prefer_hardware, windrun=prefer_hardware Aug 10 18:50:00 localhost weewx[1595] INFO weewx.wxservices: The following algorithms will be used for calculations: altimeter=aaASOS, maxSolarRad=RS Aug 10 18:50:00 localhost weewx[1595] INFO weewx.engine: Archive will use data binding wx_binding Aug 10 18:50:00 localhost weewx[1595] INFO weewx.engine: Record generation will be attempted in 'hardware' Aug 10 18:50:00 localhost weewx[1595] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware) Aug 10 18:50:00 localhost weewx[1595] INFO weewx.restx: StationRegistry: Registration not requested. Aug 10 18:50:00 localhost weewx[1595] INFO weewx.restx: Wunderground: Posting not enabled. Aug 10 18:50:00 localhost weewx[1595] INFO weewx.restx: PWSweather: Posting not enabled. Aug 10 18:50:00 localhost weewx[1595] INFO weewx.restx: CWOP: Posting not enabled. Aug 10 18:50:00 localhost weewx[1595] INFO weewx.restx: WOW: Posting not enabled. Aug 10 18:50:00 localhost weewx[1595] INFO weewx.restx: AWEKAS: Posting not enabled. Aug 10 18:50:00 localhost weewx[1595] INFO __main__: Starting up weewx version 4.1.1 Aug 10 18:50:00 localhost weewx[1595] INFO weewx.engine: Clock error is -15.59 seconds (positive is fast) Aug 10 18:50:00 localhost weewx[1595] INFO weewx.drivers.vantage: Clock set to 2020-08-10 18:50:01 EDT (1597099801) Aug 10 18:50:00 localhost weewx[1595] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb' Aug 10 18:50:00 localhost weewx[1595] INFO weewx.manager: Starting backfill of daily summaries Aug 10 18:50:02 localhost weewx[1595] INFO weewx.engine: Main loop exiting. Shutting engine down. Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: Caught unrecoverable exception: Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** 'inTemp' Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** Traceback (most recent call last): Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** File "/usr/share/weewx/weewxd", line 154, in main Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** engine.run() Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 158, in run Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** self.dispatchEvent(weewx.Event(weewx.STARTUP)) Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** callback(event) Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 530, in startup Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** self._catchup(self.engine.console.genStartupRecords) Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 643, in _catchup Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** origin='hardware')) Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** callback(event) Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** File "/usr/share/weewx/user/NewTH.py", line 19, in read_file Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** event.record['extraTemp1'] = event.record['inTemp'] Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** KeyError: 'inTemp' Aug 10 18:50:02 localhost weewx[1595] CRITICAL __main__: **** Exiting.