Skip to content
This repository was archived by the owner on Jul 29, 2020. It is now read-only.
This repository was archived by the owner on Jul 29, 2020. It is now read-only.

dev-branch normalize.py reports errors badly #1

Description

@holdenweb

In an attempt to remove the meaningless and unhelpful traceback information when the notebook file is unreadable I now trap the exception and terminate, printing out the error string from the exception.

Unfortunately the only information I currently get is

NotJSONError('Notebook does not appear to be JSON: '{\n "metadata": {'',)

It would be much more helpful to provide the positional data about the point of JSON parsing failure, which I understand should be available (somewhere?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions