From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31549 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joan Newsgroups: gmane.text.pandoc Subject: Image resources are in local but pandoc searches in url Date: Fri, 14 Oct 2022 05:45:38 -0700 (PDT) Message-ID: <104b27cf-2655-4b9d-af96-8595468994d1n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2950_134525095.1665751538418" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12347"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDTKTWEP4QORB45TUWNAMGQECXF3AAQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Oct 14 14:45:44 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f187.google.com ([209.85.167.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ojK4N-00031v-KJ for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 14 Oct 2022 14:45:43 +0200 Original-Received: by mail-oi1-f187.google.com with SMTP id c23-20020a544e97000000b0035468a53d49sf2026309oiy.19 for ; Fri, 14 Oct 2022 05:45:43 -0700 (PDT) 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:sender:from:to:cc :subject:date:message-id:reply-to; bh=ukTYv+OrIvGDLQT0iC/d7pA8KE+/k/l50bnHqbSZpiE=; b=BwmozAldDRoXHDapexUtyuczU4N20urXyDITd98AqVoC+2NB2MCt7/beSTRTuCo9V6 cvH1Ee90ERQSglVUMjcA4ZtzGAYzqmxBEMiUXyuniLsOFLmiK3g6yEBXw/l2ojWqZdOY q64ErOj97BMFxVKNBeUxwVyhHq+3kzGTP4ZD9icccQGLwSClzmHyIQ/g5ZnoTUJsbnDG 8FfG2chChwjPI9Von3PaZnAbECW8lWKb2bV+rb/rhIlIS0d/t+K3ITynIj18I1HiJkvm Kq66k2JSYK/dqfSeO+0Nk6TYQFxY4BFn4gz5aB0DZt4vpp6glLt+9ztqYZquFbUjs5IR EzJA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bassolsenergia.com; s=google; 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=ukTYv+OrIvGDLQT0iC/d7pA8KE+/k/l50bnHqbSZpiE=; b=KW1gMB/qJO2IQ/R/f5l9m5pg+CKSpDCsuV7Or6p3vg6d+wki++znmPK/K0/k9yHHyg s9xiYIVz6QKFsKAVmslB38gQO7hUZ3L2nHvd+Aa6yx7NsD17LxEH+/2P5sNZLLCa8dWy qI8vJaVyd7eu5PY5F61HzZPrNE07a2Xs/Z0gBWEOPzpVPGaBewV4vqKiAoMT/R+k/R0f 8LrTUk3W7sIOMwqWpHDMqzrlmZXP3H8NsWRCv7RpD2XMnjBma18cI8EdwKLOEOPXnCNX fRUu4WLa52Xmp6hiVuBxt2RQPWXlp4B26HdmA1jD5jyP+o8z7d0FHkJ9usgrur+0cejJ T/gA== 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:sender:from:to:cc:subject:date:message-id :reply-to; bh=ukTYv+OrIvGDLQT0iC/d7pA8KE+/k/l50bnHqbSZpiE=; b=nfMr+QaKr4r/4Y/nDZrjtQF58o+/5IOB3RwqaMKSnGDKaWn1v+rynFk2yjE32UCvpM nJr9KhYFNAEpkjQ4ctWcRYCcwsZY96VLxsmauhqKG0eWSBj56Ew6SGqwVN8UaWR+VIqn Mdp+0h6ECVr9kpb7h5MO166cFUrVkDUe9AvovkIt0L4l+ttdIHXDE2fRW/667JhG3e+S JfFOrVYQst1Kf3Z9ZhIi3lBp4kLtEtjuy3WWV6ZT9gNRlPWOqHpPeaVDH4D7mw0lKSar xyAzWo8ysKvKUemq6Gt05vglswRMJ1jT6khtx2hH+vZre/ov5jOYVeNtE9Imw3TdtuvB CBMg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf05PGZ/dOQE6ac0FseHPYpzpKf0x/UGKT1tNbUnpQgaEhPJOHpd IfB0/vXJxk7PaK2xIrHWZPY= X-Google-Smtp-Source: AMsMyM6X0Yv+GX6s5twAya+sqVZzt8VOP5MoXZ4Ngn1KVtMb+g95qvAbWbc6tcUPR4PO4OGax/enTQ== X-Received: by 2002:a05:6808:10c2:b0:350:8f03:b26b with SMTP id s2-20020a05680810c200b003508f03b26bmr7137571ois.289.1665751542437; Fri, 14 Oct 2022 05:45:42 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:b783:b0:136:8a4d:f0b3 with SMTP id ed3-20020a056870b78300b001368a4df0b3ls1549892oab.11.-pod-prod-gmail; Fri, 14 Oct 2022 05:45:39 -0700 (PDT) X-Received: by 2002:a05:6870:7a4:b0:131:fe02:4c74 with SMTP id en36-20020a05687007a400b00131fe024c74mr7846255oab.104.1665751539386; Fri, 14 Oct 2022 05:45:39 -0700 (PDT) X-Original-Sender: joan.juvanteny-vk/qBwCwXONDSbLPxUAx79BPR1lH4CV8@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:31549 Archived-At: ------=_Part_2950_134525095.1665751538418 Content-Type: multipart/alternative; boundary="----=_Part_2951_410866749.1665751538418" ------=_Part_2951_410866749.1665751538418 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have been searching for this in this forum, tickets, etc,,.. and haven't= =20 been able to find a answer to what seems to be simple. The case is that I'm converting from a local dokuwiki export to gfm and I= =20 wanted to migrate the images too. The script I'm using is: *pandoc -s -f dokuwiki -t gfm=20 --resource-path=3D/home/user/src/wiki_gitbacked --extract-media ./media/=20 pages/test_webservices.txt -o ../dsi.wiki/test_webservices.md --verbose* And I get an error that pandoc couldn't fetch the resource at the url http:= //test_webservices/rest.png=20 (test_webservices is the dokuwiki page name) The file is at media/test_webservices/rest.png so if it was using local=20 paths it would get the proper image. Is there anything I'm missing on this?=20 The full message is attached. Thanks,=20 Joan --=20 Us cal imprimir aquest missatge? Protegim el medi ambient =C2=B7 =C2=BFNece= sitan=20 imprimir este mensaje? Protejamos el medio ambiente =C2=B7 Do you need to p= rint=20 this message? Let=E2=80=99s protect the environment. Advertiment legal: la=20 informaci=C3=B3 d=E2=80=99aquest missatge de correu electr=C3=B2nic =C3=A9s= confidencial i=20 s=E2=80=99adre=C3=A7a exclusivament al destinatari previst. Si heu rebut aq= uest missatge=20 per error, si us plau, notifiqueu-ho al remitent i esborreu-lo sense=20 copiar-lo, enregistrar-lo ni distribuir-lo. Advertencia legal: la=20 informaci=C3=B3n de este mensaje de correo electr=C3=B3nico es confidencial= y se=20 dirige exclusivamente al destinatario previsto. Si usted ha recibido el=20 mensaje por error, por favor, notif=C3=ADquelo al remitente y b=C3=B3rrelo = sin=20 copiarlo, grabarlo ni distribuirlo. Legal warning: the information=20 contained in this e-mail message is confidential and it=E2=80=99s for the e= xclusive=20 attention of the intended recipient. If you have recieved this message by= =20 mistake, please notify the sender and delete the message without copying,= =20 recording or distributing it.=C2=A0 --=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/104b27cf-2655-4b9d-af96-8595468994d1n%40googlegroups.com. ------=_Part_2951_410866749.1665751538418 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have been searching for this in this forum, tickets, etc,,.. and hav= en't been able to find a answer to what seems to be simple.
The c= ase is that I'm converting from a local dokuwiki export to gfm and I wanted= to migrate the images too.
The script I'm using is:
pandoc -s  -f dokuwiki -t gfm --resource-path=3D/home/user/src/w= iki_gitbacked --extract-media ./media/ pages/test_webservices.txt -o ../dsi= .wiki/test_webservices.md --verbose
And I get an error that p= andoc couldn't fetch the resource at the url http://test_webservices/rest.png (test_webservice= s is the dokuwiki page name)
<= span>
<= div>The file is at media/test_web= services/rest.png  so if it was using local paths it would get the pro= per image.

Is ther= e anything I'm missing on this?

<= /span>
The full message is attached.
=
Thanks,

<= /span>
Joan


Us cal imprimir aquest missatg= e? Protegim el medi ambient =C2=B7 =C2=BFNecesitan imprimir este mensaje? P= rotejamos el medio ambiente =C2=B7 Do you need to print this message? Let= =E2=80=99s protect the environment.

Advertiment legal: la informaci=C3=B3 d=E2=80=99aque= st missatge de correu electr=C3=B2nic =C3=A9s confidencial i s=E2=80=99adre= =C3=A7a exclusivament al destinatari previst. Si heu rebut aquest missatge = per error, si us plau, notifiqueu-ho al remitent i esborreu-lo sense copiar= -lo, enregistrar-lo ni distribuir-lo.

Advertencia legal: la informaci=C3=B3n de este men= saje de correo electr=C3=B3nico es confidencial y se dirige exclusivamente = al destinatario previsto. Si usted ha recibido el mensaje por error, por fa= vor, notif=C3=ADquelo al remitente y b=C3=B3rrelo sin copiarlo, grabarlo ni= distribuirlo.

Legal warning: the information contained in this e-mail message is conf= idential and it=E2=80=99s for the exclusive attention of the intended recip= ient. If you have recieved this message by mistake, please notify the sende= r and delete the message without copying, recording or distributing it.=C2= =A0

--
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/104b27cf-2655-4b9d-af96-8595468994d1n%40googlegroups.= com.
------=_Part_2951_410866749.1665751538418-- ------=_Part_2950_134525095.1665751538418 Content-Type: text/plain; charset=US-ASCII; name=msg.txt Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=msg.txt X-Attachment-Id: 9a7363ad-e88c-4d08-8e99-ea652053a02e Content-ID: <9a7363ad-e88c-4d08-8e99-ea652053a02e> $ pandoc -s -f dokuwiki -t gfm --resource-path=/home/user/src/wiki_gitbacked --extract-media ./media/ pages/test_webservices.txt -o ../dsi.wiki/test_webservices.md --verbose [INFO] Fetching http://test_webservices/rest.png... [WARNING] Could not fetch resource http://test_webservices/rest.png: HttpExceptionRequest Request { host = "test_webservices" port = 80 secure = False requestHeaders = [] path = "/rest.png" queryString = "" method = "GET" proxy = Nothing rawBody = False redirectCount = 10 responseTimeout = ResponseTimeoutDefault requestVersion = HTTP/1.1 proxySecureMode = ProxySecureWithConnect } (ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = 0.0.0.0:0, addrCanonName = NothReplacing image with description.rvices", service name: Just "80"): does not exist (Try again)) pandoc: /test_webservices/soapui_pass1.png: withBinaryFile: does not exist (No such file or directory) ------=_Part_2950_134525095.1665751538418--