From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32775 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: Fri, 9 Jun 2023 08:41:20 -0700 Message-ID: <605DF286-3839-40E6-ADD9-CF18C27ADD92@gmail.com> References: <336872A1-2E6F-4BCB-801B-1230E2455ED3@gmail.com> <1E0EA465-B672-4B97-87A1-A49D4CC9F568@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="26848"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBIUQRWSAMGQEUM26CFI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 09 17:41:27 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-io1-f56.google.com ([209.85.166.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q7eEw-0006o1-Im for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 09 Jun 2023 17:41:26 +0200 Original-Received: by mail-io1-f56.google.com with SMTP id ca18e2360f4ac-77ac656cae6sf224220839f.2 for ; Fri, 09 Jun 2023 08:41:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686325285; cv=pass; d=google.com; s=arc-20160816; b=O1HpVsEIoGQHAqT2hIE/o17/QcP7Hncs/TUeUdRpZEcbiOt3hmW3W24NYPmVj99M8h FYZYMySmcl9TuwIHlzhGwqBW27Yh1tfEwK25XO7ReIr5Fp5uA4xFSAGqMSY62Mc1vUxL KAxC3TABU0rgp8NsItBYRryONiYoJCgvGS7RyJ2DMNBUmRRJQ0y0UKrg8KQuU+pWV2V7 4PCPoLrSWiYCGUJasftM+p1Z7UcJ4h5AMk2e0JdS2c9JzSy9d0V3Pw0Rz7/Q2eGX5AnT dRGonHl8d37aNjnyvF3ZDehPS1XBKVFMiPxL2wrtrxJLlVbMm1S/Rm8S1RKyW6v1elDh 55Lg== 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=asScLspCkLJrjYxNcpGNFV25gF4gaUTOuKyNWAyXrWU=; b=iErtXMHLosydI+XSQ9kkkv88GvG8rItiEa2LcVVACe91Rd+17qNQCJqausCRORDugv 11pF+1F9WGjeYd11C+gFrqI6K3jvP02odHPAkupvg1T3DApNUVqRdLuzQX8hHSSYOtdR c5g4BRWj8zJqhnXhMRNED8z08yYZ90QBTLVz9T5+ROkKpdV34BwiD7xHwgkpaS7xf0Ly 6ms+ssZFyq7GmA+dOpY/bqLHEtbGkrEV2UDjZs13QizVb3vwbWJKBFWH7ykMMxi/XxmB axCZHaPO1zT3z01+p9hDb6y6f80VntBc4v32oaGDMGlU3KporhR4msj2isoAEYXrX0EJ zWJw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=P8N8FUFk; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::533 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=1686325285; x=1688917285; 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=asScLspCkLJrjYxNcpGNFV25gF4gaUTOuKyNWAyXrWU=; b=OWT5VSjce4ux0HjCFo7/BrOY/DTWFhpQ8HrfUE53oI2UU3FHdDuZuGxWLH523qJxWD qLBJXi2PtOZRDyr/COy+LoGt55ci8eP3wjGrOWR7IA/tHlXyuZ6Kqu+jfqq2QLAtQ2a4 lNte92tEZ0xuDD80VSnYyXDI0WMjw92At02rl8cNP20Hz8sfS8fm2Hn8+tFPofLDEBuL GMq0rxP7l2N6rhhMVVcFZ0TJMsEDpRCupk4lfYghzd79hiCG5lEdYsaabt0TLw5xZcZM ClvdejwMCTuJqTlW/VYLfBCiyRVwWEZog5/k1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686325285; x=1688917285; 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=asScLspCkLJrjYxNcpGNFV25gF4gaUTOuKyNWAyXrWU=; b=U59+z5f9jWZ17qWoWd3/nraxvtjwg8QCLW5VdwXQt+LSn+KZShbalfliN8JQFrxlZI 6YoUX7uVsIj/KyRCd/ESZuXjKKLlAboxHNZVs1FTPmQnJ2vQuGpzA2j7S7xSAtkYyuPL JPMAFXrFnwp+6Zgf3yEPdmeoGFGnc+l+Cj2xd/Agx2CpDLcwVjrEsKZIP//vLvYflCVA 6LxJwxMC2alY+R9rWA5kvks4BkgfnEiX1WmaK1P+z7Czzz6HhLAUuj1Re7utxr7LCJLu 7cwYHg9CAYMocfOt23a3f5QpUPOwSjkJoi98SXOz9Wrj/YHbSru X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686325285; x=1688917285; 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=asScLspCkLJrjYxNcpGNFV25gF4gaUTOuKyNWAyXrWU=; b=QrQo6xxN7zv5tlMyjpDfAW8ega6sWLlWOb8xFXmxDKeylz7uUo617wV0Dz5gX06Pfl YFbI6Zn9Rmc+xl0pstUvwWEQA4RPadKyXQXN2fcr9RVXxvgaBq89O1a9zG5NB0cuIkyR LaAU3qhiFezyYDaV2fhla8+QI7jwEepKSCsYBZaYZL61AmZ4KhOFxdjrnm7J2dYbEmG5 osaXaKf/+oELLqAucITULk7FdmtaEQ6RhE17zvS08rN8+yDkJiyrltfJos Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDyqhwHgiguXXMDOK/jtFhtig4Mg75x2itVAmnK83AYUSG5GtWCP RRc0uZZWUO/sNgaEAeoNnns= X-Google-Smtp-Source: ACHHUZ6BaLcKqJh1x3a4mex34G2bhXfIOc9CAP3/f8uQONvfJi0aloyGduELeuGIuG+SV/R+HIM4og== X-Received: by 2002:a92:d443:0:b0:33d:ab70:3447 with SMTP id r3-20020a92d443000000b0033dab703447mr1913228ilm.19.1686325285466; Fri, 09 Jun 2023 08:41:25 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6e02:52c:b0:33b:c1d6:ecd3 with SMTP id h12-20020a056e02052c00b0033bc1d6ecd3ls508527ils.0.-pod-prod-04-us; Fri, 09 Jun 2023 08:41:22 -0700 (PDT) X-Received: by 2002:a92:d203:0:b0:332:b18a:7ba7 with SMTP id y3-20020a92d203000000b00332b18a7ba7mr1893569ily.27.1686325282430; Fri, 09 Jun 2023 08:41:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686325282; cv=none; d=google.com; s=arc-20160816; b=TnRPHOitzeJt4NepO3/m/lRQUZChQPB6XMaZ3KhEAQDrvOzvUKQaigOog096nzonA+ DBSmw0KG9dvQzsgE4haevkF7ijIAgF9EEHVFRIeUzlRlVykiod29suLMHm1RaAhjIjU6 jDJAigvbWIjHFZc4fP4/tlxtUd2gR5ragijjEC4MQtfZuZ8bxicZq24RENxaDJDJ6j3z y+sbWftXLcm6FvUVbP/YmMbBeTzQHlze99liWBqOj7ysYzwLrf3a51NjK7oU2ks9Vl/N paTTk/LBwRsTsf80RAVZLGwX7Ip2wpk6MIxM730d9CL00aAPPbIwkt9lYPryJQ2sQyCr +7zA== 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=2B3v3F5f/sqTN8ijRplbS7JRLdFUu4Gpom5ny5oT9sk=; b=ObU3SonTnRfAMn1dOfis23D7okZ8nRkTjDp9pN1fCXl8aPsO53aBIs0wu+b8BlvoGP QxhBW/eIGGcjTTEimWyiwsV2qFzitD0T6ToxEcW1UVY/fPxhAVQnNVta/PNqr/oZlqV/ ujaJKzUx/vhoj8T16r4lZXyUmcINASC0AyyychlXbh8u5DnW1aoR9wZefERCLjLHP/1m A9xDKeV/KG+tfQ2gJdm7gyjDukn/EyBFKkMLLdRtGuCfeLxNohg+zb4t0M5qBd0aopnC /DBawMHYs0b22uif4yWnS36Z1aRE+KNMuGo+AqJpL9vsfFV8z6mutymg9EsvvbNmaFPu 7taw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=P8N8FUFk; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::533 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-pg1-x533.google.com (mail-pg1-x533.google.com. [2607:f8b0:4864:20::533]) by gmr-mx.google.com with ESMTPS id s15-20020a056e02216f00b0032e1027cbf4si371633ilv.1.2023.06.09.08.41.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Jun 2023 08:41:22 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::533 as permitted sender) client-ip=2607:f8b0:4864:20::533; Original-Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-53202149ae2so720003a12.3 for ; Fri, 09 Jun 2023 08:41:22 -0700 (PDT) X-Received: by 2002:a17:90a:4ca3:b0:24d:ef23:fe28 with SMTP id k32-20020a17090a4ca300b0024def23fe28mr1102869pjh.49.1686325281271; Fri, 09 Jun 2023 08:41:21 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:a56f:2880:d03e:8e08]) by smtp.gmail.com with ESMTPSA id m5-20020a632605000000b00530914c3bc1sm3109789pgm.21.2023.06.09.08.41.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Jun 2023 08:41:20 -0700 (PDT) In-Reply-To: <1E0EA465-B672-4B97-87A1-A49D4CC9F568-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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=P8N8FUFk; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::533 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:32775 Archived-At: It's possible that the wrapper that is running pandoc has a timeout or some= thing that generates exit code 10 if pandoc takes too long? I think reporti= ng this to rmarkdown makes sense. IF they think the problem is in pandoc t= hey can give more information. > On Jun 9, 2023, at 8:34 AM, John MacFarlane wrot= e: >=20 > Oh, I see now that the gist provides the pandoc command and it's output, = which is helpful. >=20 >> On Jun 9, 2023, at 8:33 AM, John MacFarlane wro= te: >>=20 >> 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 helpfu= l. 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 wro= te: >>>=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-discuss+unsubscribe-/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 --=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/605DF286-3839-40E6-ADD9-CF18C27ADD92%40gmail.com.