hi folks,
never change an running system they said, i did and having troubles now.
problem: after updating, weewx runs for about 3 days and hangs up. tried to
restart, stop/start. this is the debug output:
Jun 20 08:32:57 wetterraspi systemd[1]: Starting LSB: weewx weather
system...
Jun 20 08:32:58 wetterraspi weewx[17050]: engine: Initializing weewx
version 3.9.1
Jun 20 08:32:58 wetterraspi weewx[17050]: engine: Using Python 2.7.9
(default, Sep 17 2016, 20:26:04) #012[GCC 4.9.2]
Jun 20 08:32:58 wetterraspi weewx[17050]: engine: Platform
Linux-4.9.35-v7+-armv7l-with-debian-8.0
Jun 20 08:32:58 wetterraspi weewx[17050]: engine: Locale is 'de_AT.UTF-8'
Jun 20 08:32:58 wetterraspi weewx[17050]: engine: pid file is
/var/run/weewx.pid
Jun 20 08:32:58 wetterraspi weewx[17040]: Starting weewx weather system:
weewx.
Jun 20 08:32:58 wetterraspi systemd[1]: Started LSB: weewx weather system.
Jun 20 08:32:58 wetterraspi weewx[17054]: engine: Using configuration file
/etc/weewx/weewx.conf
Jun 20 08:32:58 wetterraspi weewx[17054]: engine: Loading station type
Vantage (weewx.drivers.vantage)
Jun 20 08:33:02 wetterraspi weewx[17054]: engine: Caught unrecoverable
exception in engine:
Jun 20 08:33:02 wetterraspi weewx[17054]: **** Empty module name
Jun 20 08:33:02 wetterraspi weewx[17054]: **** Traceback (most recent
call last):
Jun 20 08:33:02 wetterraspi weewx[17054]: **** File
"/usr/share/weewx/weewx/engine.py", line 884, in main
Jun 20 08:33:02 wetterraspi weewx[17054]: **** engine =
engine_class(config_dict)
Jun 20 08:33:02 wetterraspi weewx[17054]: **** File
"/usr/share/weewx/weewx/engine.py", line 78, in __init__
Jun 20 08:33:02 wetterraspi weewx[17054]: ****
self.loadServices(config_dict)
Jun 20 08:33:02 wetterraspi weewx[17054]: **** File
"/usr/share/weewx/weewx/engine.py", line 142, in loadServices
Jun 20 08:33:02 wetterraspi weewx[17054]: ****
self.service_obj.append(weeutil.weeutil._get_object(svc)(self,
config_dict))
Jun 20 08:33:02 wetterraspi weewx[17054]: **** File
"/usr/share/weewx/weeutil/weeutil.py", line 1130, in _get_object
Jun 20 08:33:02 wetterraspi weewx[17054]: **** mod =
__import__(module)
Jun 20 08:33:02 wetterraspi weewx[17054]: **** ValueError: Empty
module name
Jun 20 08:33:02 wetterraspi weewx[17054]: **** Exiting.
And CONFIG FILE:
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2019 Tom Keffer
# See the file LICENSE.txt for your rights.
##############################################################################
# This section is for general configuration information.
# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 0
# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /
# Whether to log successful operations
log_success = True
# Whether to log unsuccessful operations
log_failure = True
# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20
# Do not modify this. It is used when installing and updating weewx.
version = 3.9.1
##############################################################################
# This section is for information about the station.
[Station]
# Description of the station location
location = "Leobendorf"
# Latitude and longitude in decimal degrees
latitude = 48.xxx
longitude = 16.xxx
# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 190 meter
# Set to type of station hardware. There must be a corresponding stanza
# in this file with a 'driver' parameter indicating the driver to be
used.
station_type = Vantage
# If you have a website, you may specify an URL
station_url = xxx.xxx.xxx
# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1
# Start of week (0=Monday, 6=Sunday)
week_start = 0
##############################################################################
[Vantage]
# This section is for the Davis Vantage series of weather stations.
# Connection type: serial or ethernet
# serial (the classic VantagePro)
# ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
type = serial
# If the connection type is serial, a port must be specified:
# Debian, Ubuntu, Redhat, Fedora, and SuSE:
# /dev/ttyUSB0 is a common USB port name
# /dev/ttyS0 is a common serial port name
# BSD:
# /dev/cuaU0 is a common serial port name
port = /dev/ttyS0
# If the connection type is ethernet, an IP Address/hostname is
required:
host = 1.2.3.4
######################################################
# The rest of this section rarely needs any attention.
# You can safely leave it "as is."
######################################################
# Serial baud rate (usually 19200)
baudrate = 19200
# TCP port (when using the WeatherLinkIP)
tcp_port = 22222
# TCP send delay (when using the WeatherLinkIP):
tcp_send_delay = 0.5
# The id of your ISS station (usually 1). If you use a wind meter
connected
# to a anemometer transmitter kit, use its id
iss_id = 3
# How long to wait for a response from the station before giving up (in
# seconds; must be greater than 2)
timeout = 4
# How long to wait before trying again (in seconds)
wait_before_retry = 1.2
# How many times to try before giving up:
max_tries = 4
# Vantage model Type: 1 = Vantage Pro; 2 = Vantage Pro2
model_type = 2
# The driver to use:
driver = weewx.drivers.vantage
##############################################################################
if have anonymized lat/long and station url. so normally instead of xxx
there are numbes and characters.
i really have no clue, why weewx stops.
any help is highly appreciated.
greetings from austria,
michael
--
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/374cabcf-1597-4bd4-9e80-8bcb743d2934%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.