#172·sherlock

"Failed to load weather" even after reinitializing everything

Author: schmyCreated Apr 3, 2026Updated Apr 4, 2026
Labelsbugquestioninstallationnix-os

Description

Running 0.1.14 on NixOS. Had everything working fine at least a few days ago. Recently ran standard nix upgrade command, and now no matter what I try, sherlock will fail to load the weather. I have tried:

  • uninstalling, rebuilding, and reinstalling,
  • clearing caches and counts,
  • changing cities, to bremen and london,
  • running curl to test wttr.in
  • overriding fallback location data by moving it to config.toml

Running Rust_Backtrace shows that sherlock is panicking at line 30 of the weather_launcher with an "index out of bounds".

Steps to Reproduce

  1. In a terminal, enter: RUST_BACKTRACE=1 sherlock
  2. Sherlock opens. Everything works fine, except ! Failed to load weather error appears.
  3. Terminal output showing backtrace and error at weather_launcher 30:37

Expected Behavior

I just miss the weather.

Screenshots

ImageImage

Environment

  • Operating System: NixOS
  • Window Manager: Hyprland
    • Version: 0.1.14

Additional Context

I spent quite a bit of time with various chatbots that helped to find the line where the error occurs, but they eventually kept circling back onto things that didn't work. For now, I have just removed the weather data from the fallback.json file so that the errors stop appearing.