{"record":{"id":"7b0a57a5c2fcb905","repo":"ruvnet/RuView","slug":"proc-net-wireless-not-found-this-environment-has","errorCode":null,"errorMessage":"/proc/net/wireless not found. This environment has no Linux wireless subsystem (common in Docker, WSL, or headless servers).","messagePattern":"/proc/net/wireless not found\\. This environment has no Linux wireless subsystem \\(common in Docker, WSL, or headless servers\\)\\.","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"archive/v1/src/sensing/rssi_collector.py","lineNumber":218,"sourceCode":"        except OSError as exc:\n            return False, f\"Cannot read /proc/net/wireless: {exc}\"\n\n        if interface not in content:\n            names = cls._parse_interface_names(content)\n            return False, (\n                f\"Interface '{interface}' not listed in /proc/net/wireless. \"\n                f\"Available: {names or '(none)'}. \"\n                f\"Ensure the interface is up and associated with an AP.\"\n            )\n        return True, \"ok\"\n\n    # -- internals -----------------------------------------------------------\n\n    def _validate_interface(self) -> None:\n        \"\"\"Check that the interface exists on this machine.\"\"\"\n        available, reason = self.is_available(self._interface)\n        if not available:\n            raise RuntimeError(reason)\n\n    @staticmethod\n    def _parse_interface_names(proc_content: str) -> List[str]:\n        \"\"\"Extract interface names from /proc/net/wireless content.\"\"\"\n        names: List[str] = []\n        for line in proc_content.splitlines()[2:]:  # skip header lines\n            parts = line.split(\":\")\n            if len(parts) >= 2:\n                names.append(parts[0].strip())\n        return names\n\n    def _sample_loop(self) -> None:\n        interval = 1.0 / self._rate\n        while self._running:\n            t0 = time.monotonic()\n            try:\n                sample = self._read_sample()\n                self._buffer.append(sample)","sourceCodeStart":200,"sourceCodeEnd":236,"githubUrl":"https://github.com/ruvnet/RuView/blob/4685618388a5e49fad5b3005806f3bdd6a7c25c3/archive/v1/src/sensing/rssi_collector.py#L200-L236","documentation":"Error \"/proc/net/wireless not found. This environment has no Linux wireless subsystem (common in Docker, WSL, or headless servers).\" thrown in ruvnet/RuView.","triggerScenarios":"Thrown at archive/v1/src/sensing/rssi_collector.py:218 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"4685618388a5e49fad5b3005806f3bdd6a7c25c3","analyzedAt":"2026-08-16T06:09:40.886Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}