Closed rancod99 closed 2 years ago
Ok, thanks for bringing up the issue.
To clarify, does the entire widget show the Loading ...
screen or does just the top of the widget with the High/Low
data show Loading
; also, does the forecast page show up when the error occurs?
Screen shots would be helpful! Thanks!
Thanks!
Going through the logic in: https://github.com/k-donn/plasmoid-wunderground/blob/b25cbb31ab41a07524b86b3ad91b1023e26f12fa/plasmoid/contents/code/pws-api.js#L112
If there were an error with the request, then an error message should show up on the entire widget.
There is no central error message, therefore, there is not an error with the request.
Because the High/Low
part of the widget shows loading...
, the variable showForecast
must be false.
Therefore, there is some processing error between lines 142-200.
Because this only occurs for imperial units, I think the JSON from Wunderground might be different for some reason.
Sorry, but I have some more questions.
Does this happen for all stations you choose or just a certain one?
Also, could you please show me your plasmashell log?
Make sure Write to console.log
is checked under the Debug
settings in the widget.
Then journalctl /usr/bin/plasmashell -f
and change the units to imperial.
Thanks again for bringing up this issue.
High / Low not displaying - for Imperial units ( gets stuck on Loading..). Works just fine with Celsius.
Thank you,