Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Weather slow to update, sometimes gives unknown location, can't refresh #331

Open
ltisz opened this issue Mar 11, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@ltisz
Copy link

ltisz commented Mar 11, 2025

Describe the bug

When using the weather plugin in Dracula, I find that the weather often lags behind what it actually is -- for example, it may be 58 degrees and sunny at 11am and 65 degrees and rainy by 2pm, but the plugin will continue to show 58 degrees and sunny for hours without changing. Eventually it will change, at seemingly arbitrary times. I know the plugin retrieves weather from wttr.in, and if I query wttr.in myself I will rarely find the same weather Dracula is showing for my location. Reloading .tmux.conf or reinstalling plugins does not seem to refresh the weather API query.

Additionally I got this error today, but that's almost certainly because wttr.in seems to be down at the moment. This is an unrelated issue (and no big deal for me), but the blurred segment is my latitude and longitude and I see that weather.sh is intended to protect against PI leaks. Another issue is that this error is overlapping my clock.

To Reproduce

Using weather plugin as intended.

Expected behavior

I would expect the weather to query the weather API at more frequent intervals. I would also expect reloading my .tmux.conf to refresh the weather to the current conditions.

Screenshots

See link above

System

  • OS: Ubuntu 24.04
  • Tmux Version: 3.4
@ltisz ltisz added the bug Something isn't working label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant