Since switching to weewx 3.7.0, when I shut it down with:
sudo /etc/init.d/weewx stop
I get the following error
Mar 13 21:08:24 norge weewx[1421]: engine: Shutting down StdReport thread
Mar 13 21:08:27 norge weewx[1421]: engine: Terminating weewx version 3.7.0
Mar 13 21:08:27 norge python[1421]: detected unhandled Python exception in
'/usr/bin/weewxd'
Further details are emailed to root, specifically:
>From [email protected] Mon Mar 13 21:08:27 2017
Return-Path: <[email protected]>
X-Original-To: root@localhost
Delivered-To: [email protected]
Date: Mon, 13 Mar 2017 21:08:27 -0300
From: [email protected]
To: [email protected]
Subject: [abrt] weewx: engine.py:803:sigTERMhandler:Terminate
User-Agent: Heirloom mailx 12.5 7/5/10
Content-Type: text/plain; charset=us-ascii
Status: R
reason: engine.py:803:sigTERMhandler:Terminate
cmdline: python /usr/bin/weewxd --daemon
--pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
executable: /usr/bin/weewxd
package: weewx-3.7.0-1.rhel
component: weewx
pid: 1421
hostname: norge
count: 1
abrt_version: 2.1.11
analyzer: Python
architecture: x86_64
duphash: 0507bf09ca78614f656b34d9e817f966775325ff
event_log:
kernel: 3.10.0-514.10.2.el7.x86_64
last_occurrence: 1489450107
os_release: CentOS Linux release 7.3.1611 (Core)
pkg_arch: noarch
pkg_epoch: 0
pkg_fingerprint: 50AB AE5F 1530 6A67
pkg_name: weewx
pkg_release: 1.rhel
pkg_vendor: (none)
pkg_version: 3.7.0
runlevel: N 5
time: Mon 13 Mar 2017 09:08:27 PM ADT
type: Python
uid: 0
username: root
uuid: 0507bf09ca78614f656b34d9e817f966775325ff
backtrace:
:engine.py:803:sigTERMhandler:Terminate
:
:Traceback (most recent call last):
: File "/usr/bin/weewxd", line 64, in <module>
: weewx.engine.main(options, args)
: File "/usr/share/weewx/weewx/engine.py", line 880, in main
: engine.run()
: File "/usr/share/weewx/weewx/engine.py", line 187, in run
: for packet in self.console.genLoopPackets():
: File "/usr/share/weewx/weewx/drivers/vantage.py", line 498, in
genLoopPackets
: for _loop_packet in self.genDavisLoopPackets(200):
: File "/usr/share/weewx/weewx/drivers/vantage.py", line 525, in
genDavisLoopPackets
: _buffer = self.port.read(99)
: File "/usr/share/weewx/weewx/drivers/vantage.py", line 255, in read
: _buffer = self.serial_port.read(chars)
: File "build/bdist.linux-x86_64/egg/serial/serialposix.py", line 461, in
read
: ready,_,_ = select.select([self.fd],[],[], self._timeout)
: File "/usr/share/weewx/weewx/engine.py", line 803, in sigTERMhandler
: raise Terminate
:Terminate
:
:Local variables in innermost frame:
:dummy_frame: <frame object at 0x1d35ed0>
:signum: 15
environ:
:LANG=en_CA.UTF-8
:PATH=/sbin:/usr/sbin:/bin:/usr/bin
:PWD=/
:SHLVL=2
:_=/usr/bin/weewxd
machineid:
:systemd=d8c5e2d962e4424da46f0c0b98361c71
:sosreport_uploader-dmidecode=10fedc58d1d8b156718c68f9a41055424491a0b620286874d10da532a4b0df26
os_info:
:NAME="CentOS Linux"
:VERSION="7 (Core)"
:ID="centos"
:ID_LIKE="rhel fedora"
:VERSION_ID="7"
:PRETTY_NAME="CentOS Linux 7 (Core)"
:ANSI_COLOR="0;31"
:CPE_NAME="cpe:/o:centos:centos:7"
:HOME_URL="https://www.centos.org/"
:BUG_REPORT_URL="https://bugs.centos.org/"
:
:CENTOS_MANTISBT_PROJECT="CentOS-7"
:CENTOS_MANTISBT_PROJECT_VERSION="7"
:REDHAT_SUPPORT_PRODUCT="centos"
:REDHAT_SUPPORT_PRODUCT_VERSION="7"
Any thoughts from the Linux gurus? I don't think it's a weewx 3.7.0
problem, although it didn't occur with previous versions. If it's a CentOS
issue, I can follow it up on that side. I'd appreciate any suggestions.
- Paul
--
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].
For more options, visit https://groups.google.com/d/optout.