Skip to content

Notebook cell hangs when trying to parse an invalid JSON response #103

@jaw111

Description

@jaw111

I'm making SPARQL requests that involve multiple update operations in a single request. Trivial example:

drop silent default;
drop silent named;

The endpoint I am using returns an invalid JSON response with an object per update operation:

{ "head": {}, "boolean": true  }
{ "head": {}, "boolean": true  }

This presumably throws an error when trying to parse the response as JSON, but this appears not to be caught and the notebook cell keeps running indefinitely and cannot be stopped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions