Sorry, Debian 9.2, Stretch, fully updated.  I misread /proc/version

On Thursday, November 16, 2017 at 8:56:28 PM UTC-7, Thomas Carlin wrote:
>
> Hey Tom et al.,
>
> I have an issue with Weewx, which has been running well until yesterday.  
> I am running it on Debian 6.3.0-18, fully up to date with a Vantage Pro 2.  
> Weewx was installed through apt-get, and is fully up to date.  I do have 
> several modifications, including adation sensors that I wrote a small 
> driver for, but they have not caused me any issues in the past, and in the 
> event that a sensor is unavailable, fail gracefully.  I have not modified 
> any 'original' scripts, but have added fields to the database, tags, the 
> mentioned driver, and am using the cmon plugin.  I would be happy to 
> provide more details if necessary.
>
> The error in syslog is below.  Please note that this is the first 
> occurrence of this (that I can find in my logs).
>
> Nov 15 19:30:20 Ds-1 weewx[27964]: manager: Added record 2017-11-15 
> 19:30:20 MST (1510799420) to database 'cmon.sdb'
> Nov 15 19:30:20 Ds-1 weewx[27964]: manager: Added record 2017-11-15 
> 19:30:20 MST (1510799420) to daily summary in 'cmon.sdb'
> Nov 15 19:30:20 Ds-1 weewx[27964]: manager: Added record 2017-11-15 
> 19:30:00 MST (1510799400) to database 'weewx.sdb'
> Nov 15 19:30:20 Ds-1 weewx[27964]: engine: Main loop exiting. Shutting 
> engine down.
> Nov 15 19:30:20 Ds-1 weewx[27964]: engine: Shutting down StdReport thread
> Nov 15 19:30:20 Ds-1 weewx[27964]: engine: StdReport thread has been 
> terminated
> Nov 15 19:30:21 Ds-1 weewx[27964]: engine: Caught unrecoverable exception 
> in engine:
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****  unsupported operand type(s) 
> for +=: 'NoneType' and 'float'
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****  Traceback (most recent call 
> last):
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 871, in main
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****      engine.run()
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 201, in run
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****      
> self.dispatchEvent(weewx.Event(weewx.POST_LOOP))
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 223, in dispatchEvent
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****      callback(event)
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 561, in post_loop
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****      self._software_catchup()
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 633, in _software_catchup
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****      
> self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD, 
> record=record, origin='software'))
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 223, in dispatchEvent
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****      callback(event)
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 588, in new_archive_record
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****      
> dbmanager.addRecord(event.record, accumulator=self.old_accumulator)
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****    File 
> "/usr/share/weewx/weewx/manager.py", line 245, in addRecord
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****      
> self._addSingleRecord(record, cursor, log_level)
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****    File 
> "/usr/share/weewx/weewx/manager.py", line 1183, in _addSingleRecord
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****      
> _day_summary.addRecord(record, weight=_weight)
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****    File 
> "/usr/share/weewx/weewx/accum.py", line 242, in addRecord
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****      func(self, record, 
> obs_type, add_hilo, weight)
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****    File 
> "/usr/share/weewx/weewx/accum.py", line 301, in add_value
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****      
> self[obs_type].addSum(val, weight=weight)
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****    File 
> "/usr/share/weewx/weewx/accum.py", line 88, in addSum
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****      self.sum     += val
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****  TypeError: unsupported 
> operand type(s) for +=: 'NoneType' and 'float'
> Nov 15 19:30:21 Ds-1 weewx[27964]:     ****  Exiting.
>
>
> I do have a watchdog on the process that tries to re-launch weewx if it 
> detects that it is not running.  Most recently it crashed at 11:00 A, and 
> the watchdog tried to re-launch every minute until 19:30, when it started 
> successfully, and the system threw the same error every time.  
>
> Do you need any more information from me, and/or is there something else 
> that I can do to help troubleshoot this issue?
>
> Thank you in advance, and thank you for this fantastic software that you 
> have written!
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to