y este es el log mas completo

Aug 25 18:08:24 raspberrypi weewx[3531] INFO __main__: Using Python 2.7.16 
(default, Oct 10 2019, 22:02:15) #012[GCC 8.3.0]
Aug 25 18:08:24 raspberrypi weewx[3531] INFO __main__: Platform 
Linux-5.10.17-v7+-armv7l-with-debian-10.9
Aug 25 18:08:24 raspberrypi weewx[3531] INFO __main__: Locale is 
'en_GB.UTF-8'
Aug 25 18:08:24 raspberrypi weewx[3531] INFO __main__: PID file is 
/var/run/weewx.pid
Aug 25 18:08:24 raspberrypi weewx[3519]: Starting weewx weather system: 
weewx.
Aug 25 18:08:24 raspberrypi weewx[3535] INFO __main__: Using configuration 
file /etc/weewx/weewx.conf
Aug 25 18:08:24 raspberrypi systemd[1]: Started LSB: weewx weather system.
Aug 25 18:08:24 raspberrypi weewx[3535] INFO __main__: Debug is 0
Aug 25 18:08:24 raspberrypi weewx[3535] INFO weewx.engine: Loading station 
type Vantage (weewx.drivers.vantage)
Aug 25 18:08:24 raspberrypi weewx[3535] INFO weewx.engine: StdConvert 
target unit is 0x1
Aug 25 18:08:35 raspberrypi weewx[3535] INFO weewx.manager: Daily summaries 
at V2.0. Patching to V4.0
Aug 25 18:08:35 raspberrypi weewx[3535] INFO weewx.manager: 
recalculate_weights: Using database 'Estaciones'
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__: Caught 
unrecoverable exception:
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****  could 
not convert string to float: Chitaga
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****  
Traceback (most recent call last):
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewxd", line 151, in main
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
engine = weewx.engine.StdEngine(config_dict)
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 93, in __init__
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
self.loadServices(config_dict)
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 161, in loadServices
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
obj = weeutil.weeutil.get_object(svc)(self, config_dict)
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/wxservices.py", line 91, in __init__
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
self.db_manager = engine.db_binder.get_manager(data_binding=data_binding, 
initialize=True)
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/manager.py", line 584, in get_manager
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
self.manager_cache[data_binding] = open_manager(manager_dict, initialize)
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/manager.py", line 734, in open_manager
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
manager_dict['schema'])
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/manager.py", line 164, in open_with_create
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
dbmanager = cls(connection, table_name=table_name, schema=schema)
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/manager.py", line 881, in __init__
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
self.patch_sums()
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/manager.py", line 1344, in patch_sums
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
self.recalculate_weights(start_d=datetime.date(2020, 6, 1))
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/manager.py", line 1262, in recalculate_weights
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
self._do_tranche(mark_d, end_of_tranche_d, weight_fn, progress_fn)
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/manager.py", line 1301, in _do_tranche
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
day_accum.addRecord(rec, weight=weight)
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/accum.py", line 436, in addRecord
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
func(self, record, obs_type, add_hilo, weight)
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/accum.py", line 495, in add_value
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
self[obs_type].addHiLo(val, record['dateTime'])
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/accum.py", line 168, in addHiLo
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
val = to_float(val)
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****    File 
"/usr/share/weewx/weeutil/weeutil.py", line 1276, in to_float
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****      
return float(x) if x is not None else None
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****  
ValueError: could not convert string to float: Chitaga
Aug 25 18:08:36 raspberrypi weewx[3535] CRITICAL __main__:     ****  
Exiting.

El miércoles, 25 de agosto de 2021 a las 12:11:38 UTC-5, jose riaño 
escribió:

