poblabs / weewx-belchertown

A clean and modern weewx skin with real time streaming updates, forecast data and interactive charts. View it in action at BelchertownWeather.com
https://belchertownweather.com
GNU General Public License v3.0
210 stars 111 forks source link

No weather forecast after update from 1.2 to 1.3b1 #609

Closed fvirgola80 closed 3 years ago

fvirgola80 commented 3 years ago

Please don't delete these questions! They are asked almost with every issue - answering them as below saves us time from asking them!

First step Try to debug the skin yourself. If you can't figure it out, please include the debug information (text, screenshots, etc.). See this guide on debugging the skin. https://github.com/poblabs/weewx-belchertown#how-to-use-debug

Describe the bug A clear and concise description of what the bug is. Hi guys, after updating to belchertown version 1.2 to 1.3b1 I no longer receive weather forecasts, warnings and AQI information the debu on the sute is active. I attach syslog

syslog.zip

Link to your website (IMPORTANT) www.meteocivitavecchia.it

Version of the skin you're using 1.3b1 Belchertown, python3

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Device Information (please complete the following information):

Additional context Add any other context about the problem here. Maybe a potential fix?

HELP WANTED If you have a fix for this, please submit a pull request against the development branch!

ArendPWS commented 3 years ago

Delete the file /home/weewx/public_html/belchertown/json/forecast.json.

fvirgola80 commented 3 years ago

I deleted the file but it doesn't work I am attaching the debug error Cattura

norecords commented 3 years ago

I can reproduce this issue, in forecast.json

aqi |  

     0 |  
         success | true
error |  
         code | "warn_no_data"
         description | "Valid request. No results available based on your query parameters."

and in syslog ERROR user.belchertown: Error getting AQI from Aeris weather. The error was: list index out of range

fvirgola80 commented 3 years ago

Well can I be of help?

poblabs commented 3 years ago

Put your forecast.json into a zip file then attach to this issue and I'll take a look

On Sat, Feb 27, 2021, 6:35 AM fvirgola80 notifications@github.com wrote:

Well can I be of help?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/poblabs/weewx-belchertown/issues/609#issuecomment-787059264, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2SYZ6A47T6G6XIL5Q7HJLTBDKGPANCNFSM4YJY4F6A .

norecords commented 3 years ago

ok it seems that the query have change Actual: https://api.aerisapi.com/airquality/closest?p=43.48,6.07&format=json&radius=50mi&limit=1&client_id=xxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxx Working: https://api.aerisapi.com/airquality/43.48,6.07?format=json&radius=50mi&limit=1&client_id=xxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxx

ref api

fvirgola80 commented 3 years ago

Put your forecast.json into a zip file then attach to this issue and I'll take a look On Sat, Feb 27, 2021, 6:35 AM fvirgola80 @.***> wrote: Well can I be of help? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#609 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2SYZ6A47T6G6XIL5Q7HJLTBDKGPANCNFSM4YJY4F6A .

here is the file forecast.zip

poblabs commented 3 years ago

Do you want to put a pull request in for this change?

On Sat, Feb 27, 2021, 6:50 AM Onza notifications@github.com wrote:

ok it seems that the query have change Actual:

https://api.aerisapi.com/airquality/closest?p=43.48,6.07&format=json&radius=50mi&limit=1&client_id=xxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxx Working:

https://api.aerisapi.com/airquality/43.48,6.07?format=json&radius=50mi&limit=1&client_id=xxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxx

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/poblabs/weewx-belchertown/issues/609#issuecomment-787061081, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2SYZZOL45M5Y2FGDB7WN3TBDMA3ANCNFSM4YJY4F6A .

fvirgola80 commented 3 years ago

ok it seems that the query have change Actual: https://api.aerisapi.com/airquality/closest?p=43.48,6.07&format=json&radius=50mi&limit=1&client_id=xxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxx Working: https://api.aerisapi.com/airquality/43.48,6.07?format=json&radius=50mi&limit=1&client_id=xxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxx

ref api

How could I act?

norecords commented 3 years ago

yes I can

fvirgola80 commented 3 years ago

Do you want to put a pull request in for this change? On Sat, Feb 27, 2021, 6:50 AM Onza @.***> wrote: ok it seems that the query have change Actual: https://api.aerisapi.com/airquality/closest?p=43.48,6.07&format=json&radius=50mi&limit=1&client_id=xxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxx Working: https://api.aerisapi.com/airquality/43.48,6.07?format=json&radius=50mi&limit=1&client_id=xxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxx — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#609 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2SYZZOL45M5Y2FGDB7WN3TBDMA3ANCNFSM4YJY4F6A .

yes I do now

fvirgola80 commented 3 years ago

sorry I can't do it can you do it?

norecords commented 3 years ago

done

fvirgola80 commented 3 years ago

Thanks, but does it also solve the weather forecast problem in addition to the aqi information?

norecords commented 3 years ago

Yes, delete forecast.json and restart weewx

fvirgola80 commented 3 years ago

now works thank you so much😊