Affected Component
Tracking (ByteTrack / DeepSORT — services/tracking/)
Bug Description
services/tracking/tracker.py line 21 has: from Eagle.libs.config import settings
This should be: from libs.config.settings import settings
Every other file in the project uses the correct relative import. This incorrect path causes ModuleNotFoundError when running tests, breaking all 22 tests in test_cross_camera_reid.py. Every contributor PR currently shows a failing CI check because of this single line.
Steps to Reproduce
- Open services/tracking/tracker.py
- Check line 21: from Eagle.libs.config import settings
- Run: pytest tests/test_cross_camera_reid.py -v
- All 22 tests fail immediately with: ModuleNotFoundError: No module named 'Eagle'
Expected Behavior
tests/test_cross_camera_reid.py should run successfully.
The import should use the same pattern as every other file in the project: from libs.config.settings import settings
Actual Behavior
All 22 tests in test_cross_camera_reid.py fail at collection with ModuleNotFoundError: No module named 'Eagle'.
Every contributor PR shows a failing CI check because of this.
Python Version
3.11
Operating System
Windows 11
Inference Device
None
Error Log / Traceback
(venv) PS C:\Users\ankit\OneDrive\Desktop\work\Projects\New folder\Eagle> pytest tests/test_cross_camera_reid.py -v 2>&1 | Select-String "ModuleNotFoundError|Eagle" | Select-Object -First 5
platform win32 -- Python 3.13.7, pytest-9.0.3, pluggy-1.6.0 -- C:\Users\ankit\OneDrive\Desktop\work\Projects\New folder\Eagle\venv\Scripts\python.exe
rootdir: C:\Users\ankit\OneDrive\Desktop\work\Projects\New folder\Eagle
> from Eagle.libs.config import settings
E ModuleNotFoundError: No module named 'Eagle'
services\tracking\tracker.py:21: ModuleNotFoundError
Screenshots or Recordings
Additional Context
Fix is a one-line change in services/tracking/tracker.py:
Current (line 21): from Eagle.libs.config import settings
Fix: from libs.config.settings import settings
Every other file in the project already uses this correct pattern. For example: services/memory/action_classifier.py:
from libs.config.settings import settings
I'd like to open a PR for this fix if the maintainer agrees.
Files affected:
- services/tracking/tracker.py (line 21 only)
Checklist
Affected Component
Tracking (ByteTrack / DeepSORT — services/tracking/)
Bug Description
services/tracking/tracker.py line 21 has: from Eagle.libs.config import settings
This should be: from libs.config.settings import settings
Every other file in the project uses the correct relative import. This incorrect path causes ModuleNotFoundError when running tests, breaking all 22 tests in test_cross_camera_reid.py. Every contributor PR currently shows a failing CI check because of this single line.
Steps to Reproduce
Expected Behavior
tests/test_cross_camera_reid.py should run successfully.
The import should use the same pattern as every other file in the project: from libs.config.settings import settings
Actual Behavior
All 22 tests in test_cross_camera_reid.py fail at collection with ModuleNotFoundError: No module named 'Eagle'.
Every contributor PR shows a failing CI check because of this.
Python Version
3.11
Operating System
Windows 11
Inference Device
None
Error Log / Traceback
Screenshots or Recordings
Additional Context
Fix is a one-line change in services/tracking/tracker.py:
Current (line 21): from Eagle.libs.config import settings
Fix: from libs.config.settings import settings
Every other file in the project already uses this correct pattern. For example: services/memory/action_classifier.py:
from libs.config.settings import settings
I'd like to open a PR for this fix if the maintainer agrees.
Files affected:
Checklist
mainbranch.