hello, I'm contacting you because I've searched everywhere. There was a power outage at my house, and when it came back on, the Raspberry Pi booted up, but when I tried to access the weather station, I got errors. I checked all the files affected by the error, but nothing seemed out of the ordinary. Searching online, I saw that other people had encountered this problem, perhaps due to the database! I have a backup of my database (performed every 15 days). Do you have any ideas? I've attached the logs.
Have a good evening. Patrick logs after restart weewx. Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: Traceback (most recent call last): Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: File "/usr/share/weewx/weewxd.py", line 226, in <module> Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: main() Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: File "/usr/share/weewx/weewxd.py", line 76, in main Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: config_path, config_dict, log = weeutil.startup.start_app(namespace.log_label, Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: File "/usr/share/weewx/weeutil/startup.py", line 86, in start_app Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: config_path, config_dict = weecfg.read_config(config_option, [config_arg]) Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: File "/usr/share/weewx/weecfg/__init__.py", line 150, in read_config Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: config_dict = configobj.ConfigObj(config_path, Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: File "/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__ Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: self._load(infile, configspec) Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: File "/usr/lib/python3/dist-packages/configobj.py", line 1287, in _load Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: content = self._handle_bom(content) Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: File "/usr/lib/python3/dist-packages/configobj.py", line 1437, in _handle_bom Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: return self._decode(infile, self.encoding) Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: File "/usr/lib/python3/dist-packages/configobj.py", line 1517, in _decode Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: infile[i] = line.decode(encoding) Dec 29 20:09:04 RPi-WS-Byows weewxd[710]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 55: invalid start byte -- 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 visit https://groups.google.com/d/msgid/weewx-user/0d8eec1a-c73d-42d4-9dfe-6012ca3bff3cn%40googlegroups.com.
