Skip to content

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

@ltisz

Description

@ltisz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions