Page 1 of 1

Traceback Error

PostPosted: Mon Feb 01, 2021 12:28 pm
by Monstergerm
Hi Dave,
for the first time I got some weird errors from the plugin (v 1.0.10). An HTTP error seems to have caused some python issues with the plugin as well as the IndigoPluginHost.app. The whole set of errors repeated themselves several times..

2021-02-01 03:34:38.935 Fantastic Weather Error !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! TRACEBACK !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2021-02-01 03:34:38.951 Fantastic Weather Error !!! Traceback (most recent call last):
2021-02-01 03:34:38.951 Fantastic Weather Error !!!   File "plugin.py", line 826, in get_weather_data
2021-02-01 03:34:38.951 Fantastic Weather Error !!!     r.raise_for_status()
2021-02-01 03:34:38.952 Fantastic Weather Error !!!   File "/Library/Application Support/Perceptive Automation/Indigo 7.5/IndigoPluginHost.app/Contents/Resources/PlugIns/requests/models.py", line 848, in raise_for_status
2021-02-01 03:34:38.952 Fantastic Weather Error !!!     raise HTTPError(http_error_msg, response=self)
2021-02-01 03:34:38.952 Fantastic Weather Error !!! HTTPError: 500 Server Error: Internal Server Error for url: https://api.darksky.net/forecast/API_KE ... us&lang=en
2021-02-01 03:34:38.953 Fantastic Weather Error !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Re: Traceback Error

PostPosted: Mon Feb 01, 2021 2:15 pm
by DaveL17
Yuck. Sorry about that. That's a "special" error that one of the Python libraries throws when things aren't working properly on the server side (the Dark Sky server, not the Indigo server). Clearly, the plugin needs to do a better job of trapping this condition. I'll see what I can do to rein that in.

Thanks for letting me know.

Re: Traceback Error

PostPosted: Mon Feb 01, 2021 2:30 pm
by DaveL17
I've just uploaded a new version of the plugin to the Indigo Plugin Store. v1.0.11 should handle these errors more smoothly.

Re: Traceback Error

PostPosted: Tue Feb 02, 2021 5:28 am
by DaveL17
Incidentally, I should've mentioned I also got these error messages yesterday between 11:29 and 11:59 Zulu.