Hola, perdón por mi google español, intentaré ayudarte.  ¿Podría detener 
WeeWX (si se está ejecutando) y ejecutar el comando wee_database 
—check-strings?  Luego, capture la salida de la consola que muestre tanto 
el comando exacto que ingresó como la salida resultante en la consola. 
 Publique el texto capturado aquí.

Hi, pardon my google Spanish, I will try to help you. Could you stop WeeWX 
(if it is running) and issue the wee_database —check-strings command. Then 
capture the console output showing both the exact command you entered and 
the resulting output to the console. Post the captured text back here. 

Gary

On Thursday, 26 August 2021 at 03:11:38 UTC+10 [email protected] wrote:

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

-- 
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/1f2fa6c7-b8db-45f2-8d3a-2708300c18f5n%40googlegroups.com.

Reply via email to