Skip to content

Chicken and Egg Problem #1

@HelgeCPH

Description

@HelgeCPH

Currently, the kernel wraps the cypher-shell. That is, when the kernel is getting started, a command similar to cypher-shell -u neo4j -p neo4j is executed. That will of course only succeed when a Neo4j instance is running. Otherwise, cypher-shell returns Connection refused and the kernel crashes. That is an issue in case one wants to start notebooks in which one wants to create a Neo4j container only for this notebook, such as in examples/paradise_papers.ipynb.

A possible solution could be to try to run cypher-shell -u neo4j -p neo4j and check if it can connect (or check if a neo4j process is running) and if not to start a small instance in a container and connect to that.

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