{"action":"opened","issue":{"url":"https://api.github.com/repos/src-d/engine/issues/410","repository_url":"https://api.github.com/repos/src-d/engine","labels_url":"https://api.github.com/repos/src-d/engine/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/src-d/engine/issues/410/comments","events_url":"https://api.github.com/repos/src-d/engine/issues/410/events","html_url":"https://github.com/src-d/engine/issues/410","id":339162349,"node_id":"MDU6SXNzdWUzMzkxNjIzNDk=","number":410,"title":"Jupyter example notebook doesn't work out-of-the-box","user":{"login":"alejandrosame","id":1078000,"node_id":"MDQ6VXNlcjEwNzgwMDA=","avatar_url":"https://avatars3.githubusercontent.com/u/1078000?v=4","gravatar_id":"","url":"https://api.github.com/users/alejandrosame","html_url":"https://github.com/alejandrosame","followers_url":"https://api.github.com/users/alejandrosame/followers","following_url":"https://api.github.com/users/alejandrosame/following{/other_user}","gists_url":"https://api.github.com/users/alejandrosame/gists{/gist_id}","starred_url":"https://api.github.com/users/alejandrosame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alejandrosame/subscriptions","organizations_url":"https://api.github.com/users/alejandrosame/orgs","repos_url":"https://api.github.com/users/alejandrosame/repos","events_url":"https://api.github.com/users/alejandrosame/events{/privacy}","received_events_url":"https://api.github.com/users/alejandrosame/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-07T17:33:06Z","updated_at":"2018-07-07T17:33:06Z","closed_at":null,"author_association":"NONE","body":"## Expected Behavior\r\nI expect to follow the instructions in https://github.com/src-d/engine#playing-around-with-engine-on-jupyter and be able to run all the notebook cells to quickly get an idea of engine capabilities.\r\n\r\n## Current Behavior\r\nFollowing the the section as-is lets the user with a potentially confusing error (image provided below).\r\n\r\n## Possible Solution\r\n* Change ```engine = Engine(spark, \"/repositories\", \"standard\")``` to ```engine = Engine(spark, \"/repositories\", \"siva\")``` since the section is telling the user to use siva files.\r\n* Or update README to explicitly warn the user about this line change as the error is \"obscure\". They might not connect the thought that the line is expecting folders with repositories.\r\n\r\n## Steps to Reproduce (for bugs)\r\n\r\n1. git clone https://github.com/src-d/engine.git\r\n2. cd engine\r\n3. docker build -t test/engine-jupyter .\r\n4. docker run --name engine-jupyter --rm -it -p 8080:8080 -v $(pwd)/path/to/siva-files:/repositories --link bblfshd:bblfshd test/engine-jupyter\r\n4. Open notebook on browser.\r\n5. Executing the first cell in the notebook gives the following error:\r\n\r\n![notebook-error](https://user-images.githubusercontent.com/1078000/42413141-fd7a7b70-8211-11e8-9b0c-7a075c892f97.png)\r\n\r\n## Context\r\nFollowing the README line to line to see engine capabilities.\r\n\r\n## Your Environment (for bugs)\r\nExecuting the commands in Ubuntu 18.04.\r\n"}}
{"actor":{"display_login":"alejandrosame"}}