mwcraig / ipyevents

A custom widget for returning mouse and keyboard events to Python. Documentation:
https://ipyevents.readthedocs.io/en/latest/index.html
BSD 3-Clause "New" or "Revised" License
112 stars 27 forks source link

Installation of ipyevents.json creates spurious error message #36

Closed athornton closed 5 years ago

athornton commented 5 years ago

https://github.com/mwcraig/ipyevents/blob/master/setup.py#L144

With ipyevents.json present in etc/jupyter/jupyter_notebook_config.d, Jupyter thinks ipyevents is installed as a serverextension, and it is not one.

[root@7781f13e5ddc tmp]# jupyter serverextension list
config dir: /usr/etc/jupyter
    jupyterlab  enabled
    - Validating...
      jupyterlab 0.35.4 OK
config dir: /usr/local/etc/jupyter
    ipyevents  enabled
    - Validating...
      X is ipyevents importable?
    jupyter_server_proxy  enabled
    - Validating...
      jupyter_server_proxy  OK
    jupyterlab  enabled
    - Validating...
      jupyterlab 0.35.4 OK
    nbdime  enabled
    - Validating...
      nbdime 1.0.4 OK
[root@7781f13e5ddc tmp]# mv /usr/local/etc/jupyter/jupyter_notebook_config.d/ipyevents.json /usr/local/etc/jupyter/jupyter_notebook_config.d/ipyevents.json.disable
[root@7781f13e5ddc tmp]# jupyter serverextension list
config dir: /usr/etc/jupyter
    jupyterlab  enabled
    - Validating...
      jupyterlab 0.35.4 OK
config dir: /usr/local/etc/jupyter
    jupyter_server_proxy  enabled
    - Validating...
      jupyter_server_proxy  OK
    jupyterlab  enabled
    - Validating...
      jupyterlab 0.35.4 OK
    nbdime  enabled
    - Validating...
      nbdime 1.0.4 OK
mwcraig commented 5 years ago

Thanks for reporting this -- I'll take a look this weekend!

mwcraig commented 5 years ago

This is fixed in the next release, that for letting me know about it.