From c65ad1f2e70efd60d773937c80b5432ae310518b Mon Sep 17 00:00:00 2001 From: Tom Gillespie Date: Fri, 9 Jun 2023 12:19:14 -0700 Subject: [PATCH] viewer add envar to silence protobuf python warnings we don't use it anyway but can't avoid the warning because it is at the top level and thus would require a patch --- sparcur_internal/sparcur/viewer.rkt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sparcur_internal/sparcur/viewer.rkt b/sparcur_internal/sparcur/viewer.rkt index 22ec2bd4..ea585d1c 100644 --- a/sparcur_internal/sparcur/viewer.rkt +++ b/sparcur_internal/sparcur/viewer.rkt @@ -256,7 +256,9 @@ (if (eq? set-pwd? --sigh) (apply system* exe args) (apply system* exe args #:set-pwd? set-pwd?))) - '(("PYTHONBREAKPOINT" . "0")))) + '(("PYTHONBREAKPOINT" . "0") + ; silence error logs during pennsieve top level import issue + ("PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION" . "python")))) (define (datetime-file-system-safe inexact-seconds) "Y-M-DTHMS,6Z" ; FIXME this is producing garbages results with weird and bad padding