hi again,
so, now I try your link on an other RPi and I have errors:
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR weewx.reportengine: Caught
unrecoverable exception in generator
'weewx.cheetahgenerator.CheetahGenerator'
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** 'aqi'
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** Traceback (most recent call last):
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** File
"/usr/share/weewx/user/belchertown.py", line 1074, in get_extension_list
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** aqi =
data['aqi'][0]['response'][0]['periods'][0]['aqi']
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** KeyError: 'aqi'
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: ****
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** During handling of the above
exception, another exception occurred:
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: ****
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** Traceback (most recent call last):
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** File
"/usr/share/weewx/weewx/reportengine.py", line 196, in run
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** obj.start()
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** File
"/usr/share/weewx/weewx/reportengine.py", line 281, in start
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** self.run()
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 149, in run
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** ngen =
self.generate(gen_dict[section_name], self.gen_ts)
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 219, in generate
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** ngen +=
self.generate(section[subsection], gen_ts)
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 219, in generate
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** ngen +=
self.generate(section[subsection], gen_ts)
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 308, in generate
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** default_binding)
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 379, in _getSearchList
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** searchList +=
obj.get_extension_list(timespan, db_lookup)
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** File
"/usr/share/weewx/user/belchertown.py", line 1079, in get_extension_list
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** logerr( "Error getting AQI from
Aeris weather. The error was:\n%s\nThe response from the Aeris AQI
server was:\n%s\nThe URL being used is:\n%s" % (error, data['aqi'],
aqi_url))
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** KeyError: 'aqi'
Jan 17 13:54:17 raspberrypi weewx[2134] ERROR
weewx.reportengine: **** Generator terminated
Patrick
Le 16/01/2021 à 21:11, Arend a écrit :
If this is your website:
http://jurassikpat.ddns.net/weewx/belchertown/
<http://jurassikpat.ddns.net/weewx/belchertown/>
Then you don't have installed the skin version that a gave the link to.
Op zaterdag 16 januari 2021 om 20:39:58 UTC+1 schreef sali...@gmail.com:
Hi
I used already the master, "weewx-belchertown-master.zip", but
there is more errors before !!!
bye
patrick
Le 16/01/2021 à 19:31, Arend a écrit :
Thank you Vince for pointing this out.
He needs the unreleased master:
https://github.com/poblabs/weewx-belchertown/archive/master.zip
<https://github.com/poblabs/weewx-belchertown/archive/master.zip>
Arend
Op zaterdag 16 januari 2021 om 19:20:56 UTC+1 schreef vince:
On Saturday, January 16, 2021 at 9:59:45 AM UTC-8 Arend wrote:
That belchertown.py file is an old 1.2 version. The
problem right now is that there are multiple Belchertown
versions out there which all bear the version number 1.2.
This is because at the moment changes are all merged into
the Belchertown 1.2 master without changes to the version
numbers.
Ummmmm - not quite. There is no such thing as 'Belchertown
1.2 master'. There is the released v1.2 and there is a
rolling 'unreleased' master of whatever might come next.
A quick look says that there have been 137 commits to master
after 1.2 was released in September, so if you simply run off
a git clone of master there is some risk until Pat releases a
new tested version. You can get the 'released' versions from
https://github.com/poblabs/weewx-belchertown/releases
<https://github.com/poblabs/weewx-belchertown/releases>
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/95d5d647-c8d2-427f-9484-f7908843d877n%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/95d5d647-c8d2-427f-9484-f7908843d877n%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 weewx-user+unsubscr...@googlegroups.com
<mailto:weewx-user+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/9a02a429-8a71-4f95-af7a-6be4e08dbbb5n%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/9a02a429-8a71-4f95-af7a-6be4e08dbbb5n%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/e08bf4d9-71b0-a003-4c99-20fcc3617438%40gmail.com.