A new installation of the entire skin fixed it.

I have no idea what went wrong with the old one. My suspicion would be that 
there was some encoding issue with a file. 

Something I noticed after the new installation:
* In the old version of the weewx.conf, I had included the DarkSky secret 
key in quotation marks
* After the re-install of the development skin, those quotation marks were 
gone
--> This caused a weird behavior: When triggering a report with wee_reports 
everything worked fine. But in the next regular report loop, the DarkSky 
forecast disappeared . With a wee_reports it came back. And disappeared 
again in the next regular reporting cycle.
* Putting back the quotation marks fixed this issue


Pat schrieb am Mittwoch, 24. Juni 2020 um 23:19:04 UTC+2:

> Wow! I'm not sure why you're getting that error either. Something is 
> missing somewhere
>
> On Wed, Jun 24, 2020, 5:14 PM Manfred Maier <[email protected]> 
> wrote:
>
>> I'll have to try that tomorrow. 
>> My skin installation includes a number of individual adaptions (e.g. pi 
>> page, individual website widget, horizontal lines in some graphs, etc) and 
>> it always takes me 1-2 hours to update the skin. 
>>
>> Pat schrieb am Mittwoch, 24. Juni 2020 um 23:07:57 UTC+2:
>>
>>> 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 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/712411b5-3388-4713-b710-adf4523f36f6n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/712411b5-3388-4713-b710-adf4523f36f6n%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/3906499c-11b2-4e50-aec7-b0717a9a72c1n%40googlegroups.com.

Reply via email to