Closed RicardoEPRodrigues closed 6 years ago
Yes, sometimes that error occurs. It's a problem on the API's end, nothing we can do.
Try a few test runs with --one-time-run
.
WeatherDesk.py: error: unrecognized arguments: --one-time-run
What am I doing wrong? xD
Note: the program doesn't crash, but it also doesn't change the background...
What am I doing wrong? xD
Sorry, my bad. The --one-time-run
is a new feature that is as-yet not pushed to GitHub (but it will be in a few minutes).
Then just download the latest and run it again.
Now I've updated it, please try again with latest.
Updated and it ran it as you requested.
I noted inconsistent output. Sometimes it works, sometimes it doesn't...
When it doesn't it shows the error previously mentioned.
Can you try visiting this URL in your browser?
https://query.yahooapis.com/v1/public/yql?q=select%20%2A%20from%20geo.places(5)%20where%20text%3D"CITY"&format=json
Replacing CITY
for your city.
This is the exact URL where WeatherDesk queries Yahoo! Weather for information.
I always receive the same result: result.txt
No error from that link.
For a possible solution, try increasing --wait
from the default of 600
seconds.
I tried to increase the wait time to 2000 and ran a few --one-time-run
, but it's still inconsistent.
Let me just say, it the errors doesn't break the app and just means that one update failed, then I won't worry and just use it as is.
I, too, would really like to fix this but cannot as it happens on what seems to be a random basis.
I don't know if I should close the issue, since it is not resolved... Maybe you should tag it as a WontFix and close it.
Should I close this issue?
To put it in simple terms it crashes.
In more detail, first it didn't have a needed dependency for the file psutil, that I solved by running
sudo apt install python3-psutil
.But now it crashes with the following: