--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/97c28bf4-30c7-455c-851f-469187c31c79o%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/93094213-6958-49a1-ba13-7f3ca3a90274o%40googlegroups.com.
Hi Tom
I attach the last version of weewx.conf, which is still producing the error.
David
Sent from Mail for Windows 10
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDyDz5xh8gtJRyeCKxmCbJGuAYqChLJeq4d%2BGQrD3vUFA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/5f3d34eb.1c69fb81.4c509.d9cd%40mx.google.com.
The problem only occurs when using wee_database -interestingly the offending byte has moved from position 26 to 31!
pi@raspberrypi:~ $ /home/weewx/bin/wee_database --reconfigure /home/weewx/archive/weewx.sdb
Traceback (most recent call last):
File "/home/weewx/bin/wee_database", line 974, in <module>
main()
File "/home/weewx/bin/wee_database", line 128, in main
config_path, config_dict = weecfg.read_config(options.config_path, args)
File "/home/weewx/bin/weecfg/__init__.py", line 179, in read_config
default_encoding='utf-8')
File "/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
self._load(infile, configspec)
File "/usr/lib/python3/dist-packages/configobj.py", line 1287, in _load
content = self._handle_bom(content)
File "/usr/lib/python3/dist-packages/configobj.py", line 1437, in _handle_bom
return self._decode(infile, self.encoding)
File "/usr/lib/python3/dist-packages/configobj.py", line 1517, in _decode
infile[i] = line.decode(encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf2 in position 31: invalid continuation byte
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEB99R%3D5MrZB6EYfi1MOPcW96E06bPs3ayV5FAPF_aK7NA%40mail.gmail.com.
Solved thanks. More stupid me I think – a clear case of RTFM!
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAKFYrufMVdf%3DL3YKuy2uXp%2B5sXdQeD77DV7LEWXB6qrg%40mail.gmail.com.