From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/22492 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andy Field Newsgroups: gmane.text.pandoc Subject: Re: pandoc document conversion to html fails with error 67 on PC network Date: Wed, 10 Apr 2019 03:01:56 -0700 (PDT) Message-ID: References: <539b3ef0-60e3-4e72-bf26-bba286ceafcc@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2173_1934012783.1554890517018" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="250968"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDIJT3XF4MFBBFX6W3SQKGQEF3ZI2NI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Apr 10 12:02:01 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi1-f185.google.com ([209.85.167.185]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hEA3M-00134l-Ah for gtp-pandoc-discuss@m.gmane.org; Wed, 10 Apr 2019 12:02:00 +0200 Original-Received: by mail-oi1-f185.google.com with SMTP id j5sf801468oif.14 for ; Wed, 10 Apr 2019 03:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=TuWmmM6VlWN0Dk5iSV/xFB7dPQrxep6vv27o5SFoCR0=; b=Iv1jYjA4ljKIKt3k4fOwcwZex2swOv3cszJmEPUvBw51kR9g/lT3qwD/mapeDeT2i4 FvH4nIsGZr4AYCA/+YCMEzE1fCqB7ag5ig/dbu7Dm8x1uDSjeb1B1Y+aZ5qaNjYol9bd l+XZaiW+Xl9A1+gDpqNTAiQfMvuvSBURnYyfaSXoq6y7s7HjepDypIUDTWFTySgcMHU3 MiouXPQ4mG9DIBaqdObLdZWKl9ONRwFKxQYzFcp12lBMA1HzZAh1U4bypa1pV9lesoYe 8wicfOl7WB5gBOj9n0tsnhQEI9eu9dQc3VoDHtRXX4nV2LzeZj4UIdSbTckCjx2CgwkH Gvag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=TuWmmM6VlWN0Dk5iSV/xFB7dPQrxep6vv27o5SFoCR0=; b=TTUgmqaLqIXAk5uPIn8w73TkZSg1YXBhdm4AjXNg0VY5tv82R/YbF7ZRq5Lj3eyops GTaumxJPBteCsEi7qUMndAmFkzwoFjiMvt+5W4e9ltRKwC+jbEcGHgdxGqd5nEoEqYyx SVhgQrmOnvhwBvbexF1EX7bFOKHWTLlyejYYnasRnH0BdsXOjztALDKjMIx1+G85KD8b KYF0rJoO3uA31NH98lgqEpIrvMGpE/vZiUnyv3RVVGDtgxvBGavRWTmrjniW1UOb9ZJD FrH4+Z1+DzWcaVVR3i69d9t0IiLjKIE1Zui15Zv/ROe3fyHJaj80/PU7Yce/hi47h8ae YZIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=TuWmmM6VlWN0Dk5iSV/xFB7dPQrxep6vv27o5SFoCR0=; b=YYqNXjdQGhH1j512hO+zVRF8P+V9YhXrZ+rNFtamKKLmbesRatRvG6pf/2SZweKTP7 b+TBddxVvdqNCCP7Fcu6onsbhDI0uFujSuPSAUbxYET7jweZ8ZwruKAD4whj3lwye4yu lqe5nYxrh/6jwAo9yLVlOft1TtngHlbsF0bL7y2qF87O76YSamNoz5b2h9wnb//j2awX SFcrWGNZeVHynK6Q7Kj66uWYUccNGhILn5F7AFOV1CmFpGAWglZ8nZ+yRB/ck5MYA8is wJBkJUT6H3dQTtLd0KIEylysv2gEIc02XW1KjP0JOkOwpUSvY9iIN89zWRiIPxYFLog6 UL/Q== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXaoG31asRncqvwIGaMkpK629miEfBMAt/J2FQ3ymHiL7wDm5E0 piB4txTZ/QlOJ/ONDmQ387A= X-Google-Smtp-Source: APXvYqxpcRyHamntFc80PVK5AyKeYJFHp4/JzSHecY9RKtHU//V7xByxTE95tEApQE9TEe4y3mFkqg== X-Received: by 2002:a9d:468:: with SMTP id 95mr28414964otc.240.1554890518977; Wed, 10 Apr 2019 03:01:58 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:be41:: with SMTP id o62ls281418oif.1.gmail; Wed, 10 Apr 2019 03:01:58 -0700 (PDT) X-Received: by 2002:aca:3e41:: with SMTP id l62mr2049842oia.24.1554890517722; Wed, 10 Apr 2019 03:01:57 -0700 (PDT) In-Reply-To: X-Original-Sender: ProfAndyField-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.org gmane.text.pandoc:22492 Archived-At: ------=_Part_2173_1934012783.1554890517018 Content-Type: multipart/alternative; boundary="----=_Part_2174_342929864.1554890517018" ------=_Part_2174_342929864.1554890517018 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks - that's good to know. Because ITS update the student desktop every= =20 summer, we'll be on a version of RStudio from probably June last year (and= =20 whatever version of pandoc that installed, which won't be version 2). I've= =20 asked ITS to test out updating to latest pandoc on the system to override= =20 whatever version was installed by RStudio last summer and test a basic RMD= =20 document. I'll keep my finger's crossed. thanks for the suggestion. If that= =20 fails I'll find out a specific version number (I'm a mac user so don't have= =20 a networked PC in my office ... it's quite the faff for me to access the=20 student desktop - I have to find a PC cluster on campus where teaching=20 isn't happening then log in from there!)=20 andy On Monday, 8 April 2019 20:04:02 UTC+1, John MacFarlane wrote: > > > I'd be good to know the version of pandoc that is=20 > being used. Some issues affecting use of shared=20 > drives have been fixed in recent versions, so if you=20 > can try the most recent version, that would be helpful.=20 > > Andy Field > writes:=20 > > > I work at a UK university where I teach R Studio and R Markdown. We hav= e=20 > a=20 > > problem with knitting Markdown documents to HTML when students are=20 > working=20 > > on networked university PCs.=20 > > The problem in brief=20 > > =20 > > - R Markdown documents knitted to html fail with with error 67=20 > > - Changing the YAML to self_contained: no results in a successfully= =20 > > knitted document, but this doesn=E2=80=99t help us because (obviousl= y) the=20 > html is=20 > > no longer self-contained and instead images and other references are= =20 > stored=20 > > in a separate folder. Students can=E2=80=99t submit non-self-contain= ed html=20 > for=20 > > assessment. We need the resulting html files to be self-contained.= =20 > > - Knitting to Word works=20 > > - I recently asked ITS to do a test install of latex and try knittin= g=20 > to=20 > > PDF. That worked (on a test file) too.=20 > >=20 > > Contextual information=20 > > =20 > > - Students work on networked PCs.=20 > > - The R library is set up for each user within their Documents folde= r=20 > on=20 > > the network mapped to a drive: N:/Documents/R/win-library/3.5=20 > > - We have had an issue with *some* (but not all) packages needing us= =20 > to=20 > > specify the library path (e.g., install.packages('package_name'), li= b=20 > =3D=20 > > N:/Documents/R/win-library/3.5). Reading around, this seems to be to= =20 > do=20 > > with UNC paths, but I don=E2=80=99t know enough about UNC paths to u= nderstand=20 > what=20 > > the issue is and ITS don=E2=80=99t understand enough about R Studio = to know=20 > why UNC=20 > > paths are a problem:-)=20 > >=20 > > More detail on the error=20 > >=20 > > This is the error from pandoc when knitting the default R markdown=20 > template=20 > > document:=20 > >=20 > > pandoc.exe: Could not fetch \xx.xx.xx.ac.uk-library.5-1.11.3.min.js=20 > > FailedConnectionException2 =E2=80=9Cxx.xx.xx.ac.uk=E2=80=9D 80 False co= nnect: failed=20 > > (Connection timed out (WSAETIMEDOUT)) Error: pandoc document conversion= =20 > > failed with error 67 Execution halted`=20 > >=20 > > xx.xx.xx.ac.uk is the home drive of the university network (with xs to= =20 > > replace the actual path) and =E2=80=98username=E2=80=99 would be the us= ers username. The=20 > > error looks as though it is looking for =E2=80=98jquery.min.js=E2=80=99= but timing out=20 > > before finding it. The file jquery.min.js exists at the specified=20 > location=20 > > (\xx.xx.xx.ac.uk-library.5-1.11.3)=20 > > Questions=20 > >=20 > > I=E2=80=99m hitting a brick wall with this issue. My ITS support are *r= eally*=20 > helpful=20 > > but they don=E2=80=99t know anything about pandoc or R Studio. Converse= ly, I=20 > know=20 > > nothing about networking, so they say =E2=80=98it=E2=80=99s a pandoc is= sue you=E2=80=99ll have=20 > to=20 > > ask the developers=E2=80=99, but everything I have read on error 67 sug= gests=20 > > firewalls/UNC paths as the issue, which I have no control over (unless = I=20 > > can give ITS some specific info on *why* UNC paths/firewalls messes up= =20 > > knitting to html and a way to resolve it). Despite many hours on the=20 > > internet, I haven=E2=80=99t found a way to resolve the issue other than= setting=20 > > self_contained: no in the YAML, which doesn=E2=80=99t help me.=20 > >=20 > > We=E2=80=99re changing all of our UG teaching in my school to R next ye= ar, and=20 > it=E2=80=99d=20 > > really make life a lot easier if we can have students not to=20 > self-contained=20 > > html. So, my questions:=20 > >=20 > > 1. If it is a UNC path/firewall issue does anyone have a workaround= =20 > > other than putting self_contained: no in the YAML? If you do have a= =20 > > solution that involves knowing about networking or UNC paths can you= =20 > > possibly give me info that will make sense to to my ITS staff (or=20 > point me=20 > > somewhere for more info).=20 > > 2. If it=E2=80=99s not a UNC path/firewall issue, what is the proble= m and is=20 > > there a solution?=20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group.=20 > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=20 > .=20 > > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/539b3ef0-60e3-4e72-bf26-= bba286ceafcc%40googlegroups.com.=20 > > > For more options, visit https://groups.google.com/d/optout.=20 > --=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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/a91c0936-0d49-41de-9419-d55a80a9a414%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_2174_342929864.1554890517018 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks - that's good to know. Because ITS update = the student desktop every summer, we'll be on a=20 version of RStudio from probably June last year (and whatever version of pandoc that installed, which won't be version 2). I've asked ITS t= o test out updating to latest pandoc on the system to override whatever ver= sion was installed by RStudio last summer and test a basic RMD document. I&= #39;ll keep my finger's crossed. thanks for the suggestion. If that fai= ls I'll find out a specific version number (I'm a mac user so don&#= 39;t have a networked PC in my office ... it's quite the faff for me to= access the student desktop - I have to find a PC cluster on campus where t= eaching isn't happening then log in from there!)

