Thank you. Problem resolved!

Il giorno martedì 27 marzo 2018 14:27:07 UTC+2, [email protected] ha 
scritto:
>
> Mar 27 13:50:04 raspberrypi weewx[554]: engine: Main loop exiting. 
> Shutting engine down.
> Mar 27 13:50:04 raspberrypi weewx[554]: restx: Shut down AWEKAS thread.
> Mar 27 13:50:04 raspberrypi weewx[554]: restx: Shut down Wunderground-PWS 
> thread.
> Mar 27 13:50:04 raspberrypi weewx[554]: restx: Shut down StationRegistry 
> thread.
> Mar 27 13:50:04 raspberrypi weewx[554]: engine: Caught unrecoverable 
> exception in engine:
> Mar 27 13:50:04 raspberrypi weewx[554]:     ****  Unit system of incoming 
> record (0x10) differs from 'archive' table in 'weewx.sdb' database (0x01)
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****  Traceback (most recent 
> call last):
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 847, in main
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****      engine.run()
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 158, in run
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****      
> self.dispatchEvent(weewx.Event(weewx.STARTUP))
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 222, in dispatchEvent
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****      callback(event)
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 501, in startup
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****      
> self._catchup(self.engine.console.genStartupRecords)
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 606, in _catchup
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****      origin='hardware'))
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 222, in dispatchEvent
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****      callback(event)
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 577, in new_archive_record
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****      
> dbmanager.addRecord(event.record)
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****    File 
> "/usr/share/weewx/weewx/manager.py", line 235, in addRecord
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****      
> self._addSingleRecord(record, cursor, log_level)
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****    File 
> "/usr/share/weewx/weewx/manager.py", line 1147, in _addSingleRecord
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****      
> super(DaySummaryManager, self)._addSingleRecord(record, cursor, 
> log_level=log_level)
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****    File 
> "/usr/share/weewx/weewx/manager.py", line 258, in _addSingleRecord
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****      
> self._check_unit_system(record['usUnits'])
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****    File 
> "/usr/share/weewx/weewx/manager.py", line 640, in _check_unit_system
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****      
> self.std_unit_system))
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****  UnitError: Unit system 
> of incoming record (0x10) differs from 'archive' table in 'weewx.sdb' 
> database (0x01)
> Mar 27 13:50:05 raspberrypi weewx[554]:     ****  Exiting.
>
>
>
>
> I don't understand the problem...
>
> Thank you.
>

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