To report another thing, I saw this in the system log when I stopped weewx. 

weewx[178]: engine: Received signal TERM (15).
weewx[178]: engine: Main loop exiting. Shutting engine down.
weewx[178]: engine: Shutting down StdReport thread
weewx[178]: engine: StdReport thread has been terminated
systemd[1]: Stopping weewx...
weewx[178]: restx: Shut down WeatherCloud thread.
weewx[178]: restx: Shut down PWSWeather thread.
weewx[178]: restx: Shut down Wunderground-PWS thread.
weewx[178]: restx: Shut down StationRegistry thread.
weewx[178]: ws28xx: MainThread: stopRFThread: waiting for RF thread to 
terminate
weewx[178]: ws28xx: RFComm: stopping rf communication
weewx[178]: ws28xx: MainThread: releasing USB interface
weewx[178]: engine: Terminating weewx version 3.9.0b2
weewx[178]:     ****  Traceback (most recent call last):
weewx[178]:     ****    File "/home/wx39/weewx/bin/weewx/engine.py", line 
888, in main
weewx[178]:     ****      engine.run()
weewx[178]:     ****    File "/home/wx39/weewx/bin/weewx/engine.py", line 
188, in run
weewx[178]:     ****      for packet in self.console.genLoopPackets():
 weewx[178]:     ****    File "/home/wx39/weewx/bin/weewx/drivers/ws28xx.py"
, line 1364, in genLoopPackets
 weewxd[178]: Traceback (most recent call last):
 weewxd[178]:   File "/home/wx39/weewx/bin/weewxd", line 64, in <module>
 weewxd[178]:     weewx.engine.main(options, args)
 weewxd[178]:   File "/home/wx39/weewx/bin/weewx/engine.py", line 888, in 
main
 weewxd[178]:     engine.run()
 weewxd[178]:   File "/home/wx39/weewx/bin/weewx/engine.py", line 188, in 
run
 weewxd[178]:     for packet in self.console.genLoopPackets():
 weewxd[178]:   File "/home/wx39/weewx/bin/weewx/drivers/ws28xx.py", line 
1364, in genLoopPackets
 weewx[178]:     ****      time.sleep(self.polling_interval)
 weewxd[178]:     time.sleep(self.polling_interval)
 weewxd[178]:   File "/home/wx39/weewx/bin/weewx/engine.py", line 806, in 
sigTERMhandler
 weewxd[178]:     raise Terminate
 weewxd[178]: weewx.engine.Terminate
 weewx[178]:     ****    File "/home/wx39/weewx/bin/weewx/engine.py", line 
806, in sigTERMhandler
 weewx[178]:     ****      raise Terminate
 weewx[178]:     ****  Terminate
 systemd[1]: weewx.service: Main process exited, code=exited, status=1/
FAILURE
 systemd[1]: weewx.service: Failed with result 'exit-code'.
 systemd[1]: Stopped weewx.

Then when I used wee_config_database
./wee_database /home/wx39/weewx/weewx.conf --drop-daily
Using configuration file /home/wx39/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 
'archive_sqlite'
Proceeding will delete all your daily summaries from database 'weewx.sdb'
Are you sure you want to proceed (y/n)? y
Dropping daily summary tables from 'weewx.sdb' ...
Daily summary tables dropped from database 'weewx.sdb' in 7.25 seconds
[root@alarmpi bin]# ./wee_database /home/wx39/weewx/weewx.conf 
--rebuild-daily
Using configuration file /home/wx39/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 
'archive_sqlite'
All daily summaries will be rebuilt.
Proceed (y/n)? y
Rebuilding daily summaries in database 'weewx.sdb' ...
 Traceback (most recent call last):e: 2015-04-28 06:15:00 EEST (1430190900)
  File "./wee_database", line 794, in <module>
    main()
  File "./wee_database", line 153, in main
    rebuildDaily(config_dict, db_binding, options)
  File "./wee_database", line 263, in rebuildDaily
    trans_days=20)
  File "/home/wx39/weewx/bin/weewx/manager.py", line 1469, in 
backfill_day_summary
    weight = self._calc_weight(rec)
  File "/home/wx39/weewx/bin/weewx/manager.py", line 1582, in _calc_weight
    raise ValueError("Non-positive value for record field 'interval': %s" % 
(record['interval'], ))
ValueError: Non-positive value for record field 'interval': -4




-- 
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.

Reply via email to