andy



On Monday, 8 April = 2019 20:04:02 UTC+1, John MacFarlane wrote:

I'd be good to know the version of pandoc that is
being used. =C2=A0Some issues affecting use of shared
drives have been fixed in recent versions, so if you
can try the most recent version, that would be helpful.

Andy Field <profan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I work at a UK university where I teach R Studio and R Markdown. W= e have a=20
> problem with knitting Markdown documents to HTML when students are= working=20
> on networked university PCs.
> The problem in brief
> =C2=A0 =C2=A0
> =C2=A0 =C2=A0- R Markdown documents knitted to html fail with with= error 67
> =C2=A0 =C2=A0- Changing the YAML to self_contained: no results in = a successfully=20
> =C2=A0 =C2=A0knitted document, but this doesn=E2=80=99t help us be= cause (obviously) the html is=20
> =C2=A0 =C2=A0no longer self-contained and instead images and other= references are stored=20
> =C2=A0 =C2=A0in a separate folder. Students can=E2=80=99t submit n= on-self-contained html for=20
> =C2=A0 =C2=A0assessment. We need the resulting html files to be se= lf-contained.
> =C2=A0 =C2=A0- Knitting to Word works
> =C2=A0 =C2=A0- I recently asked ITS to do a test install of latex = and try knitting to=20
> =C2=A0 =C2=A0PDF. That worked (on a test file) too.
>
> Contextual information
> =C2=A0 =C2=A0
> =C2=A0 =C2=A0- Students work on networked PCs.
> =C2=A0 =C2=A0- The R library is set up for each user within their = Documents folder on=20
> =C2=A0 =C2=A0the network mapped to a drive: N:/Documents/R/win-lib= rary/3.5
> =C2=A0 =C2=A0- We have had an issue with *some* (but not all) pack= ages needing us to=20
> =C2=A0 =C2=A0specify the library path (e.g., install.packages('= ;package_name'), lib =3D=20
> =C2=A0 =C2=A0N:/Documents/R/win-library/3.5). Reading around,= this seems to be to do=20
> =C2=A0 =C2=A0with UNC paths, but I don=E2=80=99t know enough about= UNC paths to understand what=20
> =C2=A0 =C2=A0the issue is and ITS don=E2=80=99t understand enough = about R Studio to know why UNC=20
> =C2=A0 =C2=A0paths are a problem:-)
>
> More detail on the error
>
> This is the error from pandoc when knitting the default R markdown= template=20
> document:
>
> pandoc.exe: Could not fetch \xx.xx.xx.ac.uk-library.5-1.11.3.= min.js=20
> FailedConnectionException2 =E2=80=9Cxx.xx.xx.ac.uk=E2=80=9D 80 False connect: failed=20
> (Connection timed out (WSAETIMEDOUT)) Error: pandoc document conve= rsion=20
> failed with error 67 Execution halted`
>
> xx.xx.xx.ac.uk= is the home drive of the university network (with xs to=20
> replace the actual path) and =E2=80=98username=E2=80=99 would be t= he users username. The=20
> error looks as though it is looking for =E2=80=98jquery.min.js=E2= =80=99 but timing out=20
> before finding it. The file jquery.min.js exists at the specified = location=20
> (\xx.xx.xx.ac.uk-library.5-1.11.3)
> Questions
>
> I=E2=80=99m hitting a brick wall with this issue. My ITS support a= re *really* helpful=20
> but they don=E2=80=99t know anything about pandoc or R Studio. Con= versely, I know=20
> nothing about networking, so they say =E2=80=98it=E2=80=99s a pand= oc issue you=E2=80=99ll have to=20
> ask the developers=E2=80=99, but everything I have read on error 6= 7 suggests=20
> firewalls/UNC paths as the issue, which I have no control over (un= less I=20
> can give ITS some specific info on *why* UNC paths/firewalls messe= s up=20
> knitting to html and a way to resolve it). Despite many hours on t= he=20
> internet, I haven=E2=80=99t found a way to resolve the issue other= than setting=20
> self_contained: no in the YAML, which doesn=E2=80=99t help me.
>
> We=E2=80=99re changing all of our UG teaching in my school to R ne= xt year, and it=E2=80=99d=20
> really make life a lot easier if we can have students not to self-= contained=20
> html. So, my questions:
>
> =C2=A0 =C2=A01. If it is a UNC path/firewall issue does anyone hav= e a workaround=20
> =C2=A0 =C2=A0other than putting self_contained: no in the YAML? If= you do have a=20
> =C2=A0 =C2=A0solution that involves knowing about networking or UN= C paths can you=20
> =C2=A0 =C2=A0possibly give me info that will make sense to to my I= TS staff (or point me=20
> =C2=A0 =C2=A0somewhere for more info).
> =C2=A0 =C2=A02. If it=E2=80=99s not a UNC path/firewall issue, wha= t is the problem and is=20
> =C2=A0 =C2=A0there a solution?
>
> --=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 pandoc-...@googlegroups.com.
> To post to this group, send email to pandoc-...@googlegroups.com.
> To view this discussion on the web visit
https://groups.= google.com/d/msgid/pandoc-discuss/539b3ef0-60e3-4e72-bf26-bba286c= eafcc%40googlegroups.com.
> For more options, visit https://groups.go= ogle.com/d/optout.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/a91c0936-0d49-41de-9419-d55a80a9a414%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_2174_342929864.1554890517018-- ------=_Part_2173_1934012783.1554890517018--