weewxd[22586]: LOOP: 2020-05-09 01:54:10 PDT (1589014450) altimeter: 29.9989454584283, appTemp: 54.97090145017383, barometer: 29.992, beaufort: 0, cloudbase: 2556.1648670782447, consBatter>etc
weewxd[22586]: LOOP: 2020-05-09 01:54:12 PDT (1589014452) altimeter: 29.9989454584283, appTemp: 54.97090145017383, barometer: 29.992, beaufort: 0, cloudbase: 2556.1648670782447, consBatter>etc
python[22586]: weewx[22586] INFO __main__: Received signal TERM (15).
python[22586]: weewx[22586] INFO weewx.engine: Main loop exiting. Shutting engine down.
python[22586]: weewx[22586] INFO weewx.engine: Shutting down StdReport thread
python[22586]: weewx[22586] DEBUG weewx.engine: StdReport thread has been terminated
python[22586]: weewx[22586] DEBUG weewx.restx: Shut down CWOP thread.
python[22586]: weewx[22586] DEBUG weewx.restx: Shut down Wunderground-PWS thread.
python[22586]: weewx[22586] INFO __main__: Terminating weewx version 4.0.0
python[22586]: weewx[22586] INFO __main__: **** Traceback (most recent call last):
python[22586]: weewx[22586] INFO __main__: **** File "/usr/local/bin/weewx/bin/weewxd", line 154, in main
python[22586]: weewx[22586] INFO __main__: **** engine.run()
python[22586]: weewx[22586] INFO __main__: **** File "/usr/local/bin/weewx/bin/weewx/engine.py", line 188, in run
python[22586]: weewx[22586] INFO __main__: **** for packet in self.console.genLoopPackets():
python[22586]: weewx[22586] INFO __main__: **** File "/usr/local/bin/weewx/bin/weewx/drivers/vantage.py", line 532, in genLoopPackets
python[22586]: weewx[22586] INFO __main__: **** for _loop_packet in self.genDavisLoopPackets(200):
python[22586]: weewx[22586] INFO __main__: **** File "/usr/local/bin/weewx/bin/weewx/drivers/vantage.py", line 559, in genDavisLoopPackets
python[22586]: weewx[22586] INFO __main__: **** loop_packet = self._get_packet()
python[22586]: weewx[22586] INFO __main__: **** File "/usr/local/bin/weewx/bin/weewx/drivers/vantage.py", line 572, in _get_packet
python[22586]: weewx[22586] INFO __main__: **** _buffer = self.port.read(99)
python[22586]: weewx[22586] INFO __main__: **** File "/usr/local/bin/weewx/bin/weewx/drivers/vantage.py", line 279, in read
python[22586]: weewx[22586] INFO __main__: **** _buffer = self.serial_port.read(chars)
python[22586]: weewx[22586] INFO __main__: **** File "/usr/lib/python3.8/site-packages/serial/serialposix.py", line 482, in read
python[22586]: weewx[22586] INFO __main__: **** ready, _, _ = select.select([self.fd, self.pipe_abort_read_r], [], [], timeout.time_left())
python[22586]: weewx[22586] INFO __main__: **** File "/usr/local/bin/weewx/bin/weewxd", line 257, in sigTERMhandler
python[22586]: weewx[22586] INFO __main__: **** raise Terminate
python[22586]: weewx[22586] INFO __main__: **** Terminate
weewxd[22586]: LOOP: 2020-05-09 01:54:14 PDT (1589014454) altimeter: 29.9989454584283, appTemp: 54.97090145017383, barometer: 29.992, beaufort: 0, cloudbase: 2556.1648670782447, consBatter>etc
Gary
Not sure I see an error there, just a copy of the stack trace.
On May 9, 2020, at 7:45 AM, Vince Skahan <vince...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/318d8403-2a3d-4a00-a302-bc1b44ccfcbe%40googlegroups.com.
I agree, that it's ugly. A normal shutdown should not have a stacktrace. But wouldn't a simple fix be:
On May 9, 2020, at 10:36 AM, Bill Richter <bill.g...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/b11c4670-f8e8-4bd6-aac4-17be3110f267%40googlegroups.com.
I can’t figure out why you care about this. It does reveal what was happening on the thread when WeeWX was shut down. While usually not interesting, sometimes it might be useful.
--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/2b126fee-159c-450a-a22d-81f876103903%40googlegroups.com.