public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: error using new python filters
Date: Thu, 5 Sep 2013 09:26:57 -0700	[thread overview]
Message-ID: <20130905162657.GA53611@Johns-MacBook-Pro.local> (raw)
In-Reply-To: <c3a05b34-7f73-44e8-901f-71a88c258ff5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

I assume you're using the dev version of pandoc.

>    Which indicates to me things are sort-of-ok, However if I try
>        pandoc --filter graphviz.py -f markdown -t latex test.markdown
>    Then I get this error:
>        pandoc: Error running filter graphviz.py
>        fd:4: hClose: resource vanished (Broken pipe)

Try ./graphviz.py

Otherwise it assumes the filter is in your path, which I assume
it is not...  Also make sure graphviz.py is executable (chmod +x).

+++ ben [Sep 05 13 08:58 ]:
>    Perhaps you can give me a hint as to how to fix this?
>    I'm trying to use the new python filters, and have dowloaded the
>    graphviz example as a starting point. I can run this command:
>        pandoc -f markdown -t json test.markdown | python graphviz.py
>    and get a blank image created, and this output:
>        [{"unMeta": {"date": {"MetaInlines": [{"Str": "here"}]}, "author":
>    {"MetaList": [{"MetaInlines": [{"Str": "hoes"}]}]}, "title":
>    {"MetaInlines": [{"Str": "Heading"}]}}}, [{"Para": [{"Str": "\"asdas"},
>    {"Space": []}, {"RawInline": ["tex", "\\textsc{II}"]}, {"Space": []},
>    {"Str": "asdas\""}]}, {"BlockQuote": [{"Para": [{"Str":
>    "\"sadsa\""}]}]}, {"Para": [{"Image": [[{"Str": "caption"}],
>    ["graphviz-images/facdb053223830440541aeac62d7d3fc1a43edc6.png",
>    ""]]}]}]]
>    Which indicates to me things are sort-of-ok, However if I try
>        pandoc --filter graphviz.py -f markdown -t latex test.markdown
>    Then I get this error:
>        pandoc: Error running filter graphviz.py
>        fd:4: hClose: resource vanished (Broken pipe)
>    Any hints much appreciated - I'm quite looking forward to using the new
>    filters.
>    Ben
> 
>    --
>    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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>    To view this discussion on the web visit
>    [1]https://groups.google.com/d/msgid/pandoc-discuss/c3a05b34-7f73-44e8-
>    901f-71a88c258ff5%40googlegroups.com.
>    For more options, visit [2]https://groups.google.com/groups/opt_out.
> 
> References
> 
>    1. https://groups.google.com/d/msgid/pandoc-discuss/c3a05b34-7f73-44e8-901f-71a88c258ff5%40googlegroups.com
>    2. https://groups.google.com/groups/opt_out


  parent reply	other threads:[~2013-09-05 16:26 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-05 15:58 ben
     [not found] ` <c3a05b34-7f73-44e8-901f-71a88c258ff5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-09-05 16:26   ` John MacFarlane [this message]
     [not found]     ` <20130905162657.GA53611-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2013-09-05 17:53       ` ben
     [not found]         ` <0d1c3c1e-8f75-49f7-a48e-bded083c23cf-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-09-05 22:28           ` ben
     [not found]             ` <307d269c-a2d9-4511-8ff2-d7d62b09e047-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-09-06  0:49               ` John MacFarlane
     [not found]                 ` <20130906004906.GA7557-0VdLhd/A9Pm0ooXD8Eul3deFUF7NV0gRTVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
2013-09-06  1:15                   ` John MacFarlane
     [not found]                     ` <20130906011559.GA7655-0VdLhd/A9Pm0ooXD8Eul3deFUF7NV0gRTVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
2013-09-06  1:42                       ` Joseph Reagle
2013-09-06  1:22                   ` John MacFarlane
     [not found]                     ` <20130906012257.GA7691-0VdLhd/A9Pm0ooXD8Eul3deFUF7NV0gRTVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
2013-09-06 10:54                       ` ben
     [not found]                         ` <4178608c-d391-451c-871e-9b3fa1ff6b28-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-09-06 17:41                           ` John MacFarlane
     [not found]                             ` <20130906174156.GA25682-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2013-09-06 18:52                               ` Jesse Rosenthal
     [not found]                                 ` <87eh91u6jm.fsf-4GNroTWusrE@public.gmane.org>
2013-09-10 10:42                                   ` ben
2013-09-10 10:52                       ` ben
     [not found]                         ` <41f5f129-2de1-4534-a62e-c7be7d49a6c9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-09-10 16:13                           ` John MacFarlane
     [not found]                             ` <20130910161352.GD83434-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2013-09-11 10:10                               ` ben
     [not found]                                 ` <7a191625-da7b-4ecd-8e0d-af21c30b4615-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-09-11 16:12                                   ` John MacFarlane
     [not found]                                     ` <20130911161219.GD88691-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2013-09-12  9:59                                       ` ben
     [not found]                                         ` <c8aa7646-e3b2-41e4-8677-3cbe66479858-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-09-12 18:10                                           ` John MacFarlane
2013-09-06  1:29                   ` Daniel Staal
2015-11-09 22:03       ` fd:3: hClose: resource vanished (Broken pipe) (was: Re: error using new python filters) BP Jonsson
2015-09-30  3:27   ` error using new python filters Richard Careaga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130905162657.GA53611@Johns-MacBook-Pro.local \
    --to=fiddlosopher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).