From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32772 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Morey Newsgroups: gmane.text.pandoc Subject: Re: Pandoc error 10 when compiling document and fetching from fonts.gstatic.com Date: Fri, 9 Jun 2023 02:19:11 -0700 (PDT) Message-ID: <44f0a21b-41ca-43a9-944e-38167bc73070n@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_186_791577465.1686302351181" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14290"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC33VNGTVQPRBEG5ROSAMGQEPKANAAA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 09 11:19:17 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f64.google.com ([209.85.161.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q7YH6-0003W8-1e for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 09 Jun 2023 11:19:16 +0200 Original-Received: by mail-oo1-f64.google.com with SMTP id 006d021491bc7-558a4d70fa9sf1363984eaf.1 for ; Fri, 09 Jun 2023 02:19:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1686302354; x=1688894354; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=+GDRl/VQhcVhHwpeo2RvYrCZSWQFW9d9tIowI7IdcLE=; b=DBdQU/64e29xxtyZ7OjWDFtZogDfCn+rZx3eYyts9bJJV/yAa6lWRaUwgvjRjI8i5C BvmJgAyRRoBz/+RFBeCebJ4Ku38jmQj9INOgw6woCXkT3G8jlepElTQ5ze0FqB/5K2hS gs8L1LjFOLZmIC9U38/3NU5xKKN5tyxPjalP0xlDpKnP5g/4N8Bf2v9K35AZ7+tjhnZy 2jdkWkFswBwsXhVK5KEa+p8iBEIOFss0RgZCSOUB0tfEEVj+sPjNn7xqiKibUKmumSQX AjmCE1dbNVlUQbH9E9mBe+eq5ca4uUbMZqzYuCKTESWBCbdlqV3ZO92pHJsTkxYl+2Me ME8g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686302354; x=1688894354; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=+GDRl/VQhcVhHwpeo2RvYrCZSWQFW9d9tIowI7IdcLE=; b=WoxpeAtTtlz+qveFY+kK5zTIyuUR87dyPYBDwrh/vD8PmVvCADHnmpCqbj3dxM88zB hxcbwa2BK7M3XGM25Sls3wwbqsUkDZBG8Hj68iqkGzBRRAUodwRLDlr58PNjW5DJpY3L +5MveDRdYh/Q7GA/rOp/bCOU3cgrRqvcDLFzctvm5TgJWFB+Q15ui6yR6+ZtCtlh9ImS tB1MbpzoRNqv0iAx6CnUjYMhmtGnjurLdaBVLmYUHxpMA5dpwase8h637z6JKZGKo3dV IOJ3nVjK6dRYD80UTls1p18MaYmsujyQO0NCcPZBSvHizLdf3oUmDhPC8wQBPVYCYCHu /E6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686302354; x=1688894354; 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-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=+GDRl/VQhcVhHwpeo2RvYrCZSWQFW9d9tIowI7IdcLE=; b=gSihVnTgRR73wNZDEApNrODMhDZ/JR+wq8JQ31/2KBt8xBhpyLNLD7HOOl7y3Rm8M1 WPWRpCBIc5yIEOlYjZKGHxQ3KeX91X2N2XnwPnL844GZRrdpDPW6WrQnJlISiyhTTyWK YZpPC5UN6eyx6sRKpIdAmQvLhIIaeZ29fX61dDE9RoRhIodThJIMMBy4Usf9klOEjl+k Z6vX0RBRWNZtXRqEb0pNSjWdwWsOg7C8SqvYiRifzqVa2V3soJKGzOcNhoqcAjbuQXHQ jMySXuox/w9RHPHCOb0N/XSqTCeJ5T48S7/D3hX+aFbtfnVFeM Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDxCc9SOJHAKjITaEwynCjdukDJy0+jnMRLt5FyBXaKUd6XhdQSR 7JCYczBtVjuw4CpB1o06Yz4= X-Google-Smtp-Source: ACHHUZ5k2R50oFG3vRZXfyeHRxxCPZO9KIpd/ISVREWk8O8cG0K80x/gNPV1fU7sCHrFqbjdkbsniQ== X-Received: by 2002:a05:6870:772d:b0:1a2:f02b:e73d with SMTP id dw45-20020a056870772d00b001a2f02be73dmr705891oab.29.1686302354739; Fri, 09 Jun 2023 02:19:14 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:7d8e:b0:19f:9f28:a580 with SMTP id oq14-20020a0568707d8e00b0019f9f28a580ls263006oab.1.-pod-prod-05-us; Fri, 09 Jun 2023 02:19:12 -0700 (PDT) X-Received: by 2002:a05:6871:6a9c:b0:19f:3818:346e with SMTP id zf28-20020a0568716a9c00b0019f3818346emr482313oab.8.1686302351761; Fri, 09 Jun 2023 02:19:11 -0700 (PDT) In-Reply-To: X-Original-Sender: richarddmorey-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:32772 Archived-At: ------=_Part_186_791577465.1686302351181 Content-Type: multipart/alternative; boundary="----=_Part_187_354484320.1686302351181" ------=_Part_187_354484320.1686302351181 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If my version of pandoc would be useful, it is: % pandoc --version pandoc 3.1.2 Features: +server +lua Scripting engine: Lua 5.4 User data directory: /Users/saprm3/.local/share/pandoc Copyright (C) 2006-2023 John MacFarlane. Web: https://pandoc.org This is free software; see the source for copying conditions. There is no warranty, not even for merchantability or fitness for a particular purpose. On Friday, June 9, 2023 at 9:41:24=E2=80=AFAM UTC+1 Richard Morey wrote: > I've posted this on StackOverflow here=20 > =20 > but have not gotten any interest in several days, so I'm posting here. > > I'm having trouble consistently compiling a particular document with=20 > rmarkdown::render. I cannot reproduce the issue reliably, unfortunately= =20 > (it happens roughly 1/3 of the time; consostent with it being a network= =20 > error, maybe?), but when it fails, I get the error:=20 > > pandoc document conversion failed with error 10=20 > > from rmarkdown. The "10" is the return code from the system command that= =20 > runs pandoc here=20 > > . > > When I set pandoc to give debugging information with --verbose the=20 > following lines are the last ones in stderr: > [INFO] Fetching=20 > https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbOb= j2OVTSKmu1aB.woff2...=20 > > [INFO] Fetching=20 > https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbOb= j2OVTSumu1aB.woff2...=20 > > [INFO] Fetching=20 > https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbOb= j2OVTSOmu1aB.woff2...=20 > > [INFO] Fetching=20 > https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbOb= j2OVTSymu1aB.woff2...=20 > > [INFO] Fetching=20 > https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbOb= j2OVTS2mu1aB.woff2...=20 > > [INFO] Fetching=20 > https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbOb= j2OVTSCmu1aB.woff2...=20 > > [INFO] Fetching=20 > https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbOb= j2OVTSGmu1aB.woff2...=20 > > Error : pandoc document conversion failed with error 10=20 > > The last line varies, but it always seems to be one of these fonts that i= s=20 > the last thing pandoc reports before the error (there are 24 of these fon= t=20 > fetches in this particular document, as shown by the output in a successf= ul=20 > compile). > > This leads me to believe that there is a problem in fetching one of these= =20 > fonts, but there's no output that says what the problem actually *is*,=20 > and Error 10 does not seem to be a valid error code from pandoc: pandoc= =20 > error codes=20 > > . > > I'm sort of stuck debugging until I figure this out. > > I also note there is a similar issue here: NYTimes and 538 Themes Give=20 > Pandoc Error 10 - as= =20 > a bonus, it even seems to be related to fonts.gstatic.com, but that out= =20 > seems to be more specific, including a [WARNING] that I don't see in mine= . > > In case they are helpful, I've put the logs of a failure and success and= =20 > 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. > > Best, > Richard > --=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/44f0a21b-41ca-43a9-944e-38167bc73070n%40googlegroups.com. ------=_Part_187_354484320.1686302351181 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If my version of pandoc would be useful, it is:

% pandoc --version
pandoc 3.1.2
Feature= s: +server +lua
Scripting engine: Lua 5.4
User data directory: /U= sers/saprm3/.local/share/pandoc
Copyright (C) 2006-2023 John MacFarlan= e. Web: =C2=A0https://pandoc.org
This is free software; see the source= for copying conditions. There is no
warranty, not even for merchantab= ility or fitness for a particular purpose.


On Friday, June 9, 2023= at 9:41:24=E2=80=AFAM UTC+1 Richard Morey wrote:
I've posted this on StackOver= flow her= e but have not gotten any interest in several days, so I'm posting = here.

I'm having trouble consistently com= piling a particular document with rmarkdown::render. I cannot = reproduce the issue reliably, unfortunately (it happens roughly 1/3 of the = time; consostent with it being a network error, maybe?), but when it fails,= I get the error:

pandoc document = conversion failed with error 10

from rmarkdown. The "10" is the return code from the system co= mmand that runs pandoc here.

When I set pandoc to give debugging information with --verbose the following lines are = the last ones in stderr:

[INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBb= Obj2OVTSKmu1aB.woff2...
[IN= FO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs12= 6MiZpBA-UvWbX2vVnXBbObj2OVTSCmu1aB.woff2...
Error : pandoc document c= onversion failed with error 10

The last line varies, but it always seems to be one of these fonts=20 that is the last thing pandoc reports before the error (there are 24 of=20 these font fetches in this particular document, as shown by the output=20 in a successful compile).

This leads me to believe that there is a problem in fetching one of=20 these 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 pando= c: pandoc error codes= .

I'm sort of stuck debugging until I figure this out.

I also note there is a similar issue here: NYTimes and 538 Th= emes 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 don't see in mine.

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

I'd appreciate any insights into what could cause this and how to fi= x it.

Best,
Richard

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/44f0a21b-41ca-43a9-944e-38167bc73070n%40googlegroups.= com.
------=_Part_187_354484320.1686302351181-- ------=_Part_186_791577465.1686302351181--