tmux-weather icon indicating copy to clipboard operation
tmux-weather copied to clipboard

Unknown location; please try …

Open kierun opened this issue 4 years ago • 3 comments

Your plugin worked fine and suddenly I get a "Unknown location; please try" messages instead. It is odd since a curl provides me with the right answer. See screenshot.

screenshot

Now, my server could have updated something in the mean time but I could not see any evidence it had done anything that could have changed that. Of course, I might be wrong…

Any idea?

kierun avatar Jun 03 '20 07:06 kierun

Okay, some time later and I have the weather just fine. Odd… I am not sure how I can help debug that.

kierun avatar Jun 03 '20 14:06 kierun

Just stumbled upon this. This happens when they are running out of queries. Try curl wttr.in/YourCity and it will give you a proper message back whats going on.

Schievel1 avatar Apr 26 '23 21:04 Schievel1

I had the same issue, but it guess its from the default 15 minute wait time between the queries. I set set-option -g @tmux-weather-interval 1 and now my location displays correctly change it back to 15, or remove the line once it is correct so you dont query wttr.in too often :)

thomaslagies avatar Mar 01 '24 15:03 thomaslagies