fastled 1.4.14__py3-none-any.whl → 1.4.16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fastled/__version__.py +1 -1
- fastled/docker_manager.py +21 -1
- fastled/playwright/playwright_browser.py +24 -2
- fastled/print_filter.py +52 -52
- fastled/settings.py +45 -3
- fastled/string_diff.py +165 -165
- fastled/version.py +41 -41
- fastled/web_compile.py +13 -3
- {fastled-1.4.14.dist-info → fastled-1.4.16.dist-info}/METADATA +531 -531
- {fastled-1.4.14.dist-info → fastled-1.4.16.dist-info}/RECORD +14 -14
- {fastled-1.4.14.dist-info → fastled-1.4.16.dist-info}/WHEEL +0 -0
- {fastled-1.4.14.dist-info → fastled-1.4.16.dist-info}/entry_points.txt +0 -0
- {fastled-1.4.14.dist-info → fastled-1.4.16.dist-info}/licenses/LICENSE +0 -0
- {fastled-1.4.14.dist-info → fastled-1.4.16.dist-info}/top_level.txt +0 -0
fastled/web_compile.py
CHANGED
@@ -296,10 +296,20 @@ def web_compile(
|
|
296
296
|
|
297
297
|
# Check HTTP response status first
|
298
298
|
if libfastled_response.status_code != 200:
|
299
|
-
|
300
|
-
|
299
|
+
msg = f"Error: libfastled compilation failed with HTTP status {libfastled_response.status_code}"
|
300
|
+
|
301
|
+
# Error out here, this is a critical error
|
302
|
+
stdout = libfastled_response.content
|
303
|
+
if stdout is not None:
|
304
|
+
stdout = stdout.decode("utf-8", errors="replace") + "\n" + msg
|
305
|
+
else:
|
306
|
+
stdout = msg
|
307
|
+
return CompileResult(
|
308
|
+
success=False,
|
309
|
+
stdout=stdout,
|
310
|
+
hash_value=None,
|
311
|
+
zip_bytes=b"",
|
301
312
|
)
|
302
|
-
# Continue with sketch compilation even if libfastled fails
|
303
313
|
else:
|
304
314
|
# Check for embedded HTTP status in response content
|
305
315
|
has_embedded_status, embedded_status = _check_embedded_http_status(
|