From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32773 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:33:20 -0700 Message-ID: <336872A1-2E6F-4BCB-801B-1230E2455ED3@gmail.com> References: 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="24109"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBREMRWSAMGQEODJOKHQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 09 17:33:29 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pj1-f56.google.com ([209.85.216.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q7e7E-00063j-Vb for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 09 Jun 2023 17:33:28 +0200 Original-Received: by mail-pj1-f56.google.com with SMTP id 98e67ed59e1d1-2568461a928sf586367a91.1 for ; Fri, 09 Jun 2023 08:33:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686324807; cv=pass; d=google.com; s=arc-20160816; b=0IT/lxNgyj28efL4Ap2nRV1OikF0jSIeDTK55mE0kPEjqUd2TtGYfsmnfo4DYVU5vi KYY3Egs6uUNqmECK61RdPo43V4OWT/Gn2/aeBy5gVNn2SJEKq97Z8FGAsrCm499sjdkh l9WH3vuiF0qbs37SkvB8FskCXJzZiKiqJMwkhyYXiwjL3ZWF9J4e0Tt/b8ajcZdlgpRi sPlhzCHrV5U9++eDVKFE0HJWal2NUModO5EDsoRheks4pESOsj9Py8MzYqm8mlf5wofb Cp/tTVXXn7iw21JXDC1KtS9Z7tFAQmnr00jatlU2N6fg1uy+yD5vha5P0u/3iaDe4uvh diXA== 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=z2nH3zuxcs127q86jWZn+4MeVeYosRshT0ogcP4mbmU=; b=INFtOeKNywNl8hIC5XKkSeOTrkkBEx9jUXnWwgsvt53FJOR2q1lLKJ1ryhwAeHUWYh CrgaN8xexuG7F+oBXLrDV2Dfonx9I5303Dw0CRkNJvBpgyY0OEnGjX3JWaNfREeX98AV KJtmEH2GYLeMSJhbQLQNl2hFFAw5G6CMieTynpYBEWJ5x7Q/wWz9qOIdlrUW3ObvE5dv f7eAr5cpCPC5mMpA6Hrqxya5szcWX7RzXNDXqox06rym+1FqdtPvFX4nCuwoFB798wDy cfoXte3gIcbp1pYshwgJmXOHL2DYqr2WhEEoLRQs+s0Gd+xMXZC61sMREVUGVGjm2BOn RFsQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=l717bTcr; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62c 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=1686324807; x=1688916807; 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=z2nH3zuxcs127q86jWZn+4MeVeYosRshT0ogcP4mbmU=; b=pEPhjd0AjxuDS8Fa+b/318SzMb/jo30rcAjPPMDocyuPkW1IOncau0rW+HjeH8+umE tTIuXQ9fIPYMg4yS8VoYeIYHCA9jnopBFcjUeyaZbYHXz3SuSRBtvMndhFJDtYSkwOs6 WqWOvVWuOh2Sp1Q3W/8pnauQwk7xOf/lpIHYpeAOYOuT2Y5AIk03lRGJ9CNE96VVL59B TYXdQVpfeDdy/omf6CldOzGXuV6RfzqbAiHAwJ3Zjyg2ZTyrYczy+Uw2vPbznkEbOR8l 1DwZYOM2ml7Q1aqBQ0nk5GxD6wxB4sF1dP35U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686324807; x=1688916807; 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=z2nH3zuxcs127q86jWZn+4MeVeYosRshT0ogcP4mbmU=; b=NTv3P51mDUjmgd6stjfsYU8MtyhCjAQTvyFVOpyAUr0cYk7W4iyOOmMqu8gJJvK+1d G5PAPOfN1+HZsO+9H3cUKXMi4fZ79dSiJZmvqdHY3Xxirpf5/P3Eg0+r5UD9/0Zjn82Q 7R1QhCk9b+hP/8efy9XpmTMRYy1JtsqRfA87+UUp3pW3Vya/SW5jfnwMMJKRmmysfeWb JqnhpgSM1rrnql0Hn3CXFjfHstjizCmaAY1qLRqKHjGTcgcz49lHy6KWrDIYbtQaQ7U3 YWc2Fq09xY6fOqPtbclWxdDtF7QqmEAREipXT9FH1pZ9OVfsG+k X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686324807; x=1688916807; 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=z2nH3zuxcs127q86jWZn+4MeVeYosRshT0ogcP4mbmU=; b=jAPHqvkH1jzZz7dcMBHGcruUi/bTa9dsDoDEM2clZZ5HnaYWtJkUyq8CWQ6fg1ek6q YoHnm2nka5J/N08LTlS95KfhhtgmXrrSWZJLRZvVUD+zrYkZY31jAbKnz9LfkkmZkMQZ X4upz/0UHqdarsz+aBwO6IluncUzzqT5hHKTwSBZwxrMDBGKafR9AUXNSc6iIvEhaeN9 Gv9EHTJctkNx7nvonwEdKhq9BX+n9GhAGhVnXMuGIk3lYzf6KlfT5v3ynu Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDz+32e4rnhhtDXNruF8PNQ50ns5s2g/jCzcm48BONOE5Eht9hOj hu7qjvd2o5X04k6v1aWAw2w= X-Google-Smtp-Source: ACHHUZ5fVYt/jVrOb1B2iadMhePW/kl51aS5uM6tA2o6WOXq6zf4bDHKudqNkj0kj6di9fiuVKY/+w== X-Received: by 2002:a17:90a:7e02:b0:250:ab4f:59b1 with SMTP id i2-20020a17090a7e0200b00250ab4f59b1mr1274516pjl.11.1686324807393; Fri, 09 Jun 2023 08:33:27 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:90b:4b52:b0:255:85a6:3d07 with SMTP id mi18-20020a17090b4b5200b0025585a63d07ls1761712pjb.1.-pod-prod-05-us; Fri, 09 Jun 2023 08:33:23 -0700 (PDT) X-Received: by 2002:a17:902:da8c:b0:1b0:5ca0:41a8 with SMTP id j12-20020a170902da8c00b001b05ca041a8mr1567982plx.39.1686324803582; Fri, 09 Jun 2023 08:33:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686324803; cv=none; d=google.com; s=arc-20160816; b=qL9Rzkb4QSdyfhX3gf5OVEzRdOnyyPtxqyo70PERmrz1mGkavsCGXtvODf5WNpRH9i fQjhY8VS6+jgRRqJxHtG2Ds9Gg4VbR/6W15Br4qnvzr6CxJ0I3VevW/+JU+3oipgV3ao CQQR6BwmvEQoh2OMbSTfpw21ydNqtWfthu8BkGuwASfNXVALheonPR6eUYm7XsMOMDsJ +oRDUMY5qN47ZhyBPI4WO+ivY4Y/SwSnHtKJ8Q16XszAc5D2KwKBCwP03cQlKA656ZRZ Nr9EnXQyt1AnQiIDxOoOl+tek6NL5IsLXhX3S2vDNSzOuaIxf684tBg7LKl/5mV+/Xqv 5sUg== 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=Xa2AiBqFYBRysBaGaSsFYy0AA/bgf+56irPt+cxX8p8=; b=pdDbSy9g4bAyqFdcUL24cYlawV+zu3l3nnySI+B3w80sd/ngt8s8NJ1/oXqNLyUXDc 0MvLhLpu9chN+TDgLU53JTBBfQcmLmfcmvxasZrCu6o4/c32w9NycLcWcopgNmOZ99Gc 4Jq2rqlZbwDOG2ht0Ykuk59be6zGshJbGWhdx1GVB61xOXzVwo1U8gUWw1OBXHOl36Ce Vx1f1x1lrX/awz3T0thwr7cGJFt3VkVtqjOL6jICz2cBt3df6Zyo+mr7qngc3+mh/VNH IcdQpR19mRPCIsIz/BVZFRQOFj3upOtrA0E1gsXgQaGueRhvK1Fhe9MTRSfmB9lqMz1f 3nCQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=l717bTcr; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62c 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-pl1-x62c.google.com (mail-pl1-x62c.google.com. [2607:f8b0:4864:20::62c]) by gmr-mx.google.com with ESMTPS id lk10-20020a17090b33ca00b0024e59d95b82si336054pjb.1.2023.06.09.08.33.23 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Jun 2023 08:33:23 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62c as permitted sender) client-ip=2607:f8b0:4864:20::62c; Original-Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1b01d912a76so7247885ad.2 for ; Fri, 09 Jun 2023 08:33:23 -0700 (PDT) X-Received: by 2002:a17:902:d488:b0:1ac:8cd6:9323 with SMTP id c8-20020a170902d48800b001ac8cd69323mr1407453plg.22.1686324802816; Fri, 09 Jun 2023 08:33:22 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:a56f:2880:d03e:8e08]) by smtp.gmail.com with ESMTPSA id u15-20020a17090341cf00b001a2104d706fsm3423681ple.225.2023.06.09.08.33.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Jun 2023 08:33:21 -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=l717bTcr; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62c 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:32773 Archived-At: 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. > 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 i= n several days, so I'm posting here. >=20 > I'm having trouble consistently compiling a particular document with rmar= kdown::render. I cannot reproduce the issue reliably, unfortunately (it hap= pens roughly 1/3 of the time; consostent with it being a network error, may= be?), 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 follow= ing lines are the last ones in stderr: >=20 > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpB= A-UvWbX2vVnXBbObj2OVTSKmu1aB.woff2...=20 > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpB= A-UvWbX2vVnXBbObj2OVTSumu1aB.woff2...=20 > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpB= A-UvWbX2vVnXBbObj2OVTSOmu1aB.woff2...=20 > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpB= A-UvWbX2vVnXBbObj2OVTSymu1aB.woff2...=20 > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpB= A-UvWbX2vVnXBbObj2OVTS2mu1aB.woff2...=20 > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpB= A-UvWbX2vVnXBbObj2OVTSCmu1aB.woff2...=20 > [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpB= A-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 i= s the last thing pandoc reports before the error (there are 24 of these fon= t fetches in this particular document, as shown by the output in a successf= ul compile). >=20 > This leads me to believe that there is a problem in fetching one of these= fonts, but there's no output that says what the problem actually is, and E= rror 10 does not seem to be a valid error code from pandoc: pandoc error co= des. >=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 Pa= ndoc Error 10 - as a bonus, it even seems to be related to fonts.gstatic.co= m, but that out seems to be more specific, including a [WARNING] that I don= '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 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/ec43be1c-e46d-4323-a70e-c97a90e670f0n%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/336872A1-2E6F-4BCB-801B-1230E2455ED3%40gmail.com.