From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33092 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: t t Newsgroups: gmane.text.pandoc Subject: Re: --defaults issue: "Multiple YAML documents encountered" Date: Wed, 6 Sep 2023 07:42:31 -0700 (PDT) Message-ID: <411c4534-ad29-4e8b-991d-b83eef0b66can@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_26920_871202105.1694011351641" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39523"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD32FJ5DVICRBWM74KTQMGQEGKT3HBI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Sep 06 16:42:39 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pl1-f184.google.com ([209.85.214.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qdtjq-000A6v-F2 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 06 Sep 2023 16:42:38 +0200 Original-Received: by mail-pl1-f184.google.com with SMTP id d9443c01a7336-1c1fe58a347sf6024735ad.1 for ; Wed, 06 Sep 2023 07:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1694011357; x=1694616157; darn=m.gmane-mx.org; 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=otwcb0cmgYlgeEgQzHf2T21LHicZOME3klQtvJgWLws=; b=wEB7O1p4YVkxi+mEPTuvEMu/1sUq2BufuDlMnPfPdlwBAxwTBY1ZfrDkE4kGOglMa7 JIcpYen02XYASHqIJ5y8p5gSQmfBgsxtv2SE8nR/q7vgNXV2w88eIVv5r4t2Cd0JFU04 6B8ZJswc2k2SDsRayaGxcAvPr/FFZjpsV04KZZbHP6TeflYcGCgO3zGR2UlFCke6/Cky wYHEPefCSwmEOFaAsa2Ix3Nx/BzCSNIXR9QIWWpXI3zXVGN8sKdWyP76C5lpyFA5sLQS jFmjn7zJcXr40MtW1frBgy05kTjlxB8xomDjF4nhGokLEKaeHIhzLKOnOp7FlTXDfBFP 88ZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694011357; x=1694616157; darn=m.gmane-mx.org; 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=otwcb0cmgYlgeEgQzHf2T21LHicZOME3klQtvJgWLws=; b=Xz4iyqKHYlldxsuf3WEjWhlz8njRDwYUmJ0CJqZmsxFjyTClwXBfY+jWDJhmLSgbDH rwjDbPvsQHDyinw7oj/W1NVFk9zt0zFZKh7oB18EZLFbwtgAtGNaSzj/0fBDCcCdrqqS dactO47xn4WHwu/l94zwmrlzc2rqRjYSo+fTVj0NFmXW1QiT9d7P3eAIkp14bULyfaiH Omypafs4zj8xNjbTR4QBvVoSIuVzxaeqku+ZmgAhsSTWCY30rhzjcZxCmUnWMBe23pg4 cUCI1nfPinqSJ5cRnM4cfxW0LiFiAa5G3i7mEwOz/6i+wtjmBBCqfJHKOODULkzozini yrmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694011357; x=1694616157; 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=otwcb0cmgYlgeEgQzHf2T21LHicZOME3klQtvJgWLws=; b=UPAllg2eD6+UylC6HgZV9bXAn/hRmABWQ8FfWISst8eKS5d9I17mi1UPeWcrZ7Yplv zS6kO7irD8BCTrOjbfQLxmeeHdsQFwnjQuV1rGrwlu1teEGd2bq2PJKyO7DvB+8sIFOz 3+hR/vlv7GDZa67e8s+apr6H3kUeIVOah4Wc2W2P7DcSoH3LSTYVmmd4BK2r2h1Ece1E atLqgbyGkoEPZZiH5E9CvNiyHfUN3fWJDWA7OQb1kDS8x5lOThrgLREoltoDglkD9sw0 K+TYGcCqftPGm4DSat6dT1I1oEMCn2GYmjonPex6wkmux7xWB6 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YzRpyqyIkUyHF8jrFz4dqU8Q7oiwE1Ahf5ZvNKZ3PRNoTp1b+iG puVA+KIhSsPRcZqrhjUB3sA= X-Google-Smtp-Source: AGHT+IFOF7DamGaR7OTZda1oOEcDyPfoHKiY1dpsXecaAwk38iwUP9BoUB++fMMIBLhk6NKDC6b+Vg== X-Received: by 2002:a17:903:2301:b0:1c2:c60:8388 with SMTP id d1-20020a170903230100b001c20c608388mr18894384plh.6.1694011357121; Wed, 06 Sep 2023 07:42:37 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:654d:b0:1ad:d7a0:1d80 with SMTP id d13-20020a170902654d00b001add7a01d80ls1572172pln.0.-pod-prod-07-us; Wed, 06 Sep 2023 07:42:32 -0700 (PDT) X-Received: by 2002:a17:902:dac5:b0:1bc:5182:1da2 with SMTP id q5-20020a170902dac500b001bc51821da2mr5522504plx.11.1694011352611; Wed, 06 Sep 2023 07:42:32 -0700 (PDT) In-Reply-To: X-Original-Sender: tobias.tschiedl-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:33092 Archived-At: ------=_Part_26920_871202105.1694011351641 Content-Type: multipart/alternative; boundary="----=_Part_26921_1431849201.1694011351641" ------=_Part_26921_1431849201.1694011351641 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for the explanations, now I got it! Indeed I hadn't known yaml=20 outside of pandoc headers, so the three dots were news to me... I think I= =20 did try them at some point yesterday but there was some other ill-formed=20 stuff in the file that kept giving me aeson errors (which seem to be=20 notoriously inscrutable?)... so now I rewrote that file from scratch and it= =20 works. Thanks! On Wednesday, September 6, 2023 at 3:09:00=E2=80=AFAM UTC-4 Bastien DUMONT = wrote: > If you still test an empty YAML file, the parser is right: is expects a= =20 > mapping after the line of dashes, and you don't provide one. Please fill= =20 > you YAML file! > > Le Tuesday 05 September 2023 =C3=A0 04:51:41PM, t t a =C3=A9crit : > > Hm, I just tried that - that gives me an aeson exception: > > Aeson exception: = =20 > =20 > > =20 > > Error in $: Expected a mapping = =20 > =20 > > =20 > > = =20 > =20 > > =20 > > shell returned 64 =20 > >=20 > > On Tuesday, September 5, 2023 at 5:28:21=E2=80=AFPM UTC-4 Bastien DUMON= T wrote: > >=20 > > > The yaml used to reproduce the error is absolutely > > > minimal (just two lines with three dashes each will reproduce the > > error).=20 > >=20 > > It doesn't happen to me when I end the file with three points instead o= f > > three dashes. > >=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= =20 > an email > > to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [2] > https://groups.google.com/d/msgid/ > > pandoc-discuss/da60dc79-7264-4141-869f-c3acbdc958adn%40googlegroups.com= . > >=20 > > References: > >=20 > > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [2]=20 > https://groups.google.com/d/msgid/pandoc-discuss/da60dc79-7264-4141-869f-= c3acbdc958adn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > --=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/411c4534-ad29-4e8b-991d-b83eef0b66can%40googlegroups.com. ------=_Part_26921_1431849201.1694011351641 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for the explanations, now I got it! Indeed I hadn't known yaml outsi= de of pandoc headers, so the three dots were news to me... I think I did tr= y them at some point yesterday but there was some other ill-formed stuff in= the file that kept giving me aeson errors (which seem to be notoriously in= scrutable?)... so now I rewrote that file from scratch and it works.
T= hanks!
On = Wednesday, September 6, 2023 at 3:09:00=E2=80=AFAM UTC-4 Bastien DUMONT wro= te:
If you st= ill test an empty YAML file, the parser is right: is expects a mapping afte= r the line of dashes, and you don't provide one. Please fill you YAML f= ile!

Le Tuesday 05 September 2023 =C3=A0 04:51:41PM, t t a =C3=A9crit :
> Hm, I just tried that - that gives me an aeson exception:
> Aeson exception: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
> Error in $: Expected a mapping =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
> shell returned 64=C2=A0=C2=A0
>=20
> On Tuesday, September 5, 2023 at 5:28:21=E2=80=AFPM UTC-4 Bastien = DUMONT wrote:
>=20
> > The yaml used to reproduce the error is absolutely
> > minimal (just two lines with three dashes each will repro= duce the
> error).=C2=A0
>=20
> It doesn't happen to me when I end the file with three poi= nts instead of
> three dashes.
>=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 [1]pandoc-discus...@= googlegroups.com.
> To view this discussion on the web visit [2]https://groups.google.com/d/msgid/
> pandoc-discuss/da60dc79-7264-4141-869f-c3acbdc958adn%40googlegroups.com.
>=20
> References:
>=20
> [1] mailto:pandoc-discu= s...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [2] https://groups= .google.com/d/msgid/pandoc-discuss/da60dc79-7264-4141-869f-c3acbdc958adn%40= googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter

--
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/411c4534-ad29-4e8b-991d-b83eef0b66can%40googlegroups.= com.
------=_Part_26921_1431849201.1694011351641-- ------=_Part_26920_871202105.1694011351641--