From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32786 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Pandoc error 10 when compiling document and fetching from fonts.gstatic.com Date: Sat, 10 Jun 2023 08:15:31 -0700 Message-ID: References: <336872A1-2E6F-4BCB-801B-1230E2455ED3@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15548"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBF5HSKSAMGQEFV6TIIA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jun 10 17:15:39 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qk1-f187.google.com ([209.85.222.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q80JW-0003tw-UW for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 10 Jun 2023 17:15:39 +0200 Original-Received: by mail-qk1-f187.google.com with SMTP id af79cd13be357-75ec66a016fsf396866585a.2 for ; Sat, 10 Jun 2023 08:15:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686410137; cv=pass; d=google.com; s=arc-20160816; b=Jio3YFlBI4J+1r0BKhyKevLs6gM3dXqkUk8FY/7exqVn9yhfrvMQo8NzS4YybONZeB +h/EeouKrti0Zsl2gM4ijmPJYH7Zu9VsXFQ4L6Dymzxs7j6ngrr/z5/m6HwgApkmXsAA PEuIiuZW/kcrPrLCNL6i2ESTeWunuELYm6B0iFEJsieWB5JmXCAixQoDtFExEEVN+1A0 PPBEHAWa0z/t8XbD8upipgis+WcfP5z2+pAY0Vr/RUKsuQ7CkG4AxN38sNxOxIa+w0Wv iLhs9sthZVkw7d7c7rHmwQCfkficT9t9bOaF1QQXmhP5LebAQXZdeyqsg6vSJ9P0p97N aciA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=Qav2yxCCPeaFt0QdVzogUVtArmOCczXfu5hIIAnxhrU=; b=a1pcmn+NI+UDzCcz1fLmuzTXuIIUnDQ7XbHFx3XtcZslTv1GbB/kDEilnxv2Q+FCcm mNtX+V0AlGLGP2eDIlaBa5iaoSUObi3qLvguT6oHALIoxtSbUyWhI9+TrTBsHRMvYPbl WCniLydpNKW4aLoknrGayr9jpMZlm1ouZr7XBDkXYINhSULGfaDr1XAix04N82lC7wni c8aT2cSqElwnB8lSMKtdwaWm7Va7dE2voRajEVdjXx7Ksi2MCKS8lnCJ2vs8JbKV8nox BORzfNB49hqxOtearP02hoo2FPVLNqwZzmynmGL+eaH9ZiWaQwVgafJ2gGCATQ84VXsE bbYg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=KWml+7+m; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1686410137; x=1689002137; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=Qav2yxCCPeaFt0QdVzogUVtArmOCczXfu5hIIAnxhrU=; b=DkP4giP3sDK2k/XvT/adwYqzurCr2oTpk4TEtjf29o2B+5MQpfRO/03hM8vUoPg1F0 NfaNhoWuSMI7d/drVq7N7AN1/wLVYqI+VjfOCfpeAL44beGGHOXG8KpxAZMmR2wA1huZ 19lZk6+ZW+C2MUz0ZU5QPe2UfUc50MSY959TFcKz+Ydv0Wp/fI7APUjuoTeTa1GLtOSE yB4vN4xE41e9LF99LSUdZvUaTC4N2cgVaMaCiDlJpTk/uS5NJBMPhwhECovJmgSgvzJP hySKuBJS3EWu0jlC8Jji9wqw0yDuOZPDj/Ab3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686410137; x=1689002137; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=Qav2yxCCPeaFt0QdVzogUVtArmOCczXfu5hIIAnxhrU=; b=Sfhv6NPTV9HnLRcEmRfRMgbrtYaH14n7UN3/yX9jmcHL+WxC2GgZqVzaRNO2Uy9PpZ SiYrPH7Jw3EGiFHbO4eNbTZd3p0xlLvxxFxwnqSWHjYaoq9WK3zoJ18bGWIjdMWIZH8E WF6Abm41wBRVypWTpzsWZ6Ff+Ag9ry5QEVsTzxXCwSoLkNc7Ca8dg+H630OSpTNHKsCq hMMQFKJXdKFFAv3Sav8HdRTIVuDK4xsFhS8CZrdK4JZIeYOqOybJGQeGvCoGWURwjkgf g4GOJDUhrD656NsYesyUav5fN3/uKQrNt/9lfiBTI57lEAk/ngU X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686410137; x=1689002137; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=Qav2yxCCPeaFt0QdVzogUVtArmOCczXfu5hIIAnxhrU=; b=RGA1IkBDNQzSqyNhg86rcAvnLbYnxrWrJh4d4r/BKZba/rn13+A1ESjsdpVlm0HfYI 7z38vNlE7fvDwkCh3lgjDadAi4csE8bGJH2jlFKumv3K71jZKxdG+nhAzCoUc8C9wOI8 pApKawTipbxq8lp7Zo1zz3KYQMUkXRXIEaymciqADIngJmGPCZqCza5pLWVghherNiWD +YJxgxAhI5JBhj1bu+A0YSKWOtA0seSCTY8YX6LlC60wTxqXByXmzNQARd Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDz1DRiZgWCeiNGDzJ5DL3JGO3gA6XegIQ6MdGlsDtMzFdR+O/22 7ct828BZSQdiih8VucclPUk= X-Google-Smtp-Source: ACHHUZ7rzW4oAKLHEm5AsmpAUDwWkvfkT/qYOkK0ashARaisSabOlQ9JFb75mucyTrUrpg/pWvRyMg== X-Received: by 2002:a05:6214:1c49:b0:625:976b:571a with SMTP id if9-20020a0562141c4900b00625976b571amr6052444qvb.34.1686410137775; Sat, 10 Jun 2023 08:15:37 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6214:b2e:b0:626:3bf3:c6bb with SMTP id w14-20020a0562140b2e00b006263bf3c6bbls1092588qvj.1.-pod-prod-04-us; Sat, 10 Jun 2023 08:15:35 -0700 (PDT) X-Received: by 2002:a67:e2c9:0:b0:430:7349:3de8 with SMTP id i9-20020a67e2c9000000b0043073493de8mr2631235vsm.34.1686410135201; Sat, 10 Jun 2023 08:15:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686410135; cv=none; d=google.com; s=arc-20160816; b=xIg8IdlrE/GSveiSzca0liiznlpGmcOFBJ98MWj4W+iMxYOuaThJ2RsOl8hyD0AYTR CA+C2+of+J52+WuqUa7Nfn0mLDarxJhN8LYtH3kcPD800Mwf3lPJGJt4xmmWGy7y3Wht 2qAOfUxVin4ghvkox2UOsvJ1S52KeHl6WdIUEbJLbY35org9rG/clkj5wSAkVFc+ga7F WgUpLGwBDIAGB4A5XXtDKONEbxx02Jydluy2TmB4hPbt0Bgs/j8fhC3szSf16JDNLFZ/ 0Axmxm4TdmEy4V/bXHSL3aKIIGypSGnIqgdC6XnK12/155L6x1hDDmy0jUYT4+FtiZ8i vmvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=zeDa9N5akqNk//vabNECqeFYfiw+kSt4Y+9c0huDpLo=; b=mU4Sjkoy6R0VdrRlnMyCw0W+/+Z6ubhF7EtDU1CGpQbFQYuJYGVBI46VRPts/eW+n+ mRXDdxg5qx42E5OPy1hZTAb/jAVD/uJecYWNeb7IpA971v9xwz6WvRkvBdqoT55C1hHZ 6FbMZilZr8YF+sTsJRmaGuWQubNSLMSEUI610G6wy6qoRw1NbyRtm4jx/6nE78b0lPUg BjHDOCJ/8pkLQxQ9BM+J3RH4ngVTmJPrEUTno1Fd17nkvdafKmcc4CuKE5ogbuV7Wcr3 CwqWpGIrAWTDkm606Frg1b6GvvFNZ9nEXAlEFnkED3NSBcCc1B4zzsbzmWp41f73AuRf nk+g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=KWml+7+m; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com. [2607:f8b0:4864:20::42d]) by gmr-mx.google.com with ESMTPS id cw41-20020a056130222900b00786dc05ab38si1043253uab.1.2023.06.10.08.15.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 10 Jun 2023 08:15:35 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d as permitted sender) client-ip=2607:f8b0:4864:20::42d; Original-Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-652d1d3e040so2254162b3a.1 for ; Sat, 10 Jun 2023 08:15:35 -0700 (PDT) X-Received: by 2002:a17:90a:d786:b0:258:71e6:1c24 with SMTP id z6-20020a17090ad78600b0025871e61c24mr3967305pju.12.1686410133552; Sat, 10 Jun 2023 08:15:33 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:a56f:2880:d03e:8e08]) by smtp.gmail.com with ESMTPSA id bx10-20020a17090af48a00b0024e05b7ba8bsm4601993pjb.25.2023.06.10.08.15.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Jun 2023 08:15:32 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=KWml+7+m; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32786 Archived-At: I've searched the code base and there's nowhere we return a 10 error code..= . > On Jun 10, 2023, at 1:48 AM, Richard Morey wrot= e: >=20 > It is the output from an R system() call to pandoc, which returns the pan= doc error code. One thing I did check was that it wasn't a 1 with a 0 conca= tenated on the end through a missing \n or something silly like that. It do= es seem to be a return code from pandoc, but I will check with rmarkdown to= o. It is frustrating because I can't reliably reproduce it, probably becaus= e it something network-related. >=20 > On Friday, June 9, 2023 at 6:25:31=E2=80=AFPM UTC+1 BPJ wrote: > It seems from the cited error message like it is rmarkdown (Rmarkdown) wh= ich exits with code 10, so probably not a Pandoc issue at all. >=20 > Den fre 9 juni 2023 17:34John MacFarlane skrev: > That's rather strange because we don't emit error code 10: > https://pandoc.org/MANUAL.html#exit-codes > But it's a bit hard to diagnose these issues that involve external code. = If you can reproduce the issue with pandoc by itself, that would be helpful= . Also it could be useful to know what pandoc version is being used. >=20 >=20 > > On Jun 9, 2023, at 1:41 AM, Richard Morey wrote: > >=20 > > I've posted this on StackOverflow here but have not gotten any interest= in several days, so I'm posting here. > >=20 > > I'm having trouble consistently compiling a particular document with rm= arkdown::render. I cannot reproduce the issue reliably, unfortunately (it h= appens roughly 1/3 of the time; consostent with it being a network error, m= aybe?), but when it fails, I get the error:=20 > >=20 > > pandoc document conversion failed with error 10 > > from rmarkdown. The "10" is the return code from the system command tha= t runs pandoc here. > >=20 > > When I set pandoc to give debugging information with --verbose the foll= owing lines are the last ones in stderr: > >=20 > > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZ= pBA-UvWbX2vVnXBbObj2OVTSKmu1aB.woff2...=20 > > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZ= pBA-UvWbX2vVnXBbObj2OVTSumu1aB.woff2...=20 > > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZ= pBA-UvWbX2vVnXBbObj2OVTSOmu1aB.woff2...=20 > > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZ= pBA-UvWbX2vVnXBbObj2OVTSymu1aB.woff2...=20 > > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZ= pBA-UvWbX2vVnXBbObj2OVTS2mu1aB.woff2...=20 > > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZ= pBA-UvWbX2vVnXBbObj2OVTSCmu1aB.woff2...=20 > > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZ= pBA-UvWbX2vVnXBbObj2OVTSGmu1aB.woff2...=20 > > Error : pandoc document conversion failed with error 10 > > The last line varies, but it always seems to be one of these fonts that= is the last thing pandoc reports before the error (there are 24 of these f= ont fetches in this particular document, as shown by the output in a succes= sful compile). > >=20 > > This leads me to believe that there is a problem in fetching one of the= se fonts, but there's no output that says what the problem actually is, and= Error 10 does not seem to be a valid error code from pandoc: pandoc error = codes. > >=20 > > I'm sort of stuck debugging until I figure this out. > >=20 > > I also note there is a similar issue here: NYTimes and 538 Themes Give = Pandoc Error 10 - as a bonus, it even seems to be related to fonts.gstatic.= com, but that out seems to be more specific, including a [WARNING] that I d= on't see in mine. > >=20 > > In case they are helpful, I've put the logs of a failure and success an= d the pandoc command that was run in a gist here: logs > >=20 > > I'd appreciate any insights into what could cause this and how to fix i= t. > >=20 > > Best, > > Richard > >=20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google Grou= ps "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send = an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit https://groups.google.com/d/ms= gid/pandoc-discuss/ec43be1c-e46d-4323-a70e-c97a90e670f0n%40googlegroups.com= . >=20 > --=20 > You received this message because you are subscribed to the Google Groups= "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/336872A1-2E6F-4BCB-801B-1230E2455ED3%40gmail.com. >=20 > --=20 > You received this message because you are subscribed to the Google Groups= "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/d229eff4-6162-4a3b-9604-4361230cceabn%40googlegroups.com. --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/DA9E594B-6FAB-4D65-BA2E-814EFCC889F7%40gmail.com.