From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30673 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Albert Krewinkel Newsgroups: gmane.text.pandoc Subject: Re: pandoc: Error in array index Date: Fri, 03 Jun 2022 15:07:25 +0200 Message-ID: <87a6atoolg.fsf@zeitkraut.de> References: <9cbed52f-ee9b-4ab2-b41b-efbe55264aefn@googlegroups.com> <718c53ee-f005-4049-a56c-1ccbfb4300c0n@googlegroups.com> <87y1yf4347.fsf@zeitkraut.de> <6007f4ef-8fd2-4e75-a1b0-1073738cbd04n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32467"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCZJF7XJTILRBAE55CKAMGQEYOSBDSA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jun 03 15:37:08 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f61.google.com ([209.85.128.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nx7UC-0008DX-8I for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 03 Jun 2022 15:37:08 +0200 Original-Received: by mail-wm1-f61.google.com with SMTP id n18-20020a05600c3b9200b00397335edc7dsf6807428wms.7 for ; Fri, 03 Jun 2022 06:37:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654263427; cv=pass; d=google.com; s=arc-20160816; b=kpE5qy5uzYO0HREAiXTaf8qJ/w3Y/LO0IeP0QuDWIIlLXKsJHlYhabdMGx3bjYzDp+ vwyBCOa2u/RTWx+iy8+jeKKa8riNAJBbN9Rgbp/9sitqLyOzCDs3V7DBS4JOY3VTB8O3 ynqVCpYssQ2KuI8zWKsO44voENl/jkQWWYHgV7jDRUAhi+QziGqqcPZ3/BiGS8BJlesl yKALBYV8Yos6VWiGSb4p9OdgtNQdkvViKqT8yci+PyjiBldC/PRY/CzJKleSnXdCeTma lB2Ci7TVmPdpf2El2uFnqSCF9v3qr6BNg+LDpVPxeAdeloq49bE306ooNW60kl/46EZO /e8w== 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:mime-version:message-id :in-reply-to:date:subject:to:from:references:sender:dkim-signature; bh=lta5Fgl5a8lRMcsEWtDWJhE3pmncbVbCRjYzeaDgmwI=; b=RJtFDnbU2qxMafBWSKM6BjnsE2KiS1JW7NoBZ1LCMmGlo0awwdLQKElL64m0vgxF6V +OwBz8/U3tHCDVA2uezfm8ROVpJLxVl5L9pVQEkpJjpUPYTYxMvKgFiSCpUe/ZFx9xTW EKg8DIZIazJ7vvtthfQuZHgK3rA7lfcJotRKZbV6jikbmf4I4R0zuWzxmthdIYXdChkL Urmyzx5DwYsZp328qzyJSNNageFzmW21j9zQqEb+pFwnm5t4NeCAQrv3N+zas1z/yNFL Heplk0gPV7GbObNTqB+Y+a/nkJzvWnKOikyUGaFl+ZAsVqquMNIHoBH9E++PsiJk+1Lm ZVgQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.172 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:references:from:to:subject:date:in-reply-to:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=lta5Fgl5a8lRMcsEWtDWJhE3pmncbVbCRjYzeaDgmwI=; b=pBj/3xS+gFFVZYevqMpSuXZd3g9pknTSen/zLjQa0gfSDVn5RJ6bQ5oiCq1qjW4PkY yuKZGL2uhCjTD4lV09qpvea5JJ5XxMQljKb8P7YfGrvVn/wPLuS67bTsZWHsd5sLuKe/ kVqWtMZDebr/oPT6pkffeMlwTvOjN2Cg2cDSWwrL1k9SVa/4XgjoYfsp6A8vGuRM6XSA f/Q947ommTGxNgPgnIP4qgwPmyNHTBGixFWoeMfB/OGW+9obHij4FmWVlT4ueMfTiCXm JF0Cnnm2tchmH12N4IAGWxW8yfDmX9tSqRfrQRSjOlOhIOQqDB08LO4/zDGwunmpKmlN IFQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:references:from:to:subject:date :in-reply-to:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=lta5Fgl5a8lRMcsEWtDWJhE3pmncbVbCRjYzeaDgmwI=; b=uSU+ZDMXywoj+O4Hxg/cXvKH4PczxoXSRhw8md/pjeDlSppQKQCuPo9xnHDEHX+QjJ 1qMEAmQ0dvBKkYeDG2kYulPtIF4BuD5Csszxp4I4CdTp0Z/wLEwuVMqc90rySIjx0qdL phRNnTR9sZA2bY0IkXSOwmu+9ZtGIqq/3zGArWuk6AwQC+oiNVi6Q9UyQHEo6Y9rXYJe PXAseqAs9GnrggBf/1Iud0w3AWLAT7/HsqL7iyIrlWFC9crjLpLbGZraFNT6sZnFUFJg /8xHwQygEpnGCsyGtcC942wkYh9PUwM0HESOwuAhxlS7jOur/w20Xtrjn4SatbAbYlf5 QPaQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532yZuZx5ydGg5aIf9yH9NiSHibgjDvAsgSsejn+OQ5Ov75YQ4a4 XmmA3/Wwv12wlcnon9gTTRc= X-Google-Smtp-Source: ABdhPJyoKv6iHuUta8gwDU/4RWhDO/ni5xQ4p+vOXIfWhe1qWxN8L+qu4vv5U03S/H20TDBEswV6cg== X-Received: by 2002:a05:600c:3547:b0:39c:1606:17c5 with SMTP id i7-20020a05600c354700b0039c160617c5mr9079478wmq.61.1654263427855; Fri, 03 Jun 2022 06:37:07 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a5d:59ab:0:b0:214:1ae1:5d70 with SMTP id p11-20020a5d59ab000000b002141ae15d70ls2658729wrr.2.gmail; Fri, 03 Jun 2022 06:37:03 -0700 (PDT) X-Received: by 2002:a5d:6583:0:b0:212:1125:1442 with SMTP id q3-20020a5d6583000000b0021211251442mr8598842wru.45.1654263423889; Fri, 03 Jun 2022 06:37:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654263423; cv=none; d=google.com; s=arc-20160816; b=nexERU18S9JNJdHnTOfOLrxINYyEogA/6E/MTNpOWuiuV+Ipgmh8Eq+y9wIxRsZ6YE NOTgzaUMExXQpqAfstwNcmlhbCrDqwI+Mb5r8LTGVe1u/gVP5886/3U5rfRnn+XNmctW QRQNVyKx8o8LcA4sydeg2eUKaz7P6axNg2RExpQfekIlXwyYGvLgBA4l/kMi9vX42bOa qAX2ntnwdaXPqantnCUiiXhdskPHGYbvKzeLlDbmnk9Fr9nbb0R4cLUIw6v4rSo8BTH7 chdZ9DaCrUJF6l5iq9xoTfq0ykaoFr3Gq5t7dtZI03pvoDJYZOH/TrWqurV4c7E/GHpk +FXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:in-reply-to:date:subject:to:from:references; bh=YAVLSwi3M/w8CmV3DmVCfR4GfC8Unph9uGtklLzA3zU=; b=KcM6njwVN8U0+dKbTGQKajEJ/7N/tiivA97Z3jmJ8kQGfIri/QNaWY7Wh82OH5mVnX YbHTPoLA2xbw2R5nivxseGjtp9ZSSd82Y2QhJxnrkXR5II5YgBS0pFDsW2ARfblBS/n7 xC1gPPx9GPwUeAkXrLAI+7OmbyBRNCJSmJT10f9AkR7ai6p4ekOx22zJafxW20uDVydS KuE5nrmt/MtV5Sn+66q13FV7ICMWcnRZimm350rmHhbp97PsqXR4Mgfd6+l+qALIwsUf ogZWIOqklhfLgmvSgJa+P6y/x23qwz/FONRX1YNxFp8y5rHUz4yEKovHsg9hmMYRzgVS uzMg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.172 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org Original-Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org. [80.241.56.172]) by gmr-mx.google.com with ESMTPS id l12-20020a05600c2ccc00b003943e39b255si577929wmc.0.2022.06.03.06.37.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 06:37:03 -0700 (PDT) Received-SPF: pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.172 as permitted sender) client-ip=80.241.56.172; Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4LF3p46rQ2z9stQ for ; Fri, 3 Jun 2022 15:37:00 +0200 (CEST) In-reply-to: <6007f4ef-8fd2-4e75-a1b0-1073738cbd04n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 80.241.56.172 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@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:30673 Archived-At: Harsh Donga writes: > Definitely! > > I am working with json directly, so tried my best to retain only > tables! > > Same error persists! So your speculation is true! I managed to pinpoint the problem to the row with cell ID "fbc3b066". You can avoid the issue by making sure that all table rows contain the same number of cells. I've opened an issue to keep track of the bug in the docx writer, see . Cheers, Albert PS: It seems that some elements in your JSON share the same ID. That might lead to invalid output or other problems in some cases. -- Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124