Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated PI to buster now getting this error #351

Closed
sgrayban opened this issue Aug 1, 2020 · 3 comments
Closed

Updated PI to buster now getting this error #351

sgrayban opened this issue Aug 1, 2020 · 3 comments

Comments

@sgrayban
Copy link

sgrayban commented Aug 1, 2020

Traceback (most recent call last):
File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
obj.start()
File "/usr/share/weewx/weewx/reportengine.py", line 280, in start
self.run()
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 150, in run
ngen = self.generate(gen_dict[section_name], self.gen_ts)
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, in generate
ngen += self.generate(section[subsection], gen_ts)
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, in generate
ngen += self.generate(section[subsection], gen_ts)
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 309, in generate
default_binding)
File "/usr/share/weewx/weewx/cheetahgenerator.py", line 376, in _getSearchList
searchList += obj.get_extension_list(timespan, db_lookup)
File "/usr/share/weewx/user/belchertown.py", line 880, in get_extension_list
current_obs_summary = aeris_coded_weather( data["current"][0]["response"]["ob"]["weatherPrimaryCoded"] )
TypeError: list indices must be integers or slices, not str

@poblabs
Copy link
Owner

poblabs commented Aug 1, 2020

I don't think this is related to Buster. Looks like you may have an old forecast.json file, or a mismatch config between Aeris and DarkSky. You could delete the forecast.json from your html folder, run wee_reports and try again. Make sure your files are all updated - especially skin.conf, and that you don't have both weather services enabled,

@sgrayban
Copy link
Author

sgrayban commented Aug 1, 2020

Got that sorted out but now I can't get interceptor to sniff now. All I get is user.interceptor: empty queue even though when I run it manually it gets the data. I have searched google and many posts but not 1 single fix yet. Very frustrated now.

@sgrayban
Copy link
Author

sgrayban commented Aug 1, 2020

Well now mqtt is reporting current weather but the pages arent getting generated with the last know weather data... EG; temp says its 32F

@sgrayban sgrayban closed this as completed Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants