From b941fe4a02f6dd81afd1cee32a63ff808e706763 Mon Sep 17 00:00:00 2001 From: Jesse Adams Date: Sat, 28 Mar 2026 07:30:46 -0400 Subject: [PATCH 1/2] Made error message more clear when device is out of storage space Before: Aborted installing module adafruit_led_animation - not enough free space (103160 < 41984) After: Aborted installing module adafruit_led_animation - it needs 103160 bytes but only 41984 bytes of storage is available --- circup/backends.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/circup/backends.py b/circup/backends.py index 8475cd6..34300c0 100644 --- a/circup/backends.py +++ b/circup/backends.py @@ -184,12 +184,12 @@ def install_module( if self.get_free_space() < new_module_size: self.logger.error( - f"Aborted installing module {name} - " - f"not enough free space ({new_module_size} < {self.get_free_space()})" + f"Aborted installing module {name} - it needs {new_module_size} bytes " + f"but only {self.get_free_space()} bytes of storage is available" ) click.secho( - f"Aborted installing module {name} - " - f"not enough free space ({new_module_size} < {self.get_free_space()})", + f"Aborted installing module {name} - it needs {new_module_size} bytes " + f"but only {self.get_free_space()} bytes of storage is available", fg="red", ) return From 36d6d72bd76619821ced02ba00bd8a1062522bf0 Mon Sep 17 00:00:00 2001 From: Jesse Adams Date: Mon, 30 Mar 2026 21:04:26 -0400 Subject: [PATCH 2/2] Trigger CI re-run