{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter-incubator/dashboards_setup/issues/12","repository_url":"https://api.github.com/repos/jupyter-incubator/dashboards_setup","labels_url":"https://api.github.com/repos/jupyter-incubator/dashboards_setup/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/jupyter-incubator/dashboards_setup/issues/12/comments","events_url":"https://api.github.com/repos/jupyter-incubator/dashboards_setup/issues/12/events","html_url":"https://github.com/jupyter-incubator/dashboards_setup/issues/12","id":171955048,"number":12,"title":"stderr Widget Javascript not detected.  How to register it?","user":{"login":"rs2","id":4407787,"avatar_url":"https://avatars.githubusercontent.com/u/4407787?v=3","gravatar_id":"","url":"https://api.github.com/users/rs2","html_url":"https://github.com/rs2","followers_url":"https://api.github.com/users/rs2/followers","following_url":"https://api.github.com/users/rs2/following{/other_user}","gists_url":"https://api.github.com/users/rs2/gists{/gist_id}","starred_url":"https://api.github.com/users/rs2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rs2/subscriptions","organizations_url":"https://api.github.com/users/rs2/orgs","repos_url":"https://api.github.com/users/rs2/repos","events_url":"https://api.github.com/users/rs2/events{/privacy}","received_events_url":"https://api.github.com/users/rs2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-18T17:22:16Z","updated_at":"2016-08-19T15:01:11Z","closed_at":null,"body":"1. Clear out `shared/jupyter` and `etc/jupyter` folders\r\n1. Install and register modules and extensions:\r\n```\r\npip install jupyter-kernel-gateway==0.5.1\r\npip install ipython==4.2.0\r\npip install jupyter-client==4.2.2\r\npip install jupyter-cms==0.5.0\r\npip install jupyter-core==4.1.0\r\npip install jupyter-dashboards==0.6.0\r\npip install jupyter-dashboards-bundlers==0.8.0\r\npip install jupyter-declarativewidgets==0.6.2\r\npip install ipywidgets==5.1.5\r\n\r\njupyter cms quick-setup --sys-prefix\r\njupyter dashboards quick-setup --sys-prefix\r\njupyter declarativewidgets quick-setup --sys-prefix\r\njupyter dashboards_bundlers quick-setup --sys-prefix\r\njupyter nbextension enable --py --sys-prefix widgetsnbextension\r\n```\r\n1. Verify the install:\r\n```\r\njupyter nbextension list\r\n\r\nKnown nbextensions:\r\n  config dir: foobar\\etc\\jupyter\\nbconfig\r\n    notebook section\r\n      declarativewidgets/js/main enabled\r\n      - Validating: ok\r\n      jupyter-js-widgets/extension enabled\r\n      - Validating: ok\r\n      jupyter_cms/notebook/main enabled\r\n      - Validating: ok\r\n      jupyter_dashboards/notebook/main enabled\r\n      - Validating: ok\r\n    tree section\r\n      jupyter_cms/dashboard/main enabled\r\n      - Validating: ok\r\n    edit section\r\n      jupyter_cms/editor/main enabled\r\n      - Validating: ok\r\n```\r\n1. Publish a dummy notebook to dashboards server\r\n1. Open that dashboard. \r\nIn the console you inevitably find\r\n```\r\ndashboard.js:1 stderr Widget Javascript not detected.  It may not be installed properly. Did you enable the widgetsnbextension? If not, then run \"jupyter nbextension enable --py --sys-prefix widgetsnbextension\"\r\nstream @ dashboard.js:1a @ dashboard.js:1(anonymous function) @ dashboard.js:1i.onIOPub @ dashboard.js:66e._handleIOPub @ dashboard.js:27e.handleMsg @ dashboard.js:27t._onWSMessage @ dashboard.js:27_ws.onmessage @ dashboard.js:27\r\nFailed to parse SourceMap: http://server:3000/components/dashboard.js.map\r\n\r\nDeclarative Widgets not supported (\"urth_components\" directory not found)\r\n\r\nWidget frontend version does not match the backend.\r\n```\r\nThat command was run successfully above, no?"},"comment":{"url":"https://api.github.com/repos/jupyter-incubator/dashboards_setup/issues/comments/241042595","html_url":"https://github.com/jupyter-incubator/dashboards_setup/issues/12#issuecomment-241042595","issue_url":"https://api.github.com/repos/jupyter-incubator/dashboards_setup/issues/12","id":241042595,"user":{"login":"rs2","id":4407787,"avatar_url":"https://avatars.githubusercontent.com/u/4407787?v=3","gravatar_id":"","url":"https://api.github.com/users/rs2","html_url":"https://github.com/rs2","followers_url":"https://api.github.com/users/rs2/followers","following_url":"https://api.github.com/users/rs2/following{/other_user}","gists_url":"https://api.github.com/users/rs2/gists{/gist_id}","starred_url":"https://api.github.com/users/rs2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rs2/subscriptions","organizations_url":"https://api.github.com/users/rs2/orgs","repos_url":"https://api.github.com/users/rs2/repos","events_url":"https://api.github.com/users/rs2/events{/privacy}","received_events_url":"https://api.github.com/users/rs2/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T15:01:11Z","updated_at":"2016-08-19T15:01:11Z","body":"Is `kernel gateway` expected to reference the same set of libraries as the `jupyter notebook` server that initiated the `Deploy As / Dashboard on Jupyter Dashboards Server` step?\r\n\r\nWhat if python repo that runs `kernel gateway` is missing libraries that `jupyter notebook` has access to?"}}
{"actor":{"display_login":"rs2"}}