From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32770 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Morey Newsgroups: gmane.text.pandoc Subject: Pandoc error 10 when compiling document and fetching from fonts.gstatic.com Date: Fri, 9 Jun 2023 01:41:24 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_50_835194276.1686300084377" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25248"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC33VNGTVQPRBNOLROSAMGQEDGQQLAY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 09 10:41:29 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f57.google.com ([209.85.161.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q7XgW-0006Om-NM for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 09 Jun 2023 10:41:28 +0200 Original-Received: by mail-oo1-f57.google.com with SMTP id 006d021491bc7-55afacd3d2dsf1464024eaf.0 for ; Fri, 09 Jun 2023 01:41:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1686300087; x=1688892087; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=hHkKy9MA7ugEMr0WDxBJxCYzCk+6k4gk0ukjuFNTDQ8=; b=IyTjU9fQNqUgsQ02PH5lLgCDuEw9Hu2I8TwFvOddjzqXHBnsLPwERT1DwtNVs1atv/ roOsiFoqDzDlG6pqQWiueRWyJbIejTGxtk2uBBDnePAQXmQzUG+ldBwKMv0/HZVOIiuz O+PaRRfUjDWU02rcker+o3fIzHOnOEYDfuajjlpU0LfLQ99yq9Wyfm+PP7kKKU+PNBlM IrNA3x23RLIk/H63Qs7oPFQk8+ciD3OIbk54eGVfnW9Y0pEFjnjXXX3zWh/XoIpOo4eM uGIZSmCIFT+nisl/PHSNhErSSzimlZTOnJ/K5JA+bEAaBPmCQns4Tty/Z4VOZj3VaxTz ShFQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686300087; x=1688892087; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=hHkKy9MA7ugEMr0WDxBJxCYzCk+6k4gk0ukjuFNTDQ8=; b=N1XMnVonhG/JneXiDLw8NsiXvvuOBzmz5S+CCNi3ghyACDqSRlmRVy7Pyp5O5p0imr cxKYzL3V9k26E3gEn3WdIVIQhgH3eiIDHxJI/w7zZ+O2ZNxGDG8RTg6KEjOys29ZrfeR 4dKBzSwewT3tJkLu4+CKJ7XRuUijTOeEKFmsGsr1IVo+wC2IuRItKLHhkPlYZAcksZbm XTWHcDzoomvRc4a4cMQP8lL1SJCYmwrc9OOl3C1jiMNcihTmYot/lnEM1NE45walBXYC YOhWo0BYK5A9mpAQ1g2R1Kc5B1zAP7E8uVuwrFxyegYvza20obsaCMEkHuL4SlK5Qnne I71g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686300087; x=1688892087; 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:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=hHkKy9MA7ugEMr0WDxBJxCYzCk+6k4gk0ukjuFNTDQ8=; b=bgv07V+/COvYKp5wMl0mhThsyVNIlMy1Gvv2o9N2uU5qJzQMA1jkNTDa0BRjsG1rf5 0rj+aO357e25iFCayuk7ZYKZGKIsZd8tR8gT33qFp3B91hlImviFQoOCnXqcJeHAJWwk pi8OfiWleTflg7iRvDJuinwjUQ17pSsEBMfxwVZvGgtxfsmx0syUAH1nkZAUyYx7NJty LLGmr9zr6SFY0P7CiVPuwHbbdqQ0f4SAY0kP7ZllMn4Dr14b4FP473ICF4kgMQyTNU2Y DaoY/z/MzNtBtwzYTFTrLpooIA2evpvSxkukyJA6U8UN8ZwEHBedrs8+GO63QO5tkuHo Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDx+hbMSK2xuiEtca+oiero4Vmyq3HRSI3SJVyOysEIBdPQZ30qQ X7YX3OFtDLkRf5PEOgKmnCY= X-Google-Smtp-Source: ACHHUZ75w7/gzogOWdRVNdUgUSlLCU/YAP/APKU4TkiO3+Zw6Tt6x2OxXBEfZj7n5tHJabyrBdbIQg== X-Received: by 2002:a4a:e9e2:0:b0:558:b424:8c31 with SMTP id w2-20020a4ae9e2000000b00558b4248c31mr380086ooc.0.1686300087410; Fri, 09 Jun 2023 01:41:27 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:e901:0:b0:55b:1fcf:7288 with SMTP id bx1-20020a4ae901000000b0055b1fcf7288ls1658891oob.1.-pod-prod-09-us; Fri, 09 Jun 2023 01:41:25 -0700 (PDT) X-Received: by 2002:aca:f2c2:0:b0:39c:8fc4:31a7 with SMTP id q185-20020acaf2c2000000b0039c8fc431a7mr413487oih.6.1686300084966; Fri, 09 Jun 2023 01:41:24 -0700 (PDT) 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:32770 Archived-At: ------=_Part_50_835194276.1686300084377 Content-Type: multipart/alternative; boundary="----=_Part_51_203003655.1686300084377" ------=_Part_51_203003655.1686300084377 Content-Type: text/plain; charset="UTF-8" I've posted this on StackOverflow here but have not gotten any interest in several days, so I'm posting here. I'm having trouble consistently compiling 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 command 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-UvWbX2vVnXBbObj2OVTSKmu1aB.woff2... [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSumu1aB.woff2... [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSOmu1aB.woff2... [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSymu1aB.woff2... [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS2mu1aB.woff2... [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSCmu1aB.woff2... [INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSGmu1aB.woff2... 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 font fetches in this particular document, as shown by the output in a successful compile). 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 Error 10 does not seem to be a valid error code from pandoc: 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 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 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 fix it. Best, Richard -- 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/msgid/pandoc-discuss/ec43be1c-e46d-4323-a70e-c97a90e670f0n%40googlegroups.com. ------=_Part_51_203003655.1686300084377 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've posted this on StackOverflow here but have not gotten any interest in several = days, so I'm posting here.

I'm having troub= le consistently compiling a particular document with rmarkdown::rende= r. 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 doc= ument conversion failed with error 10

from rmarkdown. The "10" is the return code from the system command that= runs pandoc --verbose the following lines ar= e the last ones in stderr:

[INFO] Fetching https= ://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSK= mu1aB.woff2...
[INFO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs= 126MiZpBA-UvWbX2vVnXBbObj2OVTSOmu1aB.woff2...
[INFO] Fetch= ing https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBb= Obj2OVTSymu1aB.woff2...
<= span style=3D"font-family: Courier New;">[INFO] Fetching https://fonts.gsta= tic.com/s/opensans/v34/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS2mu1aB.woff2..= .
[INFO] Fetching https://fonts.gstatic.com/s/opensans/v34= /memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSCmu1aB.woff2...
=
[IN= FO] Fetching https://fonts.gstatic.com/s/opensans/v34/memvYaGs126MiZpBA-UvW= bX2vVnXBbObj2OVTSGmu1aB.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 pandoc: <= a href=3D"https://github.com/jgm/pandoc/blob/c9825761338f56209f69782da0087f= 9e27fa577b/src/Text/Pandoc/Error.hs#L154" rel=3D"nofollow noreferrer">pando= c error codes.

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

I also note there is a similar issue here: NYTimes and 53= 8 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 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 fix 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/ec43be1c-e46d-4323-a70e-c97a90e670f0n%40googlegroups.= com.
------=_Part_51_203003655.1686300084377-- ------=_Part_50_835194276.1686300084377--