{"action":"created","issue":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/4817","repository_url":"https://api.github.com/repos/jupyterlab/jupyterlab","labels_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/4817/labels{/name}","comments_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/4817/comments","events_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/4817/events","html_url":"https://github.com/jupyterlab/jupyterlab/issues/4817","id":337085817,"node_id":"MDU6SXNzdWUzMzcwODU4MTc=","number":4817,"title":"Kernel restarts when importing rpy2.robjects","user":{"login":"NicWayand","id":1117224,"node_id":"MDQ6VXNlcjExMTcyMjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1117224?v=4","gravatar_id":"","url":"https://api.github.com/users/NicWayand","html_url":"https://github.com/NicWayand","followers_url":"https://api.github.com/users/NicWayand/followers","following_url":"https://api.github.com/users/NicWayand/following{/other_user}","gists_url":"https://api.github.com/users/NicWayand/gists{/gist_id}","starred_url":"https://api.github.com/users/NicWayand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicWayand/subscriptions","organizations_url":"https://api.github.com/users/NicWayand/orgs","repos_url":"https://api.github.com/users/NicWayand/repos","events_url":"https://api.github.com/users/NicWayand/events{/privacy}","received_events_url":"https://api.github.com/users/NicWayand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-29T17:56:41Z","updated_at":"2018-06-30T00:52:07Z","closed_at":null,"author_association":"NONE","body":"The package `rpy2` loads fine: \r\n```python \r\nimport rpy2\r\n```\r\nbut when I try to load the submodule robjects:\r\n```python\r\nimport rpy2.robjects as robjects\r\n```\r\nthe kernal restarts (hovering over the dot says \"kernal starting\")\r\n\r\n(edit)\r\nThis appears to be an env issue:\r\nI get the above behavior if I start jupyterlab in my default env (_default_). But if I start jupyter lab from the env rpy2 is installed in (_rpy2_), it works without restarting.\r\n\r\nI have added the _rpy2_ kernel to jupyter (it shows up and in the list), so I am confused why starting jupyterlab in one env but using a kernal from another would lead to this error?"},"comment":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/comments/401506105","html_url":"https://github.com/jupyterlab/jupyterlab/issues/4817#issuecomment-401506105","issue_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/4817","id":401506105,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTUwNjEwNQ==","user":{"login":"jasongrout","id":192614,"node_id":"MDQ6VXNlcjE5MjYxNA==","avatar_url":"https://avatars0.githubusercontent.com/u/192614?v=4","gravatar_id":"","url":"https://api.github.com/users/jasongrout","html_url":"https://github.com/jasongrout","followers_url":"https://api.github.com/users/jasongrout/followers","following_url":"https://api.github.com/users/jasongrout/following{/other_user}","gists_url":"https://api.github.com/users/jasongrout/gists{/gist_id}","starred_url":"https://api.github.com/users/jasongrout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasongrout/subscriptions","organizations_url":"https://api.github.com/users/jasongrout/orgs","repos_url":"https://api.github.com/users/jasongrout/repos","events_url":"https://api.github.com/users/jasongrout/events{/privacy}","received_events_url":"https://api.github.com/users/jasongrout/received_events","type":"User","site_admin":false},"created_at":"2018-06-30T00:52:07Z","updated_at":"2018-06-30T00:52:07Z","author_association":"CONTRIBUTOR","body":"Just saw your note about the env. That does seem weird."}}
{"actor":{"display_login":"jasongrout"}}