Closed alok closed 7 years ago
+++ Alok Singh [Nov 08 16 03:13 ]:
[1]test filter I was trying to run
I did make the filter executable.
error: echo "a" | pandoc --filter ~/bin/rm-extra-header.hs rm-extra-header.hs: Error in $: mempty CallStack (from HasCallStack): error, called at ./Text/Pandoc/JSON.hs:119:12 in pandoc-types-1.17.0.4-Hs1lnmN 3LlxJUzRRsnJ77y:Text.Pandoc.JSON pandoc: Error running filter /Users/alokbeniwal/bin/rm-extra-header.hs Filter returned error status 1
You're using a filter compiled (or interpreted) against pandoc-types-1.17.0.4, but you're using pandoc 1.17.1, which is compiled against an earlier incompatible version 1.16.1.1.
Simplest fix is to install the latest pandoc, 1.18.
Alternatively you can compile your filter, but you'll need to tell ghc to use pandoc-types-1.16.1.1.
Or remove pandoc-types-1.17.0.4 and install pandoc-types-1.16.1.1 so the interpreter finds that version.
fixed, thanks. updating fixed it.
test filter I was trying to run
I did make the filter executable.
error:
which pandoc
gives the one installed bystack
into~/.local/bin/pandoc
.pandoc version: