Hi all, Firstly may I apologise if I have not provided enough information. I am on currently on some crazy painkillers for a reasonably severe spinal injury..... but my mental pain is coming from WeeWX not wanting to do its thing.
I recently upgraded to 3.7.1 from 3.6.2. Installation/upgrade has always been performed using RPM downloaded from the weewx.com website. It is installed on 64 bit Fedora 25. Stupidly enough, I did not check that all was okay post upgrade and awoke this morning to find WeeWX not working. I am guessing it is a compatibility issue with data; on a fresh install using the simulator device there was no issue but when reconnecting to the MySQL database with all my historic data is when things go downhill fast. The error I am receiving is: Sep 06 19:51:17 falcon. weewx[17307]: engine: Caught unrecoverable exception in engine: Sep 06 19:51:17 falcon. weewx[17307]: **** 'interval' Sep 06 19:51:17 falcon. weewx[17307]: **** Traceback (most recent call last): Sep 06 19:51:17 falcon. weewx[17307]: **** File "/usr/share/weewx/weewx/engine.py", line 871, in main Sep 06 19:51:17 falcon. weewx[17307]: **** engine.run() Sep 06 19:51:17 falcon. weewx[17307]: **** File "/usr/share/weewx/weewx/engine.py", line 159, in run Sep 06 19:51:17 falcon. weewx[17307]: **** self.dispatchEvent(weewx.Event(weewx.STARTUP)) Sep 06 19:51:17 falcon. weewx[17307]: **** File "/usr/share/weewx/weewx/engine.py", line 223, in dispatchEvent Sep 06 19:51:17 falcon. weewx[17307]: **** callback(event) Sep 06 19:51:17 falcon. weewx[17307]: **** File "/usr/share/weewx/weewx/engine.py", line 508, in startup Sep 06 19:51:17 falcon. weewx[17307]: **** self._catchup(self.engine.console.genStartupRecords) Sep 06 19:51:17 falcon. weewx[17307]: **** File "/usr/share/weewx/weewx/engine.py", line 622, in _catchup Sep 06 19:51:17 falcon. weewx[17307]: **** origin='hardware')) Sep 06 19:51:17 falcon. weewx[17307]: **** File "/usr/share/weewx/weewx/engine.py", line 223, in dispatchEvent Sep 06 19:51:17 falcon. weewx[17307]: **** callback(event) Sep 06 19:51:17 falcon. weewx[17307]: **** File "/usr/share/weewx/weewx/engine.py", line 588, in new_archive_record Sep 06 19:51:17 falcon. weewx[17307]: **** dbmanager.addRecord(event.record, accumulator=self.old_accumulator) Sep 06 19:51:17 falcon. weewx[17307]: **** File "/usr/share/weewx/weewx/manager.py", line 245, in addRecord Sep 06 19:51:17 falcon. weewx[17307]: **** self._addSingleRecord(record, cursor, log_level) Sep 06 19:51:17 falcon. weewx[17307]: **** File "/usr/share/weewx/weewx/manager.py", line 1179, in _addSingleRecord Sep 06 19:51:17 falcon. weewx[17307]: **** _weight = self._calc_weight(record) Sep 06 19:51:17 falcon. weewx[17307]: **** File "/usr/share/weewx/weewx/manager.py", line 1543, in _calc_weight Sep 06 19:51:17 falcon. weewx[17307]: **** weight = 60.0 * record['interval'] if self.version >= '2.0' else 1.0 Sep 06 19:51:17 falcon. weewx[17307]: **** KeyError: 'interval' Sep 06 19:51:17 falcon. weewx[17307]: **** Exiting. Sep 06 19:51:17 falcon. python[17307]: detected unhandled Python exception in '/usr/bin/weewxd' If anyone is able to offer me a solution, suggestions or several new cervical vertebrae it would be greatly appreciated!! :) Kind regards, Damien -- 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.
