From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32774 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:34:45 -0700 Message-ID: <1E0EA465-B672-4B97-87A1-A49D4CC9F568@gmail.com> 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="32684"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBGUNRWSAMGQEPQPC5WA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 09 17:34:54 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qk1-f192.google.com ([209.85.222.192]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q7e8b-0008F4-My for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 09 Jun 2023 17:34:53 +0200 Original-Received: by mail-qk1-f192.google.com with SMTP id af79cd13be357-75dfef90315sf262508785a.1 for ; Fri, 09 Jun 2023 08:34:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686324892; cv=pass; d=google.com; s=arc-20160816; b=rSHWkjOfMDvxzQlNCnw7cex8eyqkrcsq/yvksLfXKp2/3DeeIpbZblDIVqVDGlBGZc AfhQY3TmuNFyMXdqoeq4ZufyOTJsRmvuD1d7AIiSD7RUfVm+CQhBi/quo7RdSvjxsSya wnNgMDtdMi2MuScpBR2lnHubxeHxNVy4BrfqAHKDOhvR5DfYit5XxKLN9cCBgkMQvZGN KQj5PQ4+lIMDqpRlsDSsjbREL4l+mLKPaseWi+lNp9pPSGMHw3dQe/roFM1uuyTp0+i6 9usXnv/b+CtCeOj0T/4/VmTtKXnV2m3VG/fYy6lIwwGkR9xT9bz3p/8jjvC/qhMuGXa5 BcSA== 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=KQZ1TXpgk3rBRFT1oWYPJ9d80E0yt3QNpUbYY+xpIAs=; b=l6QFc9KxTPxrLyZfRUT9lTKx26bXtvyjB0AGDJ/Cf9JogeMoh1c4xKJ94Nto3RUOIK y8VMFv7ANSp25nqDtALuqFHjvzx802c4KdY38rl/suJJ2FWM0WPh2UHe81gL17VVX3kv Ba0lucnbWEZnY4ts2sate2L0MDcRdB4qHBLhS+FUcT0zvR+9NlKdzsz/xQMWTIi5a/Rt LpQ/gTpZdcH1Lj87/DzWaYrQ0pk0Wps3xqld60Han2Im+IUofrj1BpTSB19YouD6oNS/ r2bT07EBiF9rwnigf9aBxw18qsCNXWJor1tgGjj7MmaRCKZDfeqV8cqjrlzUmijSGn7P PNoQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=fNsxwn1q; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102e 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=1686324892; x=1688916892; 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=KQZ1TXpgk3rBRFT1oWYPJ9d80E0yt3QNpUbYY+xpIAs=; b=GqK6R3BSwUVJtYYK4aDmoCac6ISb1Krx3AD1twclV/hOGXjWHBJyrcCEUnvhdq9/tE /sL9vFPt5YqcEcwJQJwNsm9M4jDLP5qPTMXtu2QoobGH2H40mzt/Ma4xxCVr2eZFLH64 zwm1v8MvGFrA43Bfyo0OTWtuLkh9kl982CQAuK5VW+6hfbp7ljEsPE0PH90lvgUG9Neb iyhkrcelLaJiToOHfhPYjEtknzb10G6zkAnEmlj301O1tOnzGdTyqn1HeNS6N/H+HnwL Dabb7SmcydB2CqFFRoKMd254S7F5IZ0j2fAtI DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686324892; x=1688916892; 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=KQZ1TXpgk3rBRFT1oWYPJ9d80E0yt3QNpUbYY+xpIAs=; b=p+5wBL/4AlHc4FdH6RbOTneqEZKB2tfOIPHoRW1sq7t9ojbLWrpbYtbfODXXRUzgbv 6ernpjZOW+2U0xX1f2kc0Q5dIoT8Juzk0/7aZUU+kK+CiygM6tu3Zp38HqYe7ApIGdPa 4K99GbhtczwM8wkp5DPrcHFnvCJd/hJ0eLEi986QueHglfLXEOjPrSRHlcf6O6bJ0G47 YYT8t9ulJQDblU893PyNixrTa+v2cOJbBNv32Scnoz56fDkSV7l3mFQExbn7PdWTMPK6 yfxWIMi9keYOc9MwAfH/rTqWib249JqT2NyCUUp5nXMvk730oEP X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686324892; x=1688916892; 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=KQZ1TXpgk3rBRFT1oWYPJ9d80E0yt3QNpUbYY+xpIAs=; b=GaFGc5rovq55czsIuYWoXLLyS61drU5tMm7ETrGeHgyIbdHlQcomRLt8yy4jXa3FvX Ba1Oq1kYHXh3psAaTjyOK6Pi/lwDseH1VLOb9heqOkbNiDPdkp+mx5J4s7RsH6uN8kmU qyBjmc91E9q0IbRO3fz8sQjmH1/vdAonxYKe/Wva0Q2fRM6paw6wRZL5O5XDMVj9P646 0dm+edd2gWzUJdS4rgQJvXaIUeBc2P553VrH2nJL0wx7gUXUywGpebVOdl Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDzmVm7EoufgygaLUf7QWbOGIrwcA+5k+VmSv39c/05dwK7KLAib gKpu9wwAfw6sT5zDqGi8qfI= X-Google-Smtp-Source: ACHHUZ4Nw97Sjkeec0tiar6L03jERthcH93+8mg3whlGsL2hUxmnmFk3C/tH5LpfwO/gB5movggjWw== X-Received: by 2002:ac8:7f8d:0:b0:3f3:8e14:f597 with SMTP id z13-20020ac87f8d000000b003f38e14f597mr2032617qtj.65.1686324892601; Fri, 09 Jun 2023 08:34:52 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:7310:0:b0:3f6:82b4:d443 with SMTP id x16-20020ac87310000000b003f682b4d443ls277140qto.1.-pod-prod-06-us; Fri, 09 Jun 2023 08:34:48 -0700 (PDT) X-Received: by 2002:a37:4246:0:b0:75b:23a1:460 with SMTP id p67-20020a374246000000b0075b23a10460mr1308227qka.38.1686324888174; Fri, 09 Jun 2023 08:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686324888; cv=none; d=google.com; s=arc-20160816; b=fQxE+yh5VJ7HR2Aq/AApgE4ukpIrKuAwVMfCrMBuH4l8i7F3bw1t1HJcL2rZUUs8Vt LRN0VuJJNo+Ajuh0eAxTsO7/N7AziSByKH0dcxXodwXI82IuKvncsex6f3YjCBb1F8Lp c86K0st5mVp8ebFEddzuNXcHLklfM10xwQTrFjED1cj+LZad1Nkj9eTsqlHYVDY7jgaB rvYVNBLm/6hsMoQ1dJM8BNQN+fbvozAWl+Cqx9yntAsZW19V2eAZ1A8MOwBHsfPechZR VpzNh1zFhL6NkstJx3n7tZdnhHTYbUyZMvgyQEYEJRYVV47XIYaSkYnxu5I2D81f8kir +KQA== 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=mJOju+YWyczAhwb8sDLr5jE50U06m6hgUCsRyubCxmk=; b=mXpbXuQQ0vUV3NGPfshuGnifh9yh8HiTKQMH3MbrYS3pCTk3Sa4sHhu5qtwpnakWCy Fa0XsDrGQGxgntkol11DZ0WIusxKivvfPktf6orwa5g8TxMxQeuk3UIyio8DQwSIn/Ps uPlbAb8g34O4qPYJCKE8SK4PE/P/zm6qjQI3tXvDQ4WseCRaQhBVzAg6Uhk1xundtp9C EK3PgBPoMCY+pCa0fW9N7lsptBrr3reCxANFCDTGtUYxSWNuqW6X02mdt4JRY1R1c3Fc Bm12sO+/4zCxj13cByCJuY5MsBdIBX9ndsEimpMosv+/9+Xq+O9qOvyPkAFlyIGuCHfF /5pg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=fNsxwn1q; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102e 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-pj1-x102e.google.com (mail-pj1-x102e.google.com. [2607:f8b0:4864:20::102e]) by gmr-mx.google.com with ESMTPS id v20-20020a05620a441400b0075d536e21e2si309891qkp.2.2023.06.09.08.34.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Jun 2023 08:34:48 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102e as permitted sender) client-ip=2607:f8b0:4864:20::102e; Original-Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-259ac20bdeaso777897a91.1 for ; Fri, 09 Jun 2023 08:34:48 -0700 (PDT) X-Received: by 2002:a17:90a:8902:b0:256:d262:e686 with SMTP id u2-20020a17090a890200b00256d262e686mr1663711pjn.19.1686324886870; Fri, 09 Jun 2023 08:34:46 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:f061:5cc2:a0af:c092]) by smtp.gmail.com with ESMTPSA id m6-20020a17090a71c600b0024df2b712a7sm3068536pjs.52.2023.06.09.08.34.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Jun 2023 08:34:46 -0700 (PDT) In-Reply-To: <336872A1-2E6F-4BCB-801B-1230E2455ED3-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=fNsxwn1q; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::102e 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:32774 Archived-At: Oh, I see now that the gist provides the pandoc command and it's output, wh= ich is helpful. > On Jun 9, 2023, at 8:33 AM, John MacFarlane wrot= e: >=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 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 wrot= e: >>=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 rma= rkdown::render. I cannot reproduce the issue reliably, unfortunately (it ha= ppens roughly 1/3 of the time; consostent with it being a network error, ma= ybe?), 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 that= runs pandoc here. >>=20 >> When I set pandoc to give debugging information with --verbose the follo= wing lines are the last ones in stderr: >>=20 >> [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZp= BA-UvWbX2vVnXBbObj2OVTSKmu1aB.woff2...=20 >> [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZp= BA-UvWbX2vVnXBbObj2OVTSumu1aB.woff2...=20 >> [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZp= BA-UvWbX2vVnXBbObj2OVTSOmu1aB.woff2...=20 >> [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZp= BA-UvWbX2vVnXBbObj2OVTSymu1aB.woff2...=20 >> [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZp= BA-UvWbX2vVnXBbObj2OVTS2mu1aB.woff2...=20 >> [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZp= BA-UvWbX2vVnXBbObj2OVTSCmu1aB.woff2...=20 >> [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZp= BA-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 fo= nt fetches in this particular document, as shown by the output in a success= ful compile). >>=20 >> This leads me to believe that there is a problem in fetching one of thes= e 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 c= odes. >>=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 P= andoc Error 10 - as a bonus, it even seems to be related to fonts.gstatic.c= om, but that out seems to be more specific, including a [WARNING] that I do= n't see in mine. >>=20 >> In case they are helpful, I've put the logs of a failure and success and= 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 it= . >>=20 >> Best, >> Richard >>=20 >>=20 >> --=20 >> You received this message because you are subscribed to the Google Group= s "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit https://groups.google.com/d/msg= id/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 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/1E0EA465-B672-4B97-87A1-A49D4CC9F568%40gmail.com.