jgm/pandocfilters

Latest pandoc 1.18 breaks toJSONfilters?

Closed this issue · 3 comments

I get a key error and the version of pandocfilters.py it uses is old?

File "/usr/local/lib/python2.7/site-packages/pandocfilters.py", line 72, in toJSONFilter
altered = walk(doc, action, format, doc[0]['unMeta'])

When I use Homebrew to rollback the pandoc to version 1.17 the problem stops.

I'm guessing the new version of pandoc needs also the new version of pandoc filters, but how do I tell Python to load the new one and not the one it's loading?

Thanks for any help.

jgm commented

The JSON format changed with 1.18; you need to update to the
latest version of pandocfilters.

pip install --upgrade pandocfilters

+++ Richard Dooling [Nov 06 16 11:31 ]:

I get a key error and the version of pandocfilters.py it uses is old?

File "/usr/local/lib/python2.7/site-packages/pandocfilters.py", line
72, in toJSONFilter
altered = walk(doc, action, format, doc[0]['unMeta'])

When I use Homebrew to rollback the pandoc to version 1.17 the problem
stops.

I'm guessing the new version of pandoc needs also the new version of
pandoc filters, but how do I tell Python to load the new one and not
the one it's loading?

Thanks for any help.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, [1]view it on GitHub, or [2]mute the
thread.

References

  1. #50
  2. https://github.com/notifications/unsubscribe-auth/AAAL5FV_cWGZ2XJpIXn0BJbemhuaEzvAks5q7isggaJpZM4KqpuS

That worked like a charm! Thanks, John.

ickc commented

Please close this issue, thanks.