Hi Pat You did some changes to the beta version in order to use danishcharacters and I don't know if this error has something to do with this. Maybe you can't reproduce the error because your not running danish characters?
Gert On Friday, March 13, 2020 at 2:46:30 PM UTC+1, Pat wrote: > > I'm unable to reproduce this. Can you provide a clear example that would > allow me to reproduce this? > > Also, weewx version 4? > > > > On Friday, March 13, 2020 at 9:41:04 AM UTC-4, Pat wrote: >> >> Let me run some tests >> >> On Friday, March 13, 2020 at 9:39:16 AM UTC-4, Gert Andersen wrote: >>> >>> Hi >>> >>> Version 2.7.16 >>> >>> Gert >>> >>> On Friday, March 13, 2020 at 1:59:51 PM UTC+1, Pat wrote: >>>> >>>> Which version of python? >>>> >>>> On Thursday, March 12, 2020 at 6:52:38 PM UTC-4, Gert Andersen wrote: >>>>> >>>>> Hi >>>>> >>>>> Thanks for looking. >>>>> >>>>> No, I did not edit the index file. >>>>> >>>>> The only thing I changed was the skin.conf and changed the encoding to >>>>> utf8 instead of strictly_ascii. This will display danish characters. >>>>> >>>>> >>>>> [[SummaryByMonth]] >>>>> # Reports that summarize "by month" >>>>> [[[NOAA_month]]] >>>>> encoding = utf8 >>>>> template = NOAA/NOAA-YYYY-MM.txt.tmpl >>>>> >>>>> [[SummaryByYear]] >>>>> # Reports that summarize "by year" >>>>> [[[NOAA_year]]] >>>>> encoding = utf8 >>>>> template = NOAA/NOAA-YYYY.txt.tmpl >>>>> >>>>> Gert >>>>> >>>>> On Thursday, March 12, 2020 at 11:42:09 PM UTC+1, vince wrote: >>>>>> >>>>>> On Thursday, March 12, 2020 at 2:23:45 PM UTC-7, Gert Andersen wrote: >>>>>>> >>>>>>> Mar 12 22:11:24 InterceptorTest wee_reports[6182]: Belchertown >>>>>>> Extension: version 1.1b9 >>>>>>> Mar 12 22:11:27 InterceptorTest wee_reports[6182]: cheetahgenerator: >>>>>>> Generate failed with exception '<type 'exceptions.UnicodeDecodeError'>' >>>>>>> Mar 12 22:11:27 InterceptorTest wee_reports[6182]: cheetahgenerator: >>>>>>> **** Ignoring template >>>>>>> /etc/weewx/skins/Belchertown/about/index.html.tmpl >>>>>>> Mar 12 22:11:27 InterceptorTest wee_reports[6182]: cheetahgenerator: >>>>>>> **** Reason: 'ascii' codec can't decode byte 0xc3 in position 500: >>>>>>> ordinal >>>>>>> not in range(128) >>>>>>> >>>>>> >>>>>> For starters, did you edit the index.html.tmpl file mentioned above ? >>>>>> >>>>>> -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/7b7c1421-80bb-43fc-aa19-a559bd53179d%40googlegroups.com.
