Quoting Eric Marsden (2020-06-12 16:08:52) > Package: pandoc-sidenote > Version: 0.20.0-1 > > When invoking pandoc-sidenote as a pandoc filter, it generates an error > related to "incompatible API versions". > > % pandoc --filter pandoc-sidenote -o /tmp/foo.html foo.md > pandoc-sidenote: Error in $: Incompatible API versions: encoded with > [1,17,5,4] but attempted to decode with [1,20]. > CallStack (from HasCallStack): > error, called at ./Text/Pandoc/JSON.hs:107:64 in > pandoc-types-1.20-Ip2ZGM2tgGt4TDYVgvP7zF:Text.Pandoc.JSON > Error running filter pandoc-sidenote: > Filter returned error status 1 > > > Architecture is amd64. Pandoc version is 2.5-3+b1. Reverting to the > previous version 0.19.0.0-2+b4 works fine.
Interesting! Looks like pandoc and pandoc-sidenote was compiled with different versions of pandoc-types, and strongly depend on that being identical at runtime. I will look into having pandoc provide a virtual package indicating its "ABI" of which pandoc-types it was compiled against, and then have pandoc-sidenote depend on that ABI. Thanks for reporting! - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature