The error in #1 is resolved. Leave the setting as utf8.
On Friday, March 13, 2020 at 10:45:41 AM UTC-4, Gert Andersen wrote: > > Hi Pat > > Just looked at the permission for darksky json and changed it. Now it > seems that the forecast is ok. Thanks for pointing me in that direction. > > Now I "just" have the error in #1 > > Gert > > On Friday, March 13, 2020 at 3:08:35 PM UTC+1, Pat wrote: >> >> Your forecast is missing because of a server error on your side. >> >> Try to go to http://vsvejr.de/json/darksky_forecast.json?_=1584108447820 >> >> It will give you error 403 which is a Forbidden error on your web server >> >> On Friday, March 13, 2020 at 10:06:38 AM UTC-4, Gert Andersen wrote: >>> >>> Hi Pat >>> >>> I'm missing the forecast and I have: >>> forecast_enabled = 1 >>> in weewx.conf. >>> >>> Gert >>> >>> >>> On Friday, March 13, 2020 at 3:02:19 PM UTC+1, Pat wrote: >>>> >>>> Well, I've put danish characters into my location name as a test, and >>>> they are showing in the report fine (see my screenshot from a few emails >>>> ago in the red box). >>>> >>>> Looking at the site you say is broken, it doesn't look broken, so I'm >>>> trying to understand what breaks when you use utf8 instead of strict_ascii? >>>> >>>> On Friday, March 13, 2020 at 10:00:33 AM UTC-4, Gert Andersen wrote: >>>>> >>>>> 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/a732ff5b-0fa7-42b4-8fd3-a4be02a49bc2%40googlegroups.com.
