{"action":"created","issue":{"url":"https://api.github.com/repos/arose/nglview/issues/733","repository_url":"https://api.github.com/repos/arose/nglview","labels_url":"https://api.github.com/repos/arose/nglview/issues/733/labels{/name}","comments_url":"https://api.github.com/repos/arose/nglview/issues/733/comments","events_url":"https://api.github.com/repos/arose/nglview/issues/733/events","html_url":"https://github.com/arose/nglview/issues/733","id":303533823,"number":733,"title":"Error: Script error for \"nglview-js-widgets\"","user":{"login":"j3mdamas","id":10810178,"avatar_url":"https://avatars1.githubusercontent.com/u/10810178?v=4","gravatar_id":"","url":"https://api.github.com/users/j3mdamas","html_url":"https://github.com/j3mdamas","followers_url":"https://api.github.com/users/j3mdamas/followers","following_url":"https://api.github.com/users/j3mdamas/following{/other_user}","gists_url":"https://api.github.com/users/j3mdamas/gists{/gist_id}","starred_url":"https://api.github.com/users/j3mdamas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j3mdamas/subscriptions","organizations_url":"https://api.github.com/users/j3mdamas/orgs","repos_url":"https://api.github.com/users/j3mdamas/repos","events_url":"https://api.github.com/users/j3mdamas/events{/privacy}","received_events_url":"https://api.github.com/users/j3mdamas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-08T16:03:31Z","updated_at":"2018-03-08T17:04:34Z","closed_at":null,"author_association":"NONE","body":"I've tried to find other issues related with this, and I could only find #629.\r\n\r\nI was experiencing this issue on my local installation, so I went one step forward and used @hainm's mybinder demo (http://mybinder.org/repo/hainm/nglview-notebooks), which should, to the best of my knowledge, run on a kernel provided by mybinder, and therefore independent of my installation.\r\n\r\nSo, using the demo, and trying `pytraj.ipynb`, I get no visual representation in the place of the widget. I get a \"white rectangle\" that if I inspect, is empty:\r\n\r\n```\r\n<div class=\"output_subarea jupyter-widgets-view\"></div>\r\n```\r\n\r\nThe console log (from \"web developer tools\") shows:\r\n\r\n```\r\nrequire.js?v=6da8be361b9ee26c5e721e76c6d4afce:165 Uncaught (in promise) Error: Script error for \"nglview-js-widgets\"\r\nhttp://requirejs.org/docs/errors.html#scripterror\r\n    at makeError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:165)\r\n    at HTMLScriptElement.onScriptError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1732)\r\nmakeError @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:165\r\nonScriptError @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1732\r\nPromise rejected (async)\r\nManagerBase.register_model @ manager-base.js:208\r\n(anonymous) @ manager-base.js:247\r\nstep @ manager-base.js:42\r\n(anonymous) @ manager-base.js:23\r\n(anonymous) @ manager-base.js:17\r\n__awaiter @ manager-base.js:13\r\nManagerBase.new_model @ manager-base.js:232\r\n(anonymous) @ manager.js:106\r\n(anonymous) @ manager.js:105\r\nPromise resolved (async)\r\n(anonymous) @ manager.js:104\r\nPromise resolved (async)\r\nWidgetManager @ manager.js:75\r\nhandle_kernel @ extension.js:36\r\nregister_events @ extension.js:51\r\n(anonymous) @ extension.js:154\r\nexecCb @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1690\r\ncheck @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:865\r\nenable @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1177\r\ninit @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:783\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1453\r\nsetTimeout (async)\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1809\r\nlocalRequire @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1442\r\nrequirejs @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1791\r\n(anonymous) @ extension.js:146\r\nload_ipython_extension @ extension.js:145\r\n(anonymous) @ utils.js:39\r\nexecCb @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1690\r\ncheck @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:865\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1140\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:131\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1190\r\neach @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:56\r\nemit @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1189\r\ncheck @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:940\r\nenable @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1177\r\ninit @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:783\r\ncallGetModule @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1204\r\ncompleteLoad @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1583\r\nonScriptLoad @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1711\r\nrequire.js?v=6da8be361b9ee26c5e721e76c6d4afce:165 Uncaught (in promise) Error: Script error for \"nglview-js-widgets\"\r\nhttp://requirejs.org/docs/errors.html#scripterror\r\n    at makeError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:165)\r\n    at HTMLScriptElement.onScriptError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1732)\r\nmakeError @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:165\r\nonScriptError @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1732\r\nPromise rejected (async)\r\nManagerBase.register_model @ manager-base.js:208\r\n(anonymous) @ manager-base.js:247\r\nstep @ manager-base.js:42\r\n(anonymous) @ manager-base.js:23\r\n(anonymous) @ manager-base.js:17\r\n__awaiter @ manager-base.js:13\r\nManagerBase.new_model @ manager-base.js:232\r\n(anonymous) @ manager.js:106\r\n(anonymous) @ manager.js:105\r\nPromise resolved (async)\r\n(anonymous) @ manager.js:104\r\nPromise resolved (async)\r\nWidgetManager @ manager.js:75\r\nhandle_kernel @ extension.js:36\r\nregister_events @ extension.js:51\r\n(anonymous) @ extension.js:154\r\nexecCb @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1690\r\ncheck @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:865\r\nenable @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1177\r\ninit @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:783\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1453\r\nsetTimeout (async)\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1809\r\nlocalRequire @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1442\r\nrequirejs @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1791\r\n(anonymous) @ extension.js:146\r\nload_ipython_extension @ extension.js:145\r\n(anonymous) @ utils.js:39\r\nexecCb @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1690\r\ncheck @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:865\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1140\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:131\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1190\r\neach @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:56\r\nemit @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1189\r\ncheck @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:940\r\nenable @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1177\r\ninit @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:783\r\ncallGetModule @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1204\r\ncompleteLoad @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1583\r\nonScriptLoad @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1711\r\nrequire.js?v=6da8be361b9ee26c5e721e76c6d4afce:165 Uncaught (in promise) Error: Script error for \"nglview-js-widgets\"\r\nhttp://requirejs.org/docs/errors.html#scripterror\r\n    at makeError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:165)\r\n    at HTMLScriptElement.onScriptError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1732)\r\nmakeError @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:165\r\nonScriptError @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1732\r\nPromise rejected (async)\r\n(anonymous) @ manager.js:113\r\nPromise resolved (async)\r\nWidgetManager @ manager.js:75\r\nhandle_kernel @ extension.js:36\r\nregister_events @ extension.js:51\r\n(anonymous) @ extension.js:154\r\nexecCb @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1690\r\ncheck @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:865\r\nenable @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1177\r\ninit @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:783\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1453\r\nsetTimeout (async)\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1809\r\nlocalRequire @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1442\r\nrequirejs @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1791\r\n(anonymous) @ extension.js:146\r\nload_ipython_extension @ extension.js:145\r\n(anonymous) @ utils.js:39\r\nexecCb @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1690\r\ncheck @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:865\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1140\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:131\r\n(anonymous) @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1190\r\neach @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:56\r\nemit @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1189\r\ncheck @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:940\r\nenable @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1177\r\ninit @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:783\r\ncallGetModule @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1204\r\ncompleteLoad @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1583\r\nonScriptLoad @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1711\r\ncontent_script_bundle.js:7739 Uncaught TypeError: Cannot read property 'href' of null\r\n    at onMouseDown (content_script_bundle.js:7739)\r\nonMouseDown @ content_script_bundle.js:7739\r\nmanager-base.js:272 Could not instantiate widget\r\n(anonymous) @ manager-base.js:272\r\nstep @ manager-base.js:42\r\n(anonymous) @ manager-base.js:23\r\nrejected @ manager-base.js:15\r\nPromise rejected (async)\r\nstep @ manager-base.js:16\r\n(anonymous) @ manager-base.js:17\r\n__awaiter @ manager-base.js:13\r\nManagerBase._make_model @ manager-base.js:256\r\n(anonymous) @ manager-base.js:246\r\nstep @ manager-base.js:42\r\n(anonymous) @ manager-base.js:23\r\n(anonymous) @ manager-base.js:17\r\n__awaiter @ manager-base.js:13\r\nManagerBase.new_model @ manager-base.js:232\r\nManagerBase.handle_comm_open @ manager-base.js:144\r\n(anonymous) @ comm.js:89\r\nPromise resolved (async)\r\nCommManager.comm_open @ comm.js:85\r\ni @ jquery.min.js:4\r\nKernel._handle_iopub_message @ kernel.js:1223\r\nKernel._finish_ws_message @ kernel.js:1015\r\n(anonymous) @ kernel.js:1006\r\nPromise resolved (async)\r\nKernel._handle_ws_message @ kernel.js:1006\r\ni @ jquery.min.js:4\r\nutils.js:119 Error: Could not create a model.\r\n    at promiseRejection (utils.js:119)\r\n    at <anonymous>\r\npromiseRejection @ utils.js:119\r\nPromise rejected (async)\r\nManagerBase.handle_comm_open @ manager-base.js:149\r\n(anonymous) @ comm.js:89\r\nPromise resolved (async)\r\nCommManager.comm_open @ comm.js:85\r\ni @ jquery.min.js:4\r\nKernel._handle_iopub_message @ kernel.js:1223\r\nKernel._finish_ws_message @ kernel.js:1015\r\n(anonymous) @ kernel.js:1006\r\nPromise resolved (async)\r\nKernel._handle_ws_message @ kernel.js:1006\r\ni @ jquery.min.js:4\r\nkernel.js:1007 Couldn't process kernel message Error: Script error for \"nglview-js-widgets\"\r\nhttp://requirejs.org/docs/errors.html#scripterror\r\n    at makeError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:165)\r\n    at HTMLScriptElement.onScriptError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1732)\r\n(anonymous) @ kernel.js:1007\r\nPromise rejected (async)\r\nKernel._handle_ws_message @ kernel.js:1007\r\ni @ jquery.min.js:4\r\nrequire.js?v=6da8be361b9ee26c5e721e76c6d4afce:165 Uncaught (in promise) Error: Script error for \"nglview-js-widgets\"\r\nhttp://requirejs.org/docs/errors.html#scripterror\r\n    at makeError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:165)\r\n    at HTMLScriptElement.onScriptError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1732)\r\nmakeError @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:165\r\nonScriptError @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1732\r\nPromise rejected (async)\r\nManagerBase.register_model @ manager-base.js:208\r\n(anonymous) @ manager-base.js:247\r\nstep @ manager-base.js:42\r\n(anonymous) @ manager-base.js:23\r\n(anonymous) @ manager-base.js:17\r\n__awaiter @ manager-base.js:13\r\nManagerBase.new_model @ manager-base.js:232\r\nManagerBase.handle_comm_open @ manager-base.js:144\r\n(anonymous) @ comm.js:89\r\nPromise resolved (async)\r\nCommManager.comm_open @ comm.js:85\r\ni @ jquery.min.js:4\r\nKernel._handle_iopub_message @ kernel.js:1223\r\nKernel._finish_ws_message @ kernel.js:1015\r\n(anonymous) @ kernel.js:1006\r\nPromise resolved (async)\r\nKernel._handle_ws_message @ kernel.js:1006\r\ni @ jquery.min.js:4\r\nkernel.js:1007 Couldn't process kernel message Error: Script error for \"nglview-js-widgets\"\r\nhttp://requirejs.org/docs/errors.html#scripterror\r\n    at makeError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:165)\r\n    at HTMLScriptElement.onScriptError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1732)\r\n(anonymous) @ kernel.js:1007\r\nPromise rejected (async)\r\nKernel._handle_ws_message @ kernel.js:1007\r\ni @ jquery.min.js:4\r\nrequire.js?v=6da8be361b9ee26c5e721e76c6d4afce:165 Uncaught (in promise) Error: Script error for \"nglview-js-widgets\"\r\nhttp://requirejs.org/docs/errors.html#scripterror\r\n    at makeError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:165)\r\n    at HTMLScriptElement.onScriptError (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1732)\r\n```\r\n\r\nI can't quite understand the \"Script error\". I've tried both Chrome and Firefox. Do I need to update my browser or install something?\r\n\r\nThe most curious of all is that, if I use `gui=True` in the `view`, it shows the GUI but not the \"structure\".\r\n\r\nAny clues?\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/arose/nglview/issues/comments/371552997","html_url":"https://github.com/arose/nglview/issues/733#issuecomment-371552997","issue_url":"https://api.github.com/repos/arose/nglview/issues/733","id":371552997,"user":{"login":"j3mdamas","id":10810178,"avatar_url":"https://avatars1.githubusercontent.com/u/10810178?v=4","gravatar_id":"","url":"https://api.github.com/users/j3mdamas","html_url":"https://github.com/j3mdamas","followers_url":"https://api.github.com/users/j3mdamas/followers","following_url":"https://api.github.com/users/j3mdamas/following{/other_user}","gists_url":"https://api.github.com/users/j3mdamas/gists{/gist_id}","starred_url":"https://api.github.com/users/j3mdamas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j3mdamas/subscriptions","organizations_url":"https://api.github.com/users/j3mdamas/orgs","repos_url":"https://api.github.com/users/j3mdamas/repos","events_url":"https://api.github.com/users/j3mdamas/events{/privacy}","received_events_url":"https://api.github.com/users/j3mdamas/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T17:04:34Z","updated_at":"2018-03-08T17:04:34Z","author_association":"NONE","body":"Doing `jupyter-nbextension enable nglview --py --sys-prefix` did not change anything. I used bioconda."}}
{"actor":{"display_login":"j3mdamas"}}