Yes, it is necessary to upgrade the skin

Le vendredi 7 avril 2023 à 04:45:00 UTC+2, Adnan Mumtaz a écrit :

> You are right!! i didnt notice that the darksky is expired, i am still on 
>    
>    - Belchertown Skin Version: 1.0.1, is it necessary to upgrade to use 
>    Aerius weather APIs
>
>
> On Thursday, 6 April 2023 at 23:54:47 UTC+3 [email protected] wrote:
>
>> If you are not running the last version (v.1.3) of Belchertown skin, it 
>> may be due to the fact that the forecast data from Darksky are no more 
>> available and that the json of these forecast data is empty.
>>
>>
>> Le jeudi 6 avril 2023 à 05:00:58 UTC+2, Adnan Mumtaz a écrit :
>>
>> I am using the belchertown script since a long time, and without any 
>> changes in the system all of a sudden i am seeing this error in logs and 
>> the skin is not uploading properly, can anyone assist
>>
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: reportengine: Caught unrecoverable 
>> exception in generator 'weewx.cheetahgenerator.CheetahGenerator'
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** No JSON object could be 
>> decoded
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** Traceback (most recent call 
>> last):
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** File 
>> "/usr/share/weewx/weewx/reportengine.py", line 204, in run
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** obj.start()
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** File 
>> "/usr/share/weewx/weewx/reportengine.py", line 300, in start
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** self.run()
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** File 
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 160, in run
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** ngen = 
>> self.generate(gen_dict[section_name], self.gen_ts)
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** File 
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 234, in generate
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** ngen += 
>> self.generate(section[subsection], gen_ts)
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** File 
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 234, in generate
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** ngen += 
>> self.generate(section[subsection], gen_ts)
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** File 
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** default_binding)
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** File 
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 374, in _getSearchList
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** searchList += 
>> obj.get_extension_list(timespan, db_lookup)
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** File 
>> "/usr/share/weewx/user/belchertown.py", line 548, in get_extension_list
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** data = json.load( read_file )
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** File "/usr/lib/python2.7/json/
>> *init*.py", line 291, in load
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** **kw)
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** File "/usr/lib/python2.7/json/
>> *init*.py", line 339, in loads
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** return 
>> _default_decoder.decode(s)
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** File 
>> "/usr/lib/python2.7/json/decoder.py", line 364, in decode
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** obj, end = self.raw_decode(s, 
>> idx=_w(s, 0).end())
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** File 
>> "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** raise ValueError("No JSON 
>> object could be decoded")
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** ValueError: No JSON object 
>> could be decoded
>> Apr 6 05:20:47 Riyadh_WS weewx[25067]: **** Generator terminated
>>
>>

-- 
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/cc72e25e-f1cb-490a-adae-891534085afbn%40googlegroups.com.

Reply via email to