Skip to content

fix: remove stale entries from default enabled_plugins - #312

Merged
hemna merged 1 commit into
masterfrom
fix/stale-default-enabled-plugins
Sep 24, 2026
Merged

hemna merged 1 commit into
masterfrom
fix/stale-default-enabled-plugins

Conversation

@hemna

@hemna hemna commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

The default enabled_plugins list in aprsd/conf/common.py referenced two classes that don't exist in the package:

  • aprsd.plugins.location.LocationPlugin — no aprsd/plugins/location.py exists
  • aprsd.plugins.weather.OWMWeatherPlugin — weather.py only defines USWeatherPlugin and USMetarPlugin

Every default-config startup logged an ImportError for both (non-fatal, but error noise on every install, and the default claimed those plugins were enabled).

Fix

  • Drop the non-existent location entry
  • Point the weather entry at the real USWeatherPlugin class

Verification

  • tests/test_plugin.py + tests/cmds/test_sample_config.py: 13 passed
  • ruff clean
  • Fake-client server smoke: 0 OWMWeatherPlugin/LocationPlugin errors at startup; plugin loading registers the actual default plugins

The default enabled_plugins list referenced aprsd.plugins.location.
LocationPlugin and aprsd.plugins.weather.OWMWeatherPlugin, neither of
which exists in the package (weather.py defines USWeatherPlugin and
USMetarPlugin only). Every default-config startup logged an ImportError
for both. Point the weather entry at the real USWeatherPlugin class and
drop the location entry.
@hemna
hemna merged commit 7214764 into master Sep 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant