After I installed the latest commits I received this error.

Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine: Caught
unrecoverable exception in generator
'weewx.cheetahgenerator.CheetahGenerator'
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****  'aqi'
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****  Traceback (most recent call last):
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****    File "/usr/share/weewx/user/belchertown.py", line 1487, in
get_extension_list
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****      aqi = data["aqi"][0]["response"][0]["periods"][0]["aqi"]
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****  KeyError: 'aqi'
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****  During handling of the above exception, another exception occurred:
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****  Traceback (most recent call last):
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/reportengine.py", line 196, in run
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****      obj.start()
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/reportengine.py", line 281, in start
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****      self.run()
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 150, in run
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****      ngen = self.generate(gen_dict[section_name], self.gen_ts)
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, in
generate
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****      ngen += self.generate(section[subsection], gen_ts)
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, in
generate
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****      ngen += self.generate(section[subsection], gen_ts)
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 309, in
generate
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****      default_binding)
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 385, in
_getSearchList
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****      searchList += obj.get_extension_list(timespan, db_lookup)
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****    File "/usr/share/weewx/user/belchertown.py", line 1495, in
get_extension_list
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****      "The URL being used is:\n%s" % (error, data["aqi"], aqi_url)
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****  KeyError: 'aqi'
Feb  6 12:48:28 raspberrypi weewx[7471] ERROR weewx.reportengine:
****  Generator terminated
Feb  6 12:48:28 raspberrypi weewx[7471] INFO weewx.reportengine: Copied 37
files to /var/www/html/weewx/belchertown

On Sat, Feb 6, 2021 at 11:53 AM salinois <[email protected]> wrote:

> My install for me
>
> sudo /usr/local/weewx(or your path)/wee_extension --install /home/pi(or your 
> path)/weewx-belchertown-x.x.zip
>
> patrick
>
> Le 06/02/2021 à 17:26, Michael Sanphillipo a écrit :
>
> Do I just paste into the different directories or is there an install
> method?
>
> On Sat, Feb 6, 2021 at 11:21 AM salinois <[email protected]> wrote:
>
>> hello
>>
>> you can use the *.zip
>>
>> Patrick
>> Le 06/02/2021 à 15:04, Michael Sanphillipo a écrit :
>>
>> I'm  using Belchertown version 1.2.  How do you install the latest
>> commits since the last version release? Do you simply download the zip file
>> from github and paste into the directories or is the an install method for
>> python3? --
>> 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/994aea23-acd4-4ac9-a236-8106f8649e0an%40googlegroups.com
>> <https://groups.google.com/d/msgid/weewx-user/994aea23-acd4-4ac9-a236-8106f8649e0an%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/fWo_YSdhmzs/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/b73d04a5-2948-3d15-1f5e-aa7c5b285ac3%40gmail.com
>> <https://groups.google.com/d/msgid/weewx-user/b73d04a5-2948-3d15-1f5e-aa7c5b285ac3%40gmail.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/CAAsGudq3KdOjxjXbfB%2BvLk5Va7Fu_4b9uextQ-zSc497NrgGuA%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAAsGudq3KdOjxjXbfB%2BvLk5Va7Fu_4b9uextQ-zSc497NrgGuA%40mail.gmail.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/fWo_YSdhmzs/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/13d3b9b1-f8a0-f802-e48e-d2d108c38be4%40gmail.com
> <https://groups.google.com/d/msgid/weewx-user/13d3b9b1-f8a0-f802-e48e-d2d108c38be4%40gmail.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/CAAsGudoFBxLEGc8uGiZuT7aTpigWPW4LLs8s-A2PUCXmij4-xQ%40mail.gmail.com.

Reply via email to