From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qF9AJgQPK2PyXAAAbAwnHQ (envelope-from ) for ; Wed, 21 Sep 2022 15:17:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kHU9JgQPK2McRgEA9RJhRA (envelope-from ) for ; Wed, 21 Sep 2022 15:17:56 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 760CB3BDA3 for ; Wed, 21 Sep 2022 15:17:55 +0200 (CEST) Received: from localhost ([::1]:47840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oazbu-0007Uk-2y for larch@yhetil.org; Wed, 21 Sep 2022 09:17:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaytY-0001V6-9O for emacs-orgmode@gnu.org; Wed, 21 Sep 2022 08:32:16 -0400 Received: from mail-qv1-xf31.google.com ([2607:f8b0:4864:20::f31]:37457) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaytW-0002my-GM for emacs-orgmode@gnu.org; Wed, 21 Sep 2022 08:32:03 -0400 Received: by mail-qv1-xf31.google.com with SMTP id y9so4303520qvo.4 for ; Wed, 21 Sep 2022 05:32:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc :subject:date; bh=oUdoU6jhCS7MDddSiZMMKWmht4+nduZIed1fM3wVCLY=; b=N2/NKbXYXYnf9X3/ehndBszDrMgi0u0IT3Dq7HasWfvzBIrIwTUE2i1B20FxFSh9zK QsQ/n4dhk91p7ho3b1eJQok9uNEWsphSsrbl2fA8JsVGUhjfKGO/UwjmVlVv1Yn8jXUm z7Xcd8zpNml9I5M/1z/1U7JZRk4l2WB1tZJ7kAsmM9btUc3djwmrewCQVaGVpZ4uzfc1 kg3MZyTVusTuayC+yBRTeOKNLczyZZXl76ltO7EYpuA0BUbeF2vwWaLAU++lnqCFoZWw iHOD+D966J5+bv6A+PTGBm82QWnczvZ3kmcON9gWS5Q+N3Om0ide4smbYuJWjtK+osRy wi4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:user-agent :x-gm-message-state:from:to:cc:subject:date; bh=oUdoU6jhCS7MDddSiZMMKWmht4+nduZIed1fM3wVCLY=; b=qqVZ8NTh+3aZyn7Z0FuLLsBaiEg4C+fLjDeH70bCsibbmemSKxmwSULqahENpwxgTT /huMzzB0scClJgHnrRNHSdg3kw/doTtTSQsLw71Y3IDlq0mYuoFKiTfXO9TmVEyC+WfO BC28c5+TJvcuhnCE/q3Egq3Tq82vPYphzmupT/ud9E4lTenO21DakqFm05/5IsjDjcRQ BBI3+48soQ/zYghVsDRFze6Ky66R8InpZ8ipMPvNHTNPbakXrkdu2uo7HSXVs0L2w30M g3pXPqnvLCoMW4wAQRzuFKN9AEeLL3edKEsTdwpzp40bsexDjUKm/3QvV50TXIh9r5LR Z/tQ== X-Gm-Message-State: ACrzQf1kAkvK6WOONb89zhgstAPNhDksjdfoMyZIpOWRe78TSxi2X29S bg6lkRq8sSpiGZ1Oxg7MukTNTO3KLdU3lA== X-Google-Smtp-Source: AMsMyM4rwLgD1f2Fhnamds29qq69cUa7k1l9SGFhNLiNWsaGA11l2pC+3SoJIiWORBhKXTZN7Hkniw== X-Received: by 2002:ad4:4ea6:0:b0:4ad:431d:4751 with SMTP id ed6-20020ad44ea6000000b004ad431d4751mr12036380qvb.53.1663763521382; Wed, 21 Sep 2022 05:32:01 -0700 (PDT) Received: from t480 (2603-7081-5f01-058e-b13f-e4be-fda5-adb5.res6.spectrum.com. [2603:7081:5f01:58e:b13f:e4be:fda5:adb5]) by smtp.gmail.com with ESMTPSA id bv12-20020a05622a0a0c00b0035d0daff6fasm464438qtb.91.2022.09.21.05.32.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Sep 2022 05:32:00 -0700 (PDT) User-agent: mu4e 1.8.10; emacs 27.1 From: Ken Mankoff To: emacs-orgmode@gnu.org Subject: [O] Plantuml w/ noweb and cached results Date: Wed, 21 Sep 2022 08:31:59 -0400 Message-ID: <87pmfoewn4.fsf@t480.home> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f31; envelope-from=mankoff@gmail.com; helo=mail-qv1-xf31.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663766275; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=oUdoU6jhCS7MDddSiZMMKWmht4+nduZIed1fM3wVCLY=; b=nHasYA91Msp2LltjieYQNFSfwk8AYWkbNzjQsxAzCkIRacYDlEtBveBqhURoiaV+7mK+0G JtjWgtN5rp/JfP0DQyJ1eoeNnQ8l26gdturIImkmyb99ff9LCkcP4tRC9yysPOaCwxbdEP rSnkxcWptzduAe1zCV+0ciAzBDF2VeqzgGHW3JBeIeyPg75kODvzi5AAVb3R4EopeWmY7o 8ASuoo25gWl01S9Y8fjMyP+sZSJp4G7CrTgfyaPmYZOLyWN/fiBMWSyTfj9lRI3opbGTQo 6WB7dAas98srj85q4ywYF+phA7oJDO21DCDCuvKTmEykvPDE7+ABJdluPWYYjQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663766275; a=rsa-sha256; cv=none; b=TXeFLyBMbxBaPaWl0N47FDFVK20nW2ChQVQuIWunQ6ypBhnMwC5nBOnR0+z3v+TuzfUeRa TSv2VTpwZhnvID2DWHCAoqS9QZjSgN0bBRSRsBGtbJsG8b97NpazQKmQfpsbUoecXPDqbs NbNZUZptL+mqTqycSRizpECqak6+fYhEtzgNWgbzruQBN8DHJrRCfZCQq1m5LArxYuH2nN bOJeqy/OOCS+U7E4jqs5nGzTJv93qLn0l5OHoJW5wzrfoh7fhnVBLiFrckEEt72iFeP5Ks RoS5gho7uN1f68MUh4haeb5fqnuLvsq2KmiBR/GL/7F4cOL9wFwvZvcFk/Yfgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="N2/NKbXY"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="N2/NKbXY"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 760CB3BDA3 X-Spam-Score: -5.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: dA+ItQ+PJ9ZR Hello, I'm not sure if this is a bug in ob-restclient, ob-plantuml, or Babel. If someone can help me figure out where, I can move this report to GitHub (if ob-restclient) - otherwise I think it remains here. I cannot use ob-plantuml if results are cached. See example: #+NAME: cache-no #+BEGIN_SRC restclient :jq .[0].address :cache no GET https://jsonplaceholder.typicode.com/users #+END_SRC #+RESULTS: cache-no #+BEGIN_SRC js { "street": "Kulas Light", "suite": "Apt. 556", "city": "Gwenborough", "zipcode": "92998-3874", "geo": { "lat": "-37.3159", "lng": "81.1496" } } #+END_SRC #+BEGIN_SRC plantuml :noweb yes :file cache-no.png @startjson <> @endjson #+END_SRC #+RESULTS: [[file:cache-no.png]] The above graphic is generated by plantuml. #+NAME: cache-yes #+BEGIN_SRC restclient :jq .[0].address :cache yes GET https://jsonplaceholder.typicode.com/users #+END_SRC #+RESULTS[(2022-09-20 15:52:59) c41e0371fd392d6fbfd07ff4078abf8c387885ea]: cache-yes #+BEGIN_SRC js { "street": "Kulas Light", "suite": "Apt. 556", "city": "Gwenborough", "zipcode": "92998-3874", "geo": { "lat": "-37.3159", "lng": "81.1496" } } #+END_SRC #+BEGIN_SRC plantuml :noweb yes :file cache-yes.png @startjson <> @endjson #+END_SRC #+RESULTS: [[file:cache-yes.png]] The above graphic is an error message. It states, "Your data does not sound like JSON data". -k. n