Same - but different. :/

/Martin

fredag den 15. november 2019 kl. 21.01.40 UTC+1 skrev Thomas Keffer:
>
> That is very odd. Let's try this again, but this time with the import at 
> the top of the file.
>
> -tk
>
> On Fri, Nov 15, 2019 at 11:32 AM Martin Nielsen <mart...@gmail.com 
> <javascript:>> wrote:
>
>> Hi Thomas.
>>
>> Log attached.
>>
>> But I think something is wrong.. "import syslog" is written as output !?
>>
>> /Martin
>>
>> onsdag den 13. november 2019 kl. 23.58.04 UTC+1 skrev Thomas Keffer:
>>>
>>> Hello, Martin
>>>
>>> Not exactly sure what's going on here. Could you please replace your 
>>> copy of accum.py with the attached? It has been instrumented to give more 
>>> information about the error.
>>>
>>> You can find it at /usr/share/weewx/weewx/accum.py.
>>>
>>> -tk
>>>
>>> On Wed, Nov 13, 2019 at 12:01 PM Martin Nielsen <mart...@gmail.com> 
>>> wrote:
>>>
>>>> Hi
>>>>
>>>> My weewx shuts down shortly after every midnight. It began immediately 
>>>> after DST changed a few weeks back. But this could just be a coincidence.
>>>>
>>>> I have monit running to kick if back to action but it is annoying me - 
>>>> and i have been unable to figure out what is going on..
>>>>
>>>> I am running davis vantage pro2 iss with a metostick driver on 
>>>> raspberry pi.
>>>>
>>>> Weewx is installed from a deb repository.
>>>>
>>>>
>>>> -- 
>>>> 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...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/1521f01d-64fa-44c2-aaa9-50a51821fa8c%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/1521f01d-64fa-44c2-aaa9-50a51821fa8c%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...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/e3972fbc-e08d-47b9-86ca-90d48a7e6861%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/e3972fbc-e08d-47b9-86ca-90d48a7e6861%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/72521972-3b67-4dee-80e9-0c4bb4b6bbdc%40googlegroups.com.
Nov 16 00:00:19 raspberrypi rsyslogd:  [origin software="rsyslogd" 
swVersion="8.1901.0" x-pid="369" x-info="https://www.rsyslog.com";] rsyslogd was 
HUPed
Nov 16 00:00:19 raspberrypi systemd[1]: logrotate.service: Succeeded.
Nov 16 00:00:19 raspberrypi systemd[1]: Started Rotate log files.
Nov 16 00:00:20 raspberrypi systemd[1]: man-db.service: Succeeded.
Nov 16 00:00:20 raspberrypi systemd[1]: Started Daily man-db regeneration.
Nov 16 00:00:29 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:00:39 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:00:49 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:00:59 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:01:10 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:01:20 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:01:30 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:01:40 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:01:51 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:02:01 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:02:11 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:02:21 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:02:32 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:02:42 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:02:52 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:03:02 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:03:13 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:03:23 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:03:33 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:03:43 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:03:54 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:04:04 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:04:14 raspberrypi weewx[4924]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:04:14 raspberrypi weewx[4924]: meteostick: data['rxCheckPercent']: 99
Nov 16 00:04:14 raspberrypi weewx[4924]: meteostick: RF summary: 
rf_sensitivity=90 (values in dB)
Nov 16 00:04:14 raspberrypi weewx[4924]: meteostick: Station           max   
min   avg   last  count [missed] [good]
Nov 16 00:04:14 raspberrypi weewx[4924]: meteostick: iss               -79   
-84   -81   -80   181       2      99   
Nov 16 00:04:14 raspberrypi weewx[4924]: Attempt to merge an accumulator whose 
timespan is not a subset
Nov 16 00:04:14 raspberrypi weewx[4924]: engine: Main loop exiting. Shutting 
engine down.
Nov 16 00:04:14 raspberrypi weewx[4924]: restx: Shut down Wunderground-PWS 
thread.
Nov 16 00:04:14 raspberrypi weewx[4924]: engine: Caught unrecoverable exception 
in engine:
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****  not all arguments converted 
during string formatting
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****  Traceback (most recent call 
last):
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 894, in main
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****      engine.run()
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 202, in run
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****      
self.dispatchEvent(weewx.Event(weewx.POST_LOOP))
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****      callback(event)
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 582, in post_loop
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****      self._software_catchup()
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 646, in _software_catchup
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****      
self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD, record=record, 
origin='software'))
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****      callback(event)
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 601, in new_archive_record
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****      
dbmanager.addRecord(event.record, accumulator=self.old_accumulator)
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****    File 
"/usr/share/weewx/weewx/manager.py", line 243, in addRecord
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****      
self._updateHiLo(accumulator, cursor)
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****    File 
"/usr/share/weewx/weewx/manager.py", line 1231, in _updateHiLo
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****      
_stats_dict.updateHiLo(accumulator)
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****    File 
"/usr/share/weewx/weewx/accum.py", line 267, in updateHiLo
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****      
syslog.syslog(syslog.LOG_ERR, "My accumulator: %s" % self.timespan)
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****  TypeError: not all arguments 
converted during string formatting
Nov 16 00:04:14 raspberrypi weewx[4924]:     ****  Exiting.
Nov 16 00:04:52 raspberrypi systemd[1]: Stopping LSB: weewx weather system...
Nov 16 00:04:52 raspberrypi weewx[5361]: Stopping weewx weather system: weewx 
not running....
Nov 16 00:04:52 raspberrypi systemd[1]: weewx.service: Succeeded.
Nov 16 00:04:52 raspberrypi systemd[1]: Stopped LSB: weewx weather system.
Nov 16 00:04:52 raspberrypi systemd[1]: Starting LSB: weewx weather system...
Nov 16 00:04:52 raspberrypi weewx[5381]: engine: Initializing weewx version 
3.9.2
Nov 16 00:04:52 raspberrypi weewx[5381]: engine: Using Python 2.7.16 (default, 
Apr  6 2019, 01:42:57) #012[GCC 8.2.0]
Nov 16 00:04:52 raspberrypi weewx[5381]: engine: Platform 
Linux-4.19.75-v7l+-armv7l-with-debian-10.1
Nov 16 00:04:52 raspberrypi weewx[5381]: engine: Locale is 'da_DK.UTF-8'
Nov 16 00:04:52 raspberrypi weewx[5381]: engine: pid file is /var/run/weewx.pid
Nov 16 00:04:52 raspberrypi weewx[5385]: engine: Using configuration file 
/etc/weewx/weewx.conf
Nov 16 00:04:52 raspberrypi weewx[5385]: engine: Debug is 1
Nov 16 00:04:52 raspberrypi weewx[5385]: engine: Initializing engine
Nov 16 00:04:52 raspberrypi weewx[5385]: engine: Loading station type 
Meteostick (user.meteostick)
Nov 16 00:04:52 raspberrypi weewx[5371]: Starting weewx weather system: weewx.
Nov 16 00:04:52 raspberrypi systemd[1]: Started LSB: weewx weather system.
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: driver version is 0.61
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: using rain_bucket_type 1
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: sensor map is: 
{'leafWet2': 'leaf_wetness_2', 'outHumidity': 'humidity', 'extraHumid1': 
'humid_1', 'inTempBatteryStatus': 'bat_th_2', 'rainBatteryStatus': 
'bat_leaf_soil', 'windDir': 'wind_dir', 'outTemp': 'temperature', 
'outTempBatteryStatus': 'bat_th_1', 'radiation': 'solar_radiation', 
'windSpeed': 'wind_speed', 'extraTemp3': 'temp_3', 'inTemp': 'temp_in', 
'referenceVoltage': 'solar_power', 'supplyVoltage': 'supercap_volt', 
'soilTemp1': 'soil_temp_1', 'soilTemp2': 'soil_temp_2', 'soilTemp3': 
'soil_temp_3', 'soilTemp4': 'soil_temp_4', 'pressure': 'pressure', 
'extraHumid2': 'humid_2', 'rxCheckPercent': 'pct_good', 'extraTemp2': 'temp_2', 
'leafTemp2': 'leaf_temp_2', 'leafTemp1': 'leaf_temp_1', 'extraTemp1': 'temp_1', 
'leafWet1': 'leaf_wetness_1', 'txBatteryStatus': 'bat_iss', 
'windBatteryStatus': 'bat_anemometer', 'UV': 'uv', 'soilMoist3': 
'soil_moisture_3', 'soilMoist2': 'soil_moisture_2', 'soilMoist1': 
'soil_moisture_1', 'inHumidity': 'humidity_in', 'soilMoist4': 'soil_moisture_4'}
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: using serial port 
/dev/ttyUSB0
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: using baudrate 115200
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: using frequency EU
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: using rf sensitivity 90 
(-90 dB)
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: using iss_channel 1
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: using anemometer_channel 0
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: using leaf_soil_channel 0
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: using temp_hum_1_channel 0
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: using temp_hum_2_channel 0
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: using transmitters 01
Nov 16 00:04:52 raspberrypi weewx[5385]: meteostick: establish communication 
with the meteostick
Nov 16 00:04:54 raspberrypi weewx[5385]: meteostick: reset: 
Nov 16 00:04:54 raspberrypi weewx[5385]: meteostick: configure meteostick to 
logger mode
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Loading service 
weewx.engine.StdTimeSynch
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Finished loading service 
weewx.engine.StdTimeSynch
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Loading service 
weewx.engine.StdConvert
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: StdConvert target unit is 0x1
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Finished loading service 
weewx.engine.StdConvert
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Loading service 
weewx.engine.StdCalibrate
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Finished loading service 
weewx.engine.StdCalibrate
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Loading service 
weewx.engine.StdQC
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Finished loading service 
weewx.engine.StdQC
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Loading service 
weewx.wxservices.StdWXCalculate
Nov 16 00:04:56 raspberrypi weewx[5385]: wxcalculate: The following values will 
be calculated: barometer=prefer_hardware, windchill=prefer_hardware, 
dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, 
windrun=prefer_hardware, heatindex=prefer_hardware, 
maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, 
inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, 
cloudbase=prefer_hardware
Nov 16 00:04:56 raspberrypi weewx[5385]: wxcalculate: The following algorithms 
will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Finished loading service 
weewx.wxservices.StdWXCalculate
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Loading service 
weewx.engine.StdArchive
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Archive will use data binding 
wx_binding
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Record generation will be 
attempted in 'hardware'
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Using archive interval of 480 
seconds (specified in weewx configuration)
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Use LOOP data in hi/low 
calculations: 1
Nov 16 00:04:56 raspberrypi weewx[5385]: manager: Daily summary version is 2.0
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Using binding 'wx_binding' to 
database 'weewx.sdb'
Nov 16 00:04:56 raspberrypi weewx[5385]: manager: Starting backfill of daily 
summaries
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Finished loading service 
weewx.engine.StdArchive
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Loading service 
weewx.restx.StdWunderground
Nov 16 00:04:56 raspberrypi weewx[5385]: restx: WU essentials: {}
Nov 16 00:04:56 raspberrypi weewx[5385]: restx: Wunderground-PWS: Data for 
station ICENTRAL93 will be posted
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Finished loading service 
weewx.restx.StdWunderground
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Loading service 
weewx.engine.StdPrint
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Finished loading service 
weewx.engine.StdPrint
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Starting up weewx version 3.9.2
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Station does not support 
reading the time
Nov 16 00:04:56 raspberrypi weewx[5385]: engine: Starting main packet loop.
Nov 16 00:04:56 raspberrypi weewx[5385]: manager: Daily summary version is 2.0
Nov 16 00:04:56 raspberrypi weewx[5385]: meteostick: # chip authentication ok: 
14
Nov 16 00:04:56 raspberrypi weewx[5385]: meteostick: # frequency band 868MHz 
(EU)
Nov 16 00:05:16 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:05:26 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:05:36 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:05:46 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:05:57 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:06:07 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:06:17 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:06:27 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:06:38 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:06:48 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:06:58 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:07:08 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:07:19 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:07:29 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:07:39 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:07:49 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:08:00 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:08:10 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:08:20 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:08:30 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:08:41 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:08:51 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:09:01 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:09:11 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:09:22 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 00:09:32 raspberrypi weewx[5385]: meteostick: rain=0.0 rain_count=0 
last_rain_count=76
Nov 16 0

Reply via email to