Skip to content

[BUG] Cell magic not found #413

@whitehorsesoft

Description

@whitehorsesoft

Cell magic not found
Cell magic such as %%graph_notebook_config and %%status not found.

To Reproduce
Steps to reproduce the behavior:

  1. Run docker image jupyter/minimal-notebook.
  2. Open in browser
  3. Verify normal notebook functionality works without graph-notebook.
  4. Install graph-notebook using the commands found here:
# pin specific versions of required dependencies
pip install rdflib==5.0.0

# install the package
pip install graph-notebook
  1. Attempt to change configuration according to directions here:
%%graph_notebook_config
{
  "host": "localhost",
  "port": 8182,
  "ssl": false,
  "gremlin": {
    "traversal_source": "g",
    "username": "",
    "password": "",
    "message_serializer": "graphsonv3"
  }
}
  1. Error occurs: "UsageError: Cell magic %%graph_notebook_config not found."
  2. Verify error happens even after restarting kernel and restarting docker container.
    Expected behavior
    The cell magic should work as expected.

Desktop (please complete the following information):

  • OS: Win10/WSL/Ubuntu
  • Browser Chrome
  • Version latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Resolved

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions