Solved thanks. More stupid me I think – a clear case of RTFM!
Sent from Mail for Windows 10
From: Tom Keffer
Sent: 20 August 2020 14:07
To: David Marshall
Cc: weewx-user@googlegroups.com
Subject: Re: [weewx-user] UnicodeDecodeError in database
Stupid me. The answer is in how you are invoking
n 31:
> invalid continuation byte
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *Tom Keffer
> *Sent: *20 August 2020 00:51
> *To: *weewx-user
> *Subject: *Re: [weewx-user] UnicodeDecodeError
decode byte 0xf2 in position 31:
invalid continuation byte
Sent from Mail for Windows 10
From: Tom Keffer
Sent: 20 August 2020 00:51
To: weewx-user
Subject: Re: [weewx-user] UnicodeDecodeError in database
I don't have any problem with either copy of weewx.conf that you sent to me.
Thing
setting it to simulator.
>
>
>
> I attach the last version of weewx.conf, which is still producing the
> error.
>
>
>
> David
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From
: Tom Keffer
Sent: 19 August 2020 15:59
To: weewx-user
Subject: Re: [weewx-user] UnicodeDecodeError in database
1. All these attempts were with running wee_database? Or, something else?
2. I assume all these different attempts used the same path, namely
/home/weewx/weewx.conf. And, we're sure
1. All these attempts were with running wee_database? Or, something else?
2. I assume all these different attempts used the same path, namely
/home/weewx/weewx.conf. And, we're sure they used different copies (albeit,
at the same path location)?
3. It's hard to explain how fresh, untouched
Thanks Tom
Tried your code to show the offending line but nothing appears. Then tried
a clean weewx.conf from the install folder but still the same error
message. Then tried a full reinstall, but still the same error.
Then tried it with the the default database using simulator and still the
The decode error is actually in your configuration file, weewx.conf, and
not in the database.
Somehow, your copy of weewx.conf got corrupted. One of the lines has a
character sequence that starts out as a utf-8 encoding, but the following
byte is not what was expected.
Unfortunately, the error
Hi
Installed a fresh version of weewx 4.1.1 without problem using setup.py on
a raspberry.
Transferred my existing sqlite database from weewx 3.9.1. It is big, about
3 years of data. This worked fine.
But when I tried to use reconfigure I got the following error
pi@raspberrypi:~ $