Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible API versions #31

Open
damienbelveze opened this issue Jan 5, 2024 · 1 comment
Open

Incompatible API versions #31

damienbelveze opened this issue Jan 5, 2024 · 1 comment

Comments

@damienbelveze
Copy link

Hello, and I wish you the best for the New Year !

I have successfully installed pandoc-sidenotes with Stack on my Windows10 laptop.
But when I use this filter in a pandoc command such as :

pandoc file.md --filter pandoc-sidenotes -o file.pdf

I get the following error :

pandoc-sidenote: Error in $: Incompatible API versions: encoded with [1,22,2,1] but attempted to decode with [1,23].
CallStack (from HasCallStack):
  error, called at src\Text\Pandoc\JSON.hs:108:64 in pandoc-types-1.23-6lVli8kJOcQK3Pb5YpKd1J:Text.Pandoc.JSON
Error running filter pandoc-sidenote:
Filter returned error status 1

Could you please tell me what is going wrong. Maybe I should use it differently, but I don't know how.

Regards,

DB

@sarahciston
Copy link

Hi, I am also encountering this issue after installing on MacOS12.6 with brew.

pandoc-sidenote: Error in $: Incompatible API versions: encoded with [1,22,1] but attempted to decode with [1,23].
CallStack (from HasCallStack):
  error, called at src/Text/Pandoc/JSON.hs:108:64 in pandoc-types-1.23-2DdtSDCGYZd8HWDhV4DIl9:Text.Pandoc.JSON
Error running filter pandoc-sidenote:
Filter returned error status 1

Tried reinstalling at the same time as pandoc but no fix yet. Thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants