weewx stops to work 'totalrainin'

90 views
Skip to first unread message

hajsek...@gmail.com

unread,
Nov 20, 2022, 6:01:39 PM11/20/22
to weewx-user
I have installed weewx-4.9.1-1.el8.noarch on almalinux 8
and have som trouble with totalrainin and can't find what that is

mysql-check-socket[28110]: Socket file /var/lib/mysql/mysql.sock exists.
mysql-check-socket[28110]: No process is using /var/lib/mysql/mysql.sock, which means it is a garbage, so it will be removed automatically.
mysql-prepare-db-dir[28139]: Database MariaDB is probably initialized in /var/lib/mysql already, nothing is done.
mysql-prepare-db-dir[28139]: If this is not the case, make sure the /var/lib/mysql is empty before running mysql-prepare-db-dir.
mysqld[28177]: 2022-11-20 23:58:55 0 [Note] /usr/libexec/mysqld (mysqld 10.3.35-MariaDB) starting as process 28177 ...
systemd[1]: Started MariaDB 10.3 database server.
weewx[27306] INFO weewx.engine: Main loop exiting. Shutting engine down.
weewx[27306] INFO user.interceptor: shutting down server thread
Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__: Caught unrecoverable exception:
Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__:     ****  'totalrainin'
Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__:     ****  Traceback (most recent call last):
Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__:     ****    File "/usr/share/weewx/weewxd", line 154, in main
Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__:     ****      engine.run()
Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 208, in run
Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__:     ****      for packet in self.console.genLoopPackets():
Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__:     ****    File "/usr/share/weewx/user/interceptor.py", line 2550, in genLoopPackets
Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__:     ****      pkt = self._device.parser.parse(data)
Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__:     ****    File "/usr/share/weewx/user/interceptor.py", line 2396, in parse
Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__:     ****      self.LABEL_MAP.pop('totalrainin')
Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__:     ****  KeyError: 'totalrainin'
Nov 20 23:59:08 web journal[27306]: weewx[27306] CRITICAL __main__:     ****  Exiting.
Message has been deleted

hajsek...@gmail.com

unread,
Jan 9, 2023, 4:14:28 PM1/9/23
to weewx-user
I solved this error, it was actually problem with mariadb server so I deleted it and install mysql and now it works.

ponedeljek, 21. november 2022 ob 00:01:39 UTC+1 je oseba hajsek...@gmail.com napisala:
Reply all
Reply to author
Forward
0 new messages