Can you try to reinstall the whole development skin and restart weewx? On Wed, Jun 24, 2020, 5:03 PM Manfred Maier <[email protected]> wrote:
> Didn't work :( > > I don't understand this error. The 'forecast_provider' is in my skin.conf > and the weewx.conf: > > # Forecast defaults > > forecast_enabled = 1 > > forecast_provider = "darksky" > > forecast_api_id = "b6b2add3..." > > forecast_api_secret = "b6b2add3..." > > forecast_units = "ca" > > forecast_lang = "de" > > forecast_stale = 3540 > > forecast_alert_enabled = 1 > > forecast_alert_limit = 1 > > forecast_show_daily_forecast_link = 0 > > forecast_daily_forecast_link = "" > > > Pat schrieb am Mittwoch, 24. Juni 2020 um 22:32:50 UTC+2: > >> Update your skins.conf to latest version too >> >> On Wed, Jun 24, 2020, 4:28 PM Manfred Maier <[email protected]> >> wrote: >> >>> >>> Hi Pat, >>> apologies, it's me again. >>> >>> Yesterday (and today) I've just copied the new belchertown.py in my user >>> folder. >>> Now I've seen that i get a two error messages in my syslog. >>> >>> The first one I've been able to resolve. It was caused by the "check for >>> update" functionality that you have removed recently. After setting the >>> update setting to zero the error was gone. >>> >>> The second one I'm not able to locate. This is the error I get: >>> >>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: >>> Generate failed with exception '<class 'NameMapper.NotFound'>' >>> >>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: >>> **** Ignoring template /etc/weewx/skins/Belchertown/js/belchertown.js.tmpl >>> >>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: >>> **** Reason: cannot find 'forecast_provider' >>> >>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: >>> **** Traceback (most recent call last): >>> >>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: >>> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in >>> generate >>> >>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: >>> **** unicode_string = compiled_template.respond() >>> >>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: >>> **** File "_etc_weewx_skins_Belchertown_js_belchertown_js_tmpl.py", line >>> 1154, in respond >>> >>> Jun 24 22:20:20 raspberrypi weewx[6177] ERROR weewx.cheetahgenerator: >>> **** NameMapper.NotFound: cannot find 'forecast_provider' >>> >>> [email protected] schrieb am Mittwoch, 24. Juni 2020 um 21:12:50 >>> UTC+2: >>> >>>> Perfect ! >>>> Thanks >>>> >>>> Le mer. 24 juin 2020 à 16:04, Manfred Maier <[email protected]> >>>> a écrit : >>>> >>>>> Solved! >>>>> Thanks so much! >>>>> >>>>> Pat schrieb am Mittwoch, 24. Juni 2020 um 15:41:13 UTC+2: >>>>> >>>>>> Can you try the latest belchertown.py file from the devleopment >>>>>> branch? I think I got it working. See screenshot. >>>>>> >>>>>> >>>>>> >>>>>> On Wednesday, June 24, 2020 at 8:48:53 AM UTC-4, Manfred Maier wrote: >>>>>>> >>>>>>> Sent by email. The file has been too big for an upload here (or the >>>>>>> database content isn't allowed?). >>>>>>> Thanks for looking into it! >>>>>>> >>>>>>> -- >>>>> 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/295f9456-430d-44fb-9c4e-9b61640794e0n%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/weewx-user/295f9456-430d-44fb-9c4e-9b61640794e0n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>> >> You received this message because you are subscribed to a topic in the >>> Google Groups "weewx-user" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/weewx-user/UWSnqt7tY3Q/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/4e605379-67f9-4db4-b1a9-07b752dcbcebn%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/4e605379-67f9-4db4-b1a9-07b752dcbcebn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/UWSnqt7tY3Q/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/aa56d448-ba0a-4d31-a737-ba2eb27c191fn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/aa56d448-ba0a-4d31-a737-ba2eb27c191fn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAJv44%2B%3D0EN7%3DtO1E%3DWuscbWUpVXFWpqODzxrmdZYY1zC0Pr-9w%40mail.gmail.com.