> los comandos  *wee_database --check-strings y * *wee_database 
> --fix-strings*
> *me dan este relusltado *
>
> * File "/usr/share/weewx/wee_database", line 1138, in <module>*
> *    main()*
> *  File "/usr/share/weewx/wee_database", line 230, in main*
> *    check_strings(config_dict, db_binding, options, fix=True)*
> *  File "/usr/share/weewx/wee_database", line 913, in check_strings*
> *    with weewx.manager.open_manager_with_config(config_dict, db_binding) 
> as dbmanager:*
> *  File "/usr/share/weewx/weewx/manager.py", line 746, in 
> open_manager_with_config*
> *    return open_manager(manager_dict, initialize)*
> *  File "/usr/share/weewx/weewx/manager.py", line 737, in open_manager*
> *    manager_dict['table_name'])*
> *  File "/usr/share/weewx/weewx/manager.py", line 132, in open*
> *    dbmanager = cls(connection, table_name)*
> *  File "/usr/share/weewx/weewx/manager.py", line 881, in __init__*
> *    self.patch_sums()*
> *  File "/usr/share/weewx/weewx/manager.py", line 1344, in patch_sums*
> *    self.recalculate_weights(start_d=datetime.date(2020, 6, 1))*
> *  File "/usr/share/weewx/weewx/manager.py", line 1262, in 
> recalculate_weights*
> *    self._do_tranche(mark_d, end_of_tranche_d, weight_fn, progress_fn)*
> *  File "/usr/share/weewx/weewx/manager.py", line 1301, in _do_tranche*
> *    day_accum.addRecord(rec, weight=weight)*
> *  File "/usr/share/weewx/weewx/accum.py", line 436, in addRecord*
> *    func(self, record, obs_type, add_hilo, weight)*
> *  File "/usr/share/weewx/weewx/accum.py", line 495, in add_value*
> *    self[obs_type].addHiLo(val, record['dateTime'])*
> *  File "/usr/share/weewx/weewx/accum.py", line 168, in addHiLo*
> *    val = to_float(val)*
> *  File "/usr/share/weewx/weeutil/weeutil.py", line 1276, in to_float*
> *    return float(x) if x is not None else None*
> *ValueError: could not convert string to float: Chitaga*
>
>
> El viernes, 20 de agosto de 2021 a las 13:22:59 UTC-5, [email protected] 
> escribió:
>
>> Or, use the tool wee_database. It has a specific option "--check-strings 
>> <http://www.weewx.com/docs/utilities.htm#wee_database_utility_check_strings>"
>>  
>> for doing this:
>>
>> *wee_database --check-strings*
>>
>>
>> if you find any, you can use the option --fix-strings to fix them:
>>
>> *wee_database --fix-strings*
>>
>>
>> -tk
>>
>> On Fri, Aug 20, 2021 at 10:50 AM 'Rainer Lang' via weewx-user <
>> [email protected]> wrote:
>>
>>> we had a similar case here in the forum earlier this year:
>>> "After further investigation, it turned out to be due to an errant 
>>> record in the DB. The record’s “ET” field was blank; neither NULL nor a 
>>> valid float. Not sure how it got there, but using an sqlite editor and 
>>> setting it back to NULL did the trick. "
>>>
>>> It would be worth checking the database for such a record using a SQlite 
>>> Database browser. A field in the database that is usually filled by weewx 
>>> with either a value or NULL but is "empty".
>>> tuvimos un caso similar aquí en el foro a principios de este año:
>>> "Tras una investigación más profunda, resultó ser debido a un registro 
>>> erróneo en la base de datos. El campo "ET" del registro estaba en blanco; 
>>> ni NULL ni un flotador válido. No estoy seguro de cómo llegó allí, pero 
>>> usando un editor de sqlite y poniéndolo de nuevo en NULL hizo el truco. "
>>>
>>> Valdría la pena revisar la base de datos en busca de ese registro 
>>> utilizando un navegador de bases de datos SQlite. Un campo en la base de 
>>> datos que normalmente es llenado por weewx con un valor o NULL pero que 
>>> está "vacío".
>>>
>>> Traducción realizada con la versión gratuita del traductor 
>>> www.DeepL.com/Translator
>>>
>>> -------- Forwarded Message -------- 
>>> Subject: [weewx-user] Cambio de versión de weewx 
>>> Date: Fri, 20 Aug 2021 18:32:02 +0200 
>>> From: Rainer Lang <[email protected]> 
>>> To: [email protected] 
>>> CC: Rainer Lang <[email protected]> 
>>>
>>> ¿puede poner DEBUG = 1 en weewx.conf y enviarnos todo el syslog desde el 
>>> inicio de weewx, no sólo un fragmento, por favor?
>>>
>>> Can you please set DEBUG = 1 in weewx.conf and send aus the whole syslog 
>>> from the weewx launch on and not only a fragment !?
>>>
>>> algo parecido a lo siguiente ((tendrá un driver) diferente, un mapa de 
>>> sensores diferente, etc.)
>>>
>>> something that looks like this (you will have a different driver, a 
>>> different sensor map, etc. :
>>>
>>> **************************** example ********************************
>>>
>>> Aug 20 18:28:43 raspberrypi systemd[1]: Starting LSB: weewx weather 
>>> system...
>>> Aug 20 18:28:43 raspberrypi weewx[25009] INFO __main__: Initializing 
>>> weewx version 4.5.1
>>> Aug 20 18:28:44 raspberrypi weewx[25009] INFO __main__: Using Python 
>>> 3.7.3 (default, Jan 22 2021, 20:04:44) #012[GCC 8.3.0]
>>> Aug 20 18:28:44 raspberrypi weewx[25009] INFO __main__: Platform 
>>> Linux-5.10.52-v7l+-armv7l-with-debian-10.10
>>> Aug 20 18:28:44 raspberrypi weewx[25009] INFO __main__: Locale is 
>>> 'en_US.UTF-8'
>>> Aug 20 18:28:44 raspberrypi weewx[25009] INFO __main__: PID file is 
>>> /var/run/weewx.pid
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO __main__: Using 
>>> configuration file /etc/weewx/weewx.conf
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO __main__: Debug is 0
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: Loading 
>>> station type Interceptor (user.interceptor)
>>> Aug 20 18:28:44 raspberrypi weewx[24997]: Starting weewx weather system: 
>>> weewx.
>>> Aug 20 18:28:44 raspberrypi systemd[1]: Started LSB: weewx weather 
>>> system.
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO user.interceptor: driver 
>>> version is 0.60
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO user.interceptor: device 
>>> type: ecowitt-client
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO user.interceptor: hardware 
>>> name: Froggit WH4000SE/Ecowitt WH2320E
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO user.interceptor: mode is 
>>> listen
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO user.interceptor: listen 
>>> on :8000
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO user.interceptor: sensor 
>>> map: {'pressure': 'pressure', 'barometer': 'barometer', 'outHumidity': 
>>> 'humidity_out', 'inHumidity': 'humidity_in', 'outTemp': 'temperature_out', 
>>> 'inTemp': 'temperature_in', 'windSpeed': 'wind_speed', 'windGust': 
>>> 'wind_gust', 'windDir': 'wind_dir', 'windGustDir': 'wind_gust_dir', 
>>> 'radiation': 'solar_radiation', 'dewpoint': 'dewpoint', 'windchill': 
>>> 'windchill', 'rain': 'rain', 'rainRate': 'rain_rate', 'UV': 'uv', 
>>> 'txBatteryStatus': 'battery', 'extraTemp1': 'temperature_1', 'extraTemp2': 
>>> 'temperature_2', 'extraTemp3': 'temperature_3', 'extraHumid1': 
>>> 'humidity_1', 'extraHumid2': 'humidity_2', 'soilTemp1': 
>>> 'soil_temperature_1', 'soilTemp2': 'soil_temperature_2', 'soilMoist1': 
>>> 'soil_moisture_1', 'soilMoist2': 'soil_moisture_2', 'soilMoist3': 
>>> 'soil_moisture_3', 'soilMoist4': 'soil_moisture_4', 'leafWet1': 
>>> 'leafwetness_1', 'leafWet2': 'leafwetness_2', 'pm2_5': 'pm2_5', 
>>> 'extraTemp4': 'temperature_4', 'extraTemp5': 'temperature_5', 'extraTemp6': 
>>> 'temperature_6', 'extraTemp7': 'temperature_7', 'extraTemp8': 
>>> 'temperature_8', 'extraHumid3': 'humidity_3', 'extraHumid4': 'humidity_4', 
>>> 'extraHumid5': 'humidity_5', 'extraHumid6': 'humidity_6', 'extraHumid7': 
>>> 'humidity_7', 'extraHumid8': 'humidity_8', 'soilTemp3': 
>>> 'soil_temperature_3', 'soilTemp4': 'soil_temperature_4'}
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: StdConvert 
>>> target unit is 0x1
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: Archive will 
>>> use data binding wx_binding
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: Record 
>>> generation will be attempted in 'hardware'
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: Using 
>>> archive interval of 60 seconds (specified in weewx configuration)
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.restx: 
>>> StationRegistry: Station will be registered.
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.restx: Wunderground: 
>>> Posting not enabled.
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.restx: PWSweather: 
>>> Posting not enabled.
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.restx: CWOP: Posting 
>>> not enabled.
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.restx: WOW: Posting 
>>> not enabled.
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.restx: AWEKAS: 
>>> Posting not enabled.
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO __main__: Starting up 
>>> weewx version 4.5.1
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: Using 
>>> binding 'wx_binding' to database 'weewx-IC.sdb'
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.manager: Starting 
>>> backfill of daily summaries
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.manager: Daily 
>>> summaries up to date
>>> Aug 20 18:28:44 raspberrypi weewx[25013] INFO weewx.engine: Starting 
>>> main packet loop.
>>> On 20.08.2021 17:56, jose riaño wrote:
>>>
>>>
>>> no señor nada solo que me averió la Rpi y al cargar todo de nuevo y 
>>> arrancar me sale eso .... 
>>> El viernes, 20 de agosto de 2021 a las 10:26:00 UTC-5, [email protected] 
>>> escribió:
>>>
>>>> You did not show very much of the log, so it is difficult to determine 
>>>> what happened.
>>>>
>>>> My best guess is that somewhere in your database you have a string 
>>>> where you should have a number.
>>>>
>>>> Did you edit the database?
>>>>
>>>> On Fri, Aug 20, 2021 at 8:19 AM jose riaño <[email protected]> wrote:
>>>>
>>>>> al cambiar mi versión o reinstalar   se me puso la versión 4.5.1 pero 
>>>>> cuando quiero arrancar el sistema me sale esto: 
>>>>>
>>>>> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__:     ****    
>>>>> File "/usr/share/weewx/weewx/accum.py", line 495, in add_value
>>>>> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__:     ****    
>>>>>   self[obs_type].addHiLo(val, record['dateTime'])
>>>>> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__:     ****    
>>>>> File "/usr/share/weewx/weewx/accum.py", line 168, in addHiLo
>>>>> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__:     ****    
>>>>>   val = to_float(val)
>>>>> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__:     ****    
>>>>> File "/usr/share/weewx/weeutil/weeutil.py", line 1276, in to_float
>>>>> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__:     ****    
>>>>>   return float(x) if x is not None else None
>>>>> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__:     ****  
>>>>> ValueError: could not convert string to float:
>>>>> Aug 20 10:04:16 raspberrypi weewx[1514] CRITICAL __main__:     ****  
>>>>> Exiting. 
>>>>>
>>>>>
>>>>> no encuentro el error o que debo hacer por favor me ayudan 
>>>>>
>>>> -- 
>>>>> 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].
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/weewx-user/79fe0a4e-6c0c-43b4-9244-77ed14330e8cn%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/79fe0a4e-6c0c-43b4-9244-77ed14330e8cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>> 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].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/a7abd923-2708-427f-9295-a1df9fc7fb4bn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/a7abd923-2708-427f-9295-a1df9fc7fb4bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> -- 
>>> 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].
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/e4abfc5c-f8f9-7c71-2ff4-dc53fd2b6b6b%40gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/e4abfc5c-f8f9-7c71-2ff4-dc53fd2b6b6b%40gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0e63c457-4093-42c1-8fa9-c4ebf8b5c19an%40googlegroups.com.

Reply via email to