{"action":"created","issue":{"url":"https://api.github.com/repos/vidartf/jupyter-vtk-datawidgets/issues/3","repository_url":"https://api.github.com/repos/vidartf/jupyter-vtk-datawidgets","labels_url":"https://api.github.com/repos/vidartf/jupyter-vtk-datawidgets/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/vidartf/jupyter-vtk-datawidgets/issues/3/comments","events_url":"https://api.github.com/repos/vidartf/jupyter-vtk-datawidgets/issues/3/events","html_url":"https://github.com/vidartf/jupyter-vtk-datawidgets/issues/3","id":354881987,"node_id":"MDU6SXNzdWUzNTQ4ODE5ODc=","number":3,"title":"Cannot install jupyter lab extension","user":{"login":"batearedcollie","id":15046628,"node_id":"MDQ6VXNlcjE1MDQ2NjI4","avatar_url":"https://avatars2.githubusercontent.com/u/15046628?v=4","gravatar_id":"","url":"https://api.github.com/users/batearedcollie","html_url":"https://github.com/batearedcollie","followers_url":"https://api.github.com/users/batearedcollie/followers","following_url":"https://api.github.com/users/batearedcollie/following{/other_user}","gists_url":"https://api.github.com/users/batearedcollie/gists{/gist_id}","starred_url":"https://api.github.com/users/batearedcollie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batearedcollie/subscriptions","organizations_url":"https://api.github.com/users/batearedcollie/orgs","repos_url":"https://api.github.com/users/batearedcollie/repos","events_url":"https://api.github.com/users/batearedcollie/events{/privacy}","received_events_url":"https://api.github.com/users/batearedcollie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-28T20:01:43Z","updated_at":"2018-09-04T14:53:24Z","closed_at":null,"author_association":"NONE","body":"Using Ubuntu 18.04, Python 3.6\r\n\r\nI can get a build from source to work in Jupyter notebook using the following:\r\n\r\n```\r\ngit clone https://github.com/vidartf/jupyter-vtk-datawidgets vtkdatawidgets/ \r\ncd vtkdatawidgets \r\npython3 -m pip install -e . -v \r\njupyter nbextension install --system --py vtkdatawidgets \r\njupyter nbextension enable --system --py vtkdatawidgets \r\n```\r\n\r\nHowever the procedure for jupyter lab:\r\n```\r\ngit clone https://github.com/vidartf/jupyter-vtk-datawidgets vtkdatawidgets/ \r\ncd vtkdatawidgets \r\npython3 -m pip install -e . \r\njupyter labextension install .\r\n```\r\n\r\nProduces a stream of errors like:\r\n```\r\nERROR in ./node_modules/jupyter-vtk-datawidgets/node_modules/vtk.js/Sources/Rendering/OpenGL/glsl/vtkVolumeVS.glsl 18:10\r\nModule parse failed: Unexpected token (18:10)\r\nYou may need an appropriate loader to handle this file type.\r\n| =========================================================================*/\r\n|\r\n> attribute vec4 vertexDC;\r\n|\r\n| varying vec3 vertexVCVSOutput;\r\n @ ./node_modules/jupyter-vtk-datawidgets/node_modules/vtk.js/Sources/Rendering/OpenGL/VolumeMapper/index.js 20:0-80 83:21-32\r\n @ ./node_modules/jupyter-vtk-datawidgets/node_modules/vtk.js/Sources/Rendering/OpenGL/ViewNodeFactory/index.js\r\n @ ./node_modules/jupyter-vtk-datawidgets/node_modules/vtk.js/Sources/Rendering/OpenGL/RenderWindow/index.js\r\n @ ./node_modules/jupyter-vtk-datawidgets/lib/widgets/renderer.js\r\n @ ./node_modules/jupyter-vtk-datawidgets/lib/widgets/index.js\r\n @ ./node_modules/jupyter-vtk-datawidgets/lib/plugin.js\r\n @ ./build/index.out.js\r\n @ multi whatwg-fetch ./build/index.out.js\r\n....\r\n```\r\nAny help would be gratefully appreciated. "},"comment":{"url":"https://api.github.com/repos/vidartf/jupyter-vtk-datawidgets/issues/comments/418397759","html_url":"https://github.com/vidartf/jupyter-vtk-datawidgets/issues/3#issuecomment-418397759","issue_url":"https://api.github.com/repos/vidartf/jupyter-vtk-datawidgets/issues/3","id":418397759,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODM5Nzc1OQ==","user":{"login":"vidartf","id":510760,"node_id":"MDQ6VXNlcjUxMDc2MA==","avatar_url":"https://avatars3.githubusercontent.com/u/510760?v=4","gravatar_id":"","url":"https://api.github.com/users/vidartf","html_url":"https://github.com/vidartf","followers_url":"https://api.github.com/users/vidartf/followers","following_url":"https://api.github.com/users/vidartf/following{/other_user}","gists_url":"https://api.github.com/users/vidartf/gists{/gist_id}","starred_url":"https://api.github.com/users/vidartf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidartf/subscriptions","organizations_url":"https://api.github.com/users/vidartf/orgs","repos_url":"https://api.github.com/users/vidartf/repos","events_url":"https://api.github.com/users/vidartf/events{/privacy}","received_events_url":"https://api.github.com/users/vidartf/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T14:53:24Z","updated_at":"2018-09-04T14:53:24Z","author_association":"OWNER","body":"I added two comments on that commit. Hopefully that can push things in the right direction. If you want to open up a PR with the relevant changes, it would be easier for the discussion to be available, and I could also push commits to it."}}
{"actor":{"display_login":"vidartf"}}