Critical: Broken installation, missing dependencies, and non-functional core logic (Is this project valid?) #9

Closed
opened 2025-12-26 23:11:08 +08:00 by f13end · 2 comments
f13end commented 2025-12-26 23:11:08 +08:00 (Migrated from github.com)

I have spent the last few hours trying to get this project running on a macOS environment (Python 3.11), following the documentation step-by-step. The experience suggests that the codebase is largely untested and possibly AI-hallucinated, as it lacks fundamental dependencies and functional logic.

Here is a summary of the critical issues I encountered:

  1. Broken "Quick Start" & Missing Files
    The documentation suggests running pip install wifi-densepose and then cp example.env .env.

Issue: The example.env file is NOT included in the pip package distribution.

Fix: I had to clone the repo manually to find the configuration template.

  1. Missing Dependencies
    Even after setting up a clean virtual environment, the requirements.txt or setup process is incomplete.

Error: ModuleNotFoundError: No module named 'greenlet' (Required for SQLAlchemy async).

Error: ModuleNotFoundError: No module named 'aiosqlite' (Required for the default DB fallback).

Error: ModuleNotFoundError: No module named 'websockets' (Required for the client script example).

Fix: I had to manually install these packages one by one.

  1. Configuration & Pydantic Crashes
    The configuration loading logic is broken.

Error: pydantic_core._pydantic_core.ValidationError: 1 validation error for Settings allowed_origins Extra inputs are not permitted.

The .env file logic clashes with Pydantic's strict validation. I had to manually edit/delete lines in .env just to get the server to boot.

  1. Authentication Loop (401 Unauthorized)
    Despite setting ENABLE_AUTHENTICATION=false in .env, the server persists in returning 401 Unauthorized for stream endpoints.

I had to forcefully inject environment variables (ENABLE_AUTHENTICATION=false wifi-densepose start) and kill lingering processes to bypass this. The configuration file seems to be ignored in certain contexts.

  1. The "Mock" Reality
    After fixing all the above and finally connecting to the WebSocket stream, I realized the system is merely running in MOCK_HARDWARE mode, outputting random/generated coordinates.

I dug into the source code to find the actual CSI (Channel State Information) processing logic for Intel/Atheros cards, but the core implementation seems generic or missing.

Conclusion: Is there a working branch of this project that actually interfaces with WiFi hardware? Currently, this repository appears to be a "vibe-coded" boilerplate with high-level architecture but no low-level implementation, riddled with basic dependency errors.

Environment:

OS: macOS (Silicon)

Python: 3.11

Install Method: pip & source

I have spent the last few hours trying to get this project running on a macOS environment (Python 3.11), following the documentation step-by-step. The experience suggests that the codebase is largely untested and possibly AI-hallucinated, as it lacks fundamental dependencies and functional logic. Here is a summary of the critical issues I encountered: 1. Broken "Quick Start" & Missing Files The documentation suggests running pip install wifi-densepose and then cp example.env .env. Issue: The example.env file is NOT included in the pip package distribution. Fix: I had to clone the repo manually to find the configuration template. 2. Missing Dependencies Even after setting up a clean virtual environment, the requirements.txt or setup process is incomplete. Error: ModuleNotFoundError: No module named 'greenlet' (Required for SQLAlchemy async). Error: ModuleNotFoundError: No module named 'aiosqlite' (Required for the default DB fallback). Error: ModuleNotFoundError: No module named 'websockets' (Required for the client script example). Fix: I had to manually install these packages one by one. 3. Configuration & Pydantic Crashes The configuration loading logic is broken. Error: pydantic_core._pydantic_core.ValidationError: 1 validation error for Settings allowed_origins Extra inputs are not permitted. The .env file logic clashes with Pydantic's strict validation. I had to manually edit/delete lines in .env just to get the server to boot. 4. Authentication Loop (401 Unauthorized) Despite setting ENABLE_AUTHENTICATION=false in .env, the server persists in returning 401 Unauthorized for stream endpoints. I had to forcefully inject environment variables (ENABLE_AUTHENTICATION=false wifi-densepose start) and kill lingering processes to bypass this. The configuration file seems to be ignored in certain contexts. 5. The "Mock" Reality After fixing all the above and finally connecting to the WebSocket stream, I realized the system is merely running in MOCK_HARDWARE mode, outputting random/generated coordinates. I dug into the source code to find the actual CSI (Channel State Information) processing logic for Intel/Atheros cards, but the core implementation seems generic or missing. Conclusion: Is there a working branch of this project that actually interfaces with WiFi hardware? Currently, this repository appears to be a "vibe-coded" boilerplate with high-level architecture but no low-level implementation, riddled with basic dependency errors. Environment: OS: macOS (Silicon) Python: 3.11 Install Method: pip & source
alphafox02 commented 2025-12-27 12:52:16 +08:00 (Migrated from github.com)

https://github.com/ruvnet/wifi-densepose/blob/main/docs/implementation-plan.md

Missing Core Functionality (0-40% Complete)”

https://github.com/ruvnet/wifi-densepose/blob/main/docs/implementation-plan.md “ ❌ Missing Core Functionality (0-40% Complete)”
13810873476 commented 2026-01-13 18:42:45 +08:00 (Migrated from github.com)

I agree with @f13end absolutely. And I following the readme documentation, first step runing ‘pip install wifi-densepose’ , and it success; and then runing ‘wifi-densepose version’, I got error as follow:

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\Administrator\AppData\Local\Python\pythoncore-3.14-64\Scripts\wifi-densepose.exe_main
.py", line 2, in
from src.cli import cli
ModuleNotFoundError: No module named 'src'

I agree with @f13end absolutely. And I following the readme documentation, first step runing ‘pip install wifi-densepose’ , and it success; and then runing ‘wifi-densepose version’, I got error as follow: --------------------- Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Users\Administrator\AppData\Local\Python\pythoncore-3.14-64\Scripts\wifi-densepose.exe\__main__.py", line 2, in <module> from src.cli import cli ModuleNotFoundError: No module named 'src' ----------------------
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dearsky/wifi-densepose#9