Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7401963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:37:06+00:00 2026-05-29T04:37:06+00:00

When attempting to use pandoc to convert JSON based files (.ipynb) from iPython notebook

  • 0

When attempting to use pandoc to convert JSON based files (.ipynb) from iPython notebook (0.12), I receive an error stating “bad decodeArgs” for the JSON. I suspect that it may be due to the Ubuntu provided version of pandoc that I am using (1.8.1.1). It seems that getting the latest pandoc version requires setting up the Haskell platform which I was not successful doing because of dependency challenges (and really don’t want to). I don’t want to spend any more time trying to install Haskell if this is not my problem.

Is there a way to get the latest pandoc binaries for Ubuntu without rebuilding it?

Given that iPython notebook is new (and very cool!!), it would be nice to hear about experiences related to translating the JSON to other formats. Perhaps there is a different way to accomplish this other than pandoc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T04:37:07+00:00Added an answer on May 29, 2026 at 4:37 am

    Regarding your “keeping up to date with Pandoc”, I’m afraid you do need Haskell installed. The best way to do this via the Haskell Platform (“HP”) package, and then just like with Ruby, it’s a lot more consistent to use the environment’s package manager for dependencies than your OS. I’ve had no trouble getting it working, even in Windoze. . .

    I’m sure questions to the Haskell mailing list would result in quick help for a platform as mainstream as Debian/Ubuntu, but you might need to manually install a newer version of HP that what’s available through the OS package manager.

    Once you get HP up and running, the dev Pandoc is dead easy to compile, and git will keep you up to date with the latest – specific instructions here, currently maintained:
    https://github.com/jgm/pandoc/wiki/Installing-the-development-version-of-pandoc-1.9

    Note that v1.9 has now been officially released if you really don’t want to go to the trouble of keeping up to date with the dev cycle, but of course again you won’t get it in your OS package manager for quite some time after that (I assume anyway).

    ==========================
    Regarding your attempts to treat JSON as a document syntax:

    The best syntax inputs for Pandoc at this point are its native markdown+extensions, and reST (especially for Python people/environments), basically maintained as functionally equivalent, although there may be features available in the former that aren’t represented in the latter, since John can just add extensions anytime he wants. AFAIK Pandoc hasn’t begun to support the Sphinx extensions (yet?)

    The JSON format used internally within Pandoc isn’t documented (yet?) but it’s the native Haskell data type. As the Thomas K notes, there may be some similarity between how the two tools represent data, but probably not enough to treat either as “just another markup format”.

    However, if you’re working on this, it’s easy enough to see what Pandoc looks for in the way of JSON input.

    pandoc -t json

    compare this to

    pandoc -t native

    and it’s easy to see the specs created by Text.Pandoc.Definition and Text.JSON.Generic

    Using Pandoc’s internal data representation as input would obviously be more stable than a marked up text stream, and others have expressed a desire for documentation on this and it would be a great contribution to the community.

    Please do inform the Pandoc mail list of any work done in this area. The crew there is very responsive, including getting quick feedback from John M (the lead developer) himself directly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to use wget to recursively grab only the .jpg files from a
Attempting to use the data series from this example no longer passes the JSONLint
When attempting to use HttpWebRequest to retrieve a page from my dev server, I
In attempting to use std::select1st from <functional> in a VS2008 project I found that
I'm attempting to use TinyXML to read and save from memory, instead of only
I am attempting to use the 'tempfile' module for manipulating and creating text files.
I'm attempting to use MIB files in PySNMP. The code is fairly straightforward. Nothing
I'm attempting to use document.location(.href) on the onLoad event to redirect from one page
I am attempting to use a custom workflow activity to auto-increment build numbers based
I'm attempting to use Python to convert a multi-page PDF into a series of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.