Hi

I have weewx v2.6.4 running on an older Raspberry Pi and I'm preparing a 
new Raspberry Pi to use which has weewx v3.6.2.

I tried backing up the weewx database from the old Pi and loading it on to 
the new one, but I got an error (see below) when loading weewx.

Is it because the newer weewx version deals with the database differently? 
If so, is there a way to convert the older database so it works with the 
newer weewx?

Thanks!


Nov 21 22:19:42 gosigweather weewx[3377]: engine: Caught unrecoverable 
exception in engine:
Nov 21 22:19:42 gosigweather weewx[3377]:     ****  unsupported operand 
type(s) for +=: 'float' and 'unicode'
Nov 21 22:19:42 gosigweather weewx[3377]:     ****  Traceback (most recent 
call last):
Nov 21 22:19:42 gosigweather weewx[3377]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 841, in main
Nov 21 22:19:42 gosigweather weewx[3377]:     ****      engine = 
engine_class(config_dict)
Nov 21 22:19:42 gosigweather weewx[3377]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 76, in __init__
Nov 21 22:19:42 gosigweather weewx[3377]:     ****      
self.loadServices(config_dict)
Nov 21 22:19:42 gosigweather weewx[3377]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 140, in loadServices
Nov 21 22:19:42 gosigweather weewx[3377]:     ****      
self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
Nov 21 22:19:42 gosigweather weewx[3377]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 486, in __init__
Nov 21 22:19:42 gosigweather weewx[3377]:     ****      
self.setup_database(config_dict)
Nov 21 22:19:42 gosigweather weewx[3377]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 588, in setup_database
Nov 21 22:19:42 gosigweather weewx[3377]:     ****      _nrecs, _ndays = 
dbmanager.backfill_day_summary() # @UnusedVariable
Nov 21 22:19:42 gosigweather weewx[3377]:     ****    File 
"/usr/share/weewx/weewx/manager.py", line 1374, in backfill_day_summary
Nov 21 22:19:42 gosigweather weewx[3377]:     ****      
_day_accum.addRecord(_rec)
Nov 21 22:19:42 gosigweather weewx[3377]:     ****    File 
"/usr/share/weewx/weewx/accum.py", line 240, in addRecord
Nov 21 22:19:42 gosigweather weewx[3377]:     ****      func(self, record, 
obs_type, add_hilo)
Nov 21 22:19:42 gosigweather weewx[3377]:     ****    File 
"/usr/share/weewx/weewx/accum.py", line 310, in add_value
Nov 21 22:19:42 gosigweather weewx[3377]:     ****      
self[obs_type].addSum(val)
Nov 21 22:19:42 gosigweather weewx[3377]:     ****    File 
"/usr/share/weewx/weewx/accum.py", line 87, in addSum
Nov 21 22:19:42 gosigweather weewx[3377]:     ****      self.sum     += val
Nov 21 22:19:42 gosigweather weewx[3377]:     ****  TypeError: unsupported 
operand type(s) for +=: 'float' and 'unicode'
Nov 21 22:19:42 gosigweather weewx[3377]:     ****  Exiting.

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