From 3e2472160cc97e9d11922137757d9ef942a0312d Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 19 Aug 2025 15:32:34 -0700 Subject: [PATCH] stash --- tools/lib/logreader.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/lib/logreader.py b/tools/lib/logreader.py index a5f196d75d..9bcad46aaf 100755 --- a/tools/lib/logreader.py +++ b/tools/lib/logreader.py @@ -16,6 +16,8 @@ from collections.abc import Callable, Iterable, Iterator from typing import cast from urllib.parse import parse_qs, urlparse +from fontTools.cffLib.width import missingdict + from cereal import log as capnp_log from openpilot.common.swaglog import cloudlog from openpilot.tools.lib.comma_car_segments import get_url as get_comma_segments_url @@ -238,6 +240,7 @@ def auto_source(identifier: str, sources: list[Source], default_mode: ReadMode) if fn == try_fns[0]: missing_logs = list(valid_files.values()).count(None) + # missing_logs = len(needed_seg_idxs) if mode == ReadMode.AUTO: cloudlog.warning(f"{missing_logs}/{len(valid_files)} rlogs were not found, falling back to qlogs for those segments...") elif mode == ReadMode.AUTO_INTERACTIVE: