From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33323 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Littlewood Newsgroups: gmane.text.pandoc Subject: =?UTF-8?Q?Re=3A_Obsidian_Pandoc_plugin=E2=80=94Pandoc_export_failed?= Date: Tue, 14 Nov 2023 10:36:37 +0000 Message-ID: References: <449e0f8c-0488-4291-a2b6-ef916c422ca5n@googlegroups.com> <2D789519-42C2-4193-9928-7DB0F5B177DD@gmail.com> <9736ab3a-10eb-4a98-903c-c28e54366c76n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30742"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDXOJT5EVYPBBQ43ZWVAMGQEZJ3IRYQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Nov 14 11:36:57 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ed1-f64.google.com ([209.85.208.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1r2qmu-0007nw-W3 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 14 Nov 2023 11:36:57 +0100 Original-Received: by mail-ed1-f64.google.com with SMTP id 4fb4d7f45d1cf-54442ba286fsf3816971a12.2 for ; Tue, 14 Nov 2023 02:36:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699958216; cv=pass; d=google.com; s=arc-20160816; b=Ps0Qu9PAmhdYEFEygaLdyxu037Hn4eFYh0U3BT40LumZ/spzlqbhZuCpeQ96N9M/aY xrVwM6jMUbiU7U1eUXtZCQ+ia+5xWF3kpcWtQUTL1AjUd+ZSQi4CeL89TC3cmQhLeggE IckM8fxUG4vMSdHAKHHz839OjliHZr2lIPooXOk1OAfiygTFA0vI54pFol55YPjDRTpU Whjwwq+4gw75i8TSZM9A6QK5kWk9Qu8gHKpTOyvfC0ZKqjv6np67v154tVV6fUI11nTK wja435higoYV605urbXVk60T99oxQVl0QWUrgt44ELEYrYPhE2L5moIf00hdvrb0YilC tDrA== 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:content-transfer-encoding :to:subject:message-id:date:from:in-reply-to:references:mime-version :sender:dkim-signature:dkim-signature; bh=gEXr84zmgSeMIYL3s0/XB7bBqjkuydPoW2Em9meS2Ug=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=Gge5ZEEWGrt81pe5+BCSoT43l30O82lAQ8um5eDPDVQ5ECvahtVySqLqjmRcjgGmd4 XDgkbSJ39Q1FY2B0vgdoyj+m8TF5+TylfEZSUNUJ/L3KqxD7ey4e5K+C+eYiuPQ0J2rW AXoJdixreK5s8Lfy/KHKlADYpbFTh/8uFEqgndojOiCa+J7Z/1PCENKenD8tfJLS5Ryp s46aRibhiL48YqVxDdQwWiMxz20kksTwgZ9tmKKbj6w22sYf/HSSJ7fwpKTQklIlc6j0 NOHxlbWk0WplFPfP0rl+OKDcQnYN/IaDETvdwEJw90cRTOPHmRA9eisq7PVVIYetZ7fX 4xww== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nJIvRF3W; spf=pass (google.com: domain of danielittlewood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22c as permitted sender) smtp.mailfrom=danielittlewood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1699958216; x=1700563016; 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-authentication-results:x-original-sender :content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:sender:from:to:cc:subject:date :message-id:reply-to; bh=gEXr84zmgSeMIYL3s0/XB7bBqjkuydPoW2Em9meS2Ug=; b=QX9A/oV5gXQreaJNuOXvxNi1xZ3/IsWZqZnxP3fqFfoG0KhVjhGNYkeH4iAs+y1Rfv DFweIjT0IqA44ftWSfQmh4tO2xl09HEq/r+vBOAMOzq6ApuA2kf+4sbxg2W0ocgrSYd+ oINP/209TP7xEBIDCGqzxMSGduTxq6a3F63A5EUkVp9U5Vd2EUX9+5BvSrehFj89rF3f eeUbZRYKZgpzjeQeiRk45VM3rARCjpiTOiILuRBgRm7VXZ4PWKG5H8RwRXvw5b6SrdRX L+dRTLc/3x11ddlN DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699958216; x=1700563016; 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-authentication-results:x-original-sender :content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=gEXr84zmgSeMIYL3s0/XB7bBqjkuydPoW2Em9meS2Ug=; b=W+nBb3olEmM0dtbc4UDdr4NmKRUkFWh6gC0886k15f21DAmfRfu6oE55Xec8VY0bjr GBRDqW5VUu2w9UrMgWiALdzNwBTFobgRkF7whp0liVjZHZbXUiP1cNFAWcr9aPP7kCSD H2e10hAf88aBta3RLMdmsYn9kWO3I4QbertKabs5jdCRLUX8kdts0s0MXJSJAheD7q+W 2RlalzINDWfSpP5Ummmf2gLCcvDjx7bKqJJ/sgroalxbnbRJ75CxuLD49ybJsyYMPa1E 3yhH61jRxWWm0F+ZZprQst2F8+rfg3 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699958216; x=1700563016; 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-authentication-results:x-original-sender :content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=gEXr84zmgSeMIYL3s0/XB7bBqjkuydPoW2Em9meS2Ug=; b=TjzdzxvX3u5hANhade1jBqMrYjhSznRHKCXPH+nWmYU0NxGZQNV2ck3URvgou8equa P9zVQQ6hFw38/vwOkO90jTt+8W9rQV6kzmF00xvJ31sdK3oCuZ9yP7ynbCfoUVbGIkNg 5laCX2OWmpQx6LLcUWEUP/XjKDz1hxyABroJTxN9IUAXwY5JmmOgsltlsDcZ0e8ad++o geDKMyIWeIS2L5Mz1cUeBE+RGS9L+Kvv9FmSwKlUrfTitvB0OCNovHkpRr Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YwNdmNQnyl9hI4nqL5J8JV8qPUFpmXs2o8dUWDzAStRE2ESOMuc 8Q/o4zKLFXvOHHoZndECHgg= X-Google-Smtp-Source: AGHT+IE8tMladmc4K3PCfYE8FWdzIJ0eMjJtgMsBFKFTN7ajqC8sL/uKiqkQeLyWvBcSIXzJUWTNHg== X-Received: by 2002:a05:6402:1016:b0:540:fde:5407 with SMTP id c22-20020a056402101600b005400fde5407mr6243511edu.34.1699958215585; Tue, 14 Nov 2023 02:36:55 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aa7:c144:0:b0:543:7afc:7037 with SMTP id r4-20020aa7c144000000b005437afc7037ls43424edp.0.-pod-prod-03-eu; Tue, 14 Nov 2023 02:36:50 -0800 (PST) X-Received: by 2002:a05:6402:1381:b0:53e:1b:15f5 with SMTP id b1-20020a056402138100b0053e001b15f5mr5676394edv.39.1699958209974; Tue, 14 Nov 2023 02:36:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699958209; cv=none; d=google.com; s=arc-20160816; b=r1ESixAvWYjf1HbUTpM96fiVTeTaAWD4xMtjrzT38QVIg5Rg0HbRpT6wPERF0jX5/S Ap0IlfOJ298z8YcCl66iGm/YiEFNyWeo3oCyuzH9FzXLQ4otzi1owLJIw7j2BCrd4dJE 3oZ+hM3clTbxjQckRX8/ty54WQ7dfSVuC/L1ysdWwCVI9Ff5IZmev+j0CeWCG4yk0JEY ZvCXXeZxB49PcUp848Qwajfwq7/8gVmsYMQtDbQ8IWDrIU7lEEvmFY8gUM3focSLAAea so+T1hIPwIGx0byDV6DklZvJx5PL6aBZ4aYg0gfoOGZP4CXWtNgiMAtWsCcqjIiQbmd5 4BLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=/BulrmWFHtJABCA2G0/KjTaAg45wOU8DzpPE4sJjvx8=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=zwtBTvAhYkq++XHAR2XS4AtFBnMQBW9lH4macytmRFb14RK6wmbrjH3Rg0IlRJwv5x GtsMwNHf+kNrr/jmMMkg/FbUA4J6ph/6fXG9i2vKNBqp9bZJ8Gg1CjyxehGwG2PM/CcE k1aAaAqzpun06rBhILSc7dx0mgILPLViv2hh6rQA028mR27UwTgYEm3qfQxYKj/Bgk85 n1pxZTqGstzyGY6rcPf/FNJ6NuLPi5gqwxC6p3I7GB2f3BxhlxiDV06vXtLLXLi+LSN7 qv+7GmtkiI4ttflrWUs882rfoeVTSZcK39IMKcfo57dDm13IgQvk59Ev0FjmUt/0U/n9 2FHw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nJIvRF3W; spf=pass (google.com: domain of danielittlewood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22c as permitted sender) smtp.mailfrom=danielittlewood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com. [2a00:1450:4864:20::22c]) by gmr-mx.google.com with ESMTPS id i13-20020a0564020f0d00b0053e90546ff6si310766eda.1.2023.11.14.02.36.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Nov 2023 02:36:49 -0800 (PST) Received-SPF: pass (google.com: domain of danielittlewood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22c as permitted sender) client-ip=2a00:1450:4864:20::22c; Original-Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2c6b30aca06so71926531fa.3 for ; Tue, 14 Nov 2023 02:36:49 -0800 (PST) X-Received: by 2002:a05:6512:3e5:b0:503:36cb:5438 with SMTP id n5-20020a05651203e500b0050336cb5438mr5634573lfq.21.1699958209104; Tue, 14 Nov 2023 02:36:49 -0800 (PST) In-Reply-To: <9736ab3a-10eb-4a98-903c-c28e54366c76n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: danielittlewood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nJIvRF3W; spf=pass (google.com: domain of danielittlewood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::22c as permitted sender) smtp.mailfrom=danielittlewood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:33323 Archived-At: Hi Mitch. I think your report may actually be self contained after all. I'm guessing, because I don't have the document, but it looks like the error message is literally saying the function withBinaryFile can't process its argument, which is that big file path. The special character syntax '\8212' is not familiar to me, but a quick google tells me that — is the HTML decimal entity for em dash. Since your filename's hyphen does actually look unusual to me, I suspect that is the problem. In particular, I think if you remove the dash in your picture's filename, this error may go away. Of course, removing the dash is not an ideal solution - if a filename can be handled by your OS, then software should be able to work with it just fine. I don't actually know anything about pandoc's source, so who knows if it's a bug in pandoc or in obsidian. All the best, Dan On Tue, Nov 14, 2023 at 12:48=E2=80=AFAM Mitch Wagner w= rote: > > Thanks, John. A reasonable response=E2=80=94but the document is a confide= ntial one and I don't know how to use Pandoc outside of Obsidian. So I see = I have homework to do. > > On Monday, November 13, 2023 at 11:51:34=E2=80=AFAM UTC-8 John MacFarlane= wrote: >> >> We can't be of much help without seeing the markdown file that pandoc is= being used to convert. If you can give a recipe for reproducing this with= out using obsidian, that would be best. >> >> On Nov 13, 2023, at 10:10 AM, Mitch Wagner wrote: >> >> Hello, everyone! I'm using the Pandoc plugin for Obsidian on the Mac, at= tempting to export a Markdown document to DOCX format. It works great when = I'm exporting a document that only contains text, but it fails when I'm exp= orting a document containing text and embedded images. I've attached the er= ror message. >> >> How can I export to DOCX with embedded images? I'm wondering whether con= verting the images to JPGs might help. >> >> Thanks! >> >> -- >> You received this message because you are subscribed to the Google Group= s "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit https://groups.google.com/d/msg= id/pandoc-discuss/449e0f8c-0488-4291-a2b6-ef916c422ca5n%40googlegroups.com. >> <7830CE8C-D005-40BC-8262-4CA6ECABA5E9.png> >> >> > -- > 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/msgi= d/pandoc-discuss/9736ab3a-10eb-4a98-903c-c28e54366c76n%40googlegroups.com. --=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/CAFDSbVcAkp-1QXNjT6Knx%2BOjEdhMnhUxQAWoQxU1pZeO%3DtwrRw%40ma= il.gmail.com.