Arreglado
Ya contaba con que podía tardar y por eso lo instalé en la RP3 en vez de la de 512MB pero así todo se atrancaba
A los dos minutos de funcionar el visor del % de rendimiento de la Raspberry bajaba del 25% al 0 % y el log ya daba el error...
pi@raspberrypi:~ $ sudo /etc/init.d/weewx status -l
â— weewx.service - LSB: weewx weather system
Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled)
Active: active (exited) since Sat 2018-01-20 21:05:11 CET; 21min ago
Docs: man:systemd-sysv-generator(8)
Process: 1437 ExecStop=/etc/init.d/weewx stop (code=exited, status=0/SUCCESS)
Process: 1518 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)
Jan 20 21:07:57 raspberrypi weewx[1533]: **** File "/usr/share/weewx/weewx/engine.py", line 491, in __init__
Jan 20 21:07:57 raspberrypi weewx[1533]: **** self.setup_database(config_dict)
Jan 20 21:07:57 raspberrypi weewx[1533]: **** File "/usr/share/weewx/weewx/engine.py", line 604, in setup_database
Jan 20 21:07:57 raspberrypi weewx[1533]: **** _nrecs, _ndays = dbmanager.backfill_day_summary() # @UnusedVariable
Jan 20 21:07:57 raspberrypi weewx[1533]: **** File "/usr/share/weewx/weewx/manager.py", line 1450, in backfill_day_summary
Jan 20 21:07:57 raspberrypi weewx[1533]: **** weight = self._calc_weight(rec)
Jan 20 21:07:57 raspberrypi weewx[1533]: **** File "/usr/share/weewx/weewx/manager.py", line 1560, in _calc_weight
Jan 20 21:07:57 raspberrypi weewx[1533]: **** weight = 60.0 * record['interval'] if self.version >= '2.0' else 1.0
Jan 20 21:07:57 raspberrypi weewx[1533]: **** TypeError: can't multiply sequence by non-int of type 'float'
Jan 20 21:07:57 raspberrypi weewx[1533]: **** Exiting.
pi@raspberrypi:~ $
Un comando chek para comprobar la base de datos...
pi@raspberrypi:~ $ wee_database --check
Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 'archive_sqlite'
Checking daily summary tables version...
Daily summary tables are at version 2.0
Interval Weighting Fix is not required.
Daily summary tables version check completed in 0.02 seconds.
Preparing Null String Check, this may take awhile...
Checking record: 403657; Timestamp: 2018-01-12 10:36:00 CET (1515749760))
The following null strings were found:
Timestamp = 1435740485; record['usUnits'] = u''; ... ignored
Timestamp = 1435740485; record['interval'] = u''; ... ignored
2 null strings were found.
Recommend running --fix-strings to fix these strings.
Completed Null String Check in 47.26 seconds
Recommend running --fix-strings to fix these strings...probamos entonces
pi@raspberrypi:~ $ wee_database --fix-strings
Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 'archive_sqlite'
Preparing Null String Fix, this may take a while...
Traceback (most recent call last):: 2015-06-28 14:18:01 CEST (1435493881)
File "/usr/bin/wee_database", line 793, in <module>
main()
File "/usr/bin/wee_database", line 171, in main
check_strings(config_dict, db_binding, options, fix=True)
File "/usr/bin/wee_database", line 668, in check_strings
dbmanager.updateValue(record[0], obs_list[icol], corrected_value)
File "/usr/share/weewx/weewx/manager.py", line 381, in updateValue
(self.table_name, obs_type), (new_value, timestamp))
File "/usr/share/weewx/weedb/sqlite.py", line 43, in guarded_fn
raise weedb.OperationalError(e)
weedb.OperationalError: attempt to write a readonly database
Pero sigue el error aunque me fijo en las líneas del log y el fallo está concretamente en esta línea como indica (Timestamp = 1435740485; record['usUnits'] = u''; ... ignored
Timestamp = 1435740485; record['interval'] = u''; ... ignored)
Así que accedo a la base de datos con DB Browser for Sqlite y borro la línea corrupta,estaba sin datos (null) pero el fallo logicamente como indica el log,faltaba el "1" en Units y "5" en interval.
Vuelvo a cargar la base de datos en Weewx y a los 8-10 minutos de carga al 25% de rendimiento,genera la nueva base de datos con todos los archivos mensuales y anuales.
Como recomendación si alguno tiene que tocar o modificar la base de datos de Weewx,hacerlo SIEMPRE desde una copia de seguridad.
Un saludo y gracias