try running weewx from the command line with the try/catch in place and see if you get better error messages.
On Thu, Apr 17, 2025 at 10:43 AM messyp...@gmail.com <messypota...@gmail.com> wrote: > I do not know where the "\x00" is coming from. It only occurs about > once a week, or less, but the python error causes weewx to stop. > > On Wednesday, April 16, 2025 at 2:07:48 PM UTC-5 Karen K wrote: > >> messyp...@gmail.com schrieb am Mittwoch, 16. April 2025 um 06:31:01 >> UTC+2: >> >> Apr 15 16:00:16 PI4B1 weewxd[268425]: weewx[268425] CRITICAL __main__: >> **** ValueError: could not convert string to float: '94.8\x00' >> >> >> May be the nul character at the end of the file to read is the problem. >> In the error message above it is expressed as "\x00". >> > -- > 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+unsubscr...@googlegroups.com. > To view this discussion visit > https://groups.google.com/d/msgid/weewx-user/ad167a14-82f9-4bf7-9fde-0b115c6ef102n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/ad167a14-82f9-4bf7-9fde-0b115c6ef102n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Peter Quinn (415)794-2264 -- 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+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/CAA1SM21kQXZEMHR4_1XcNQ46LJ_Srs2L_W-4dzJb8h_T3LyvSg%40mail.gmail.com.