Software > WeeWX
Error actualización WEEWX
megatin:
Buenos días!
Esta mañana he actualizadi WEEWX con el siguiente resultado. Ayuda, please!
● weewx.service - WeeWX
Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2024-02-05 08:46:41 UTC; 13min ago
Docs: https://weewx.com/docs
Main PID: 392 (code=exited, status=4)
CPU: 1.393s
feb 05 08:46:41 raspimeteo weewxd[392]: CRITICAL weewx.engine: **** File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in __init__
feb 05 08:46:41 raspimeteo weewxd[392]: CRITICAL weewx.engine: **** self.open()
feb 05 08:46:41 raspimeteo weewxd[392]: CRITICAL weewx.engine: **** File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in open
feb 05 08:46:41 raspimeteo weewxd[392]: CRITICAL weewx.engine: **** raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
feb 05 08:46:41 raspimeteo weewxd[392]: CRITICAL weewx.engine: **** serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permiso denegado: '/dev/ttyUSB0'
feb 05 08:46:41 raspimeteo weewxd[392]: CRITICAL __main__: Unable to load driver: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permiso denegado: '/dev/ttyUSB0'
feb 05 08:46:41 raspimeteo weewxd[392]: CRITICAL __main__: **** Exiting...
feb 05 08:46:41 raspimeteo systemd[1]: weewx.service: Main process exited, code=exited, status=4/NOPERMISSION
feb 05 08:46:41 raspimeteo systemd[1]: weewx.service: Failed with result 'exit-code'.
feb 05 08:46:41 raspimeteo systemd[1]: weewx.service: Consumed 1.393s CPU time.
jantoni:
Yo, desde luego no puedo actualizar. Más que nada porque mi instalación ya no es compatible con actualizar a 5.0
Me imagino que:
1) Tienes Python 3 instalado en tu ordenador
2) El sistema de instalación no era el de setup.py
Antes de nada.....haz una copia de seguridad de los ficheros de configuración y de la base de datos.
megatin:
Gracias, por la respuesta.
Tengo copia de los ficheros de configuración.
La instalación no la recuerdo, hece varios años.
Actualizo con apt y hasta hoy sin problemas.
Tendré que espear a que salga una versión que no dé problemas.
Saludos
megatin:
Hola de nuevo.
Al fin he conseguido reinstalar Weewx 4.10. En el log veo el siguiente error. Se agradecen las ayudas para solucionaar el problema.
Saludos
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator'
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** invalid literal for int() with base 10: '27h'
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** Traceback (most recent call last):
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** obj.start()
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 385, in start
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** self.run()
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/imagegenerator.py", line 42, in run
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** self.gen_images(self.gen_ts)
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/imagegenerator.py", line 107, in gen_images
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** plot = self.gen_plot(plotgen_ts,
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** ^^^^^^^^^^^^^^^^^^^^^^^^^
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/imagegenerator.py", line 159, in gen_plot
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** plotgen_ts - int(plot_options.get('time_length', 86400)), plotgen_ts)
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** ValueError: invalid literal for int() with base 10: '27h'
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] ERROR weewx.reportengine: **** Generator terminated
feb 06 13:50:20 raspimeteo python3[4008]: weewx[4008] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
jantoni:
En algún fichero de configuración de gráficos debes tener alguna palabra que no le gusta (sobre todo acentos y caracteres no internacionales)
Navegación
[#] Página Siguiente
Ir a la versión completa