From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32237 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'Peter Vedal Utnes' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Error caused by document length Date: Mon, 27 Feb 2023 03:16:20 -0800 (PST) Message-ID: <7ed278f7-071b-4bcc-9f9a-e9dd5c09ee55n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3060_1334075213.1677496580444" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25958"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWNVA7FUIMRBBNC6KPQMGQEUHY7EDY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Feb 27 12:16:25 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qk1-f188.google.com ([209.85.222.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pWbUW-0006Zv-R5 for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 27 Feb 2023 12:16:24 +0100 Original-Received: by mail-qk1-f188.google.com with SMTP id z23-20020a05620a101700b0073b328e7d17sf3820995qkj.9 for ; Mon, 27 Feb 2023 03:16:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=8l3XMGfhry9M4daK+CQinNbWDhudeTXOdv3Efsfg+UI=; b=RLWyEj+Fe+e9ljE1pSE5B2Agee6030teNH3tormE5EhU8Vy+Dz9MyTj9KKWl3IXJSx ttydq37WvkIu9HXHyzxANuRje2JoB4Cwf7Gdipx/PkKiMbhr7cW4qI+L29Rec0l4Ui39 f+w3xD+xE+ai5KUDZQxOE/7V2zYgxtERzobpvfLsEUKqt9qTobfGzTvvZS3NLhwsgcHU ba966agF8zT+YMRPKO4SyWC2kKcwLPhFtBlxu/ziyFXYW1xcX8BBgk/vUgEbXrCSf5Ro vFfkP6ZQhpkc18d4UwWQFBEqM7OqqI+HroFXAye7/zbyXRM92iCaO9gRgBGn/I2qM3wa RiIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8l3XMGfhry9M4daK+CQinNbWDhudeTXOdv3Efsfg+UI=; b=lGzNdcnOKth01h3tVbFn9Lktpgxr3synCQurrloACFglrmsLLxXuxs5A81nbQeFxVu hcZar2eLlrORuEItJU+Qjj3wMI34TuL1UQsGmmKTj/syaoFiQ+eVwoMJmwkC4Wq/lR7M aYnsx9VEpMZRw5fR/B/y7IPHhCrplqKTtkBcG1Wltw7U5LQH/aJdqyu+OIjQ61G850LW C+efd/b1bBPamaCuKuHEP9PVzrCt1e0FIsE7zm8BkXpDA3mgWS+CZtY0xbYCGCQWxty8 yU5xaJqNTVNIx6BqF06XfcqSa7A4ZlhTA8DLofyYRZCR8XPvEYPkCeETiUltGFMBlCgL Ul8w== X-Gm-Message-State: AO0yUKUesLJl4Lh199KYAjoX1iY5xnrzEy2Ka9yphwoenDwtSnOVPVTS TJ/wUnXfvnZknrAHp4i2aLM= X-Google-Smtp-Source: AK7set+3p4+oAyZw3y7zrw7urY9tyL0X0xR/Tl3E10cErJubFtUg55J7BtVr3N+kxGYqSMCqsQSwBA== X-Received: by 2002:ac8:56f4:0:b0:3bf:d520:1d59 with SMTP id 20-20020ac856f4000000b003bfd5201d59mr676130qtu.1.1677496583735; Mon, 27 Feb 2023 03:16:23 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:620a:439d:b0:6fa:3c89:c39 with SMTP id a29-20020a05620a439d00b006fa3c890c39ls1981475qkp.6.-pod-prod-gmail; Mon, 27 Feb 2023 03:16:21 -0800 (PST) X-Received: by 2002:a05:620a:ccf:b0:742:8174:d4fd with SMTP id b15-20020a05620a0ccf00b007428174d4fdmr1635733qkj.3.1677496580982; Mon, 27 Feb 2023 03:16:20 -0800 (PST) X-Original-Sender: peter.v.utnes-hYqmg196XYc@public.gmane.org X-Original-From: Peter Vedal Utnes 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:32237 Archived-At: ------=_Part_3060_1334075213.1677496580444 Content-Type: multipart/alternative; boundary="----=_Part_3061_617725040.1677496580444" ------=_Part_3061_617725040.1677496580444 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable We have a workflow in Open Journal Systems where we use Pandoc to convert= =20 word documents to EPUB, and then display them with an embedded EPUB app=20 (Bibi).=20 Our resulting EPUBs work fine with both debuggers and viewers like calibre.= =20 They work in Bibi, but only when they are reduced to a certain length.=20 Whenever the files exceed approx 100 lines or 600 words, Bibi claims: TypeError: Cannot read properties of undefined (reading =E2=80=98getAttribu= te=E2=80=99) Meanwhile, the same documents works when converted to EPUB using other=20 converters, or when I reduce the length (length, not size in bytes-- I've= =20 tried with graphics, still works). It suddenly works when I reduce the=20 length by removing pure paragraph text, even though all the formatted=20 elements (abstract, references, etc) are the same.=20 I recognize that this problem is very specific to the interrelation pandoc= =20 <-> Bibi, but I'd be grateful for general troubleshooting suggestions.=20 Thanks in advance,=20 Peter --=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/7ed278f7-071b-4bcc-9f9a-e9dd5c09ee55n%40googlegroups.com. ------=_Part_3061_617725040.1677496580444 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable We have a workflow in Open Journal Systems where we use Pandoc to convert w= ord documents to EPUB, and then display them with an embedded EPUB app (Bib= i).=C2=A0

Our resulting EPUBs work fine with both debu= ggers and viewers like calibre. They work in Bibi, but only when they are r= educed to a certain length. Whenever the files exceed approx 100 lines or 6= 00 words, Bibi claims:

TypeErr= or: Cannot read properties of undefined (reading =E2=80=98getAttribute=E2= =80=99)

Meanwhile, the same documents works when converted to EPUB = using other converters, or when I reduce the length (length, not size in by= tes-- I've tried with graphics, still works).=C2=A0It suddenly works when I= reduce the length by removing pure paragraph text, even though all the for= matted elements (abstract, references, etc) are the same.=C2=A0

I recognize that this problem is very specific = to the interrelation pandoc <-> Bibi, but I'd be grateful for general= troubleshooting suggestions.=C2=A0

Thanks in ad= vance,=C2=A0

Peter

--
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/7ed278f7-071b-4bcc-9f9a-e9dd5c09ee55n%40googlegroups.= com.
------=_Part_3061_617725040.1677496580444-- ------=_Part_3060_1334075213.1677496580444--