paulovn / sparql-kernel

A Jupyter kernel to launch queries against SPARQL endpoints
BSD 3-Clause "New" or "Revised" License
98 stars 17 forks source link

magic function `%endpoint` not recognized by jupyter nbconvert #53

Open magdasalatka opened 3 years ago

magdasalatka commented 3 years ago

While launching multiple notebooks with jupyter nbconvert, the %endpoit magic does not get recognized. The problem does not appear for launching one notebook only.

Setup:

Jupyter setup: jupyter core : 4.7.1 jupyter-notebook : 6.4.0 qtconsole : not installed ipython : 7.24.1 ipykernel : 5.5.5 jupyter client : 6.2.0 jupyter lab : not installed nbconvert : 6.0.7 ipywidgets : not installed nbformat : 5.1.3 traitlets : 5.0.5

Code in sparql_notebook.ipynb:

%endpoint https://ld.integ.stadt-zuerich.ch/query

Issue Command: jupyter nbconvert --execute --to=html notebooks/**.ipynb returns error UsageError: Line magic function%endpointnot found.

Command: jupyter nbconvert --execute --to=html notebooks/sparql_notebook.ipynb executes correctly