{"action":"created","issue":{"url":"https://api.github.com/repos/ipython-contrib/IPython-notebook-extensions/issues/618","repository_url":"https://api.github.com/repos/ipython-contrib/IPython-notebook-extensions","labels_url":"https://api.github.com/repos/ipython-contrib/IPython-notebook-extensions/issues/618/labels{/name}","comments_url":"https://api.github.com/repos/ipython-contrib/IPython-notebook-extensions/issues/618/comments","events_url":"https://api.github.com/repos/ipython-contrib/IPython-notebook-extensions/issues/618/events","html_url":"https://github.com/ipython-contrib/IPython-notebook-extensions/issues/618","id":158568790,"number":618,"title":"error in following documentation ","user":{"login":"epifanio","id":18949,"avatar_url":"https://avatars.githubusercontent.com/u/18949?v=3","gravatar_id":"","url":"https://api.github.com/users/epifanio","html_url":"https://github.com/epifanio","followers_url":"https://api.github.com/users/epifanio/followers","following_url":"https://api.github.com/users/epifanio/following{/other_user}","gists_url":"https://api.github.com/users/epifanio/gists{/gist_id}","starred_url":"https://api.github.com/users/epifanio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epifanio/subscriptions","organizations_url":"https://api.github.com/users/epifanio/orgs","repos_url":"https://api.github.com/users/epifanio/repos","events_url":"https://api.github.com/users/epifanio/events{/privacy}","received_events_url":"https://api.github.com/users/epifanio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-05T19:02:35Z","updated_at":"2016-06-06T12:17:05Z","closed_at":null,"body":"Tring to configure the extension following [those instructions](https://github.com/ipython-contrib/IPython-notebook-extensions/wiki/Home-4.x-%28Jupyter%29) i got this error:\r\n\r\n``` python\r\nimport notebook\r\nE = notebook.nbextensions.EnableNBExtensionApp()\r\nE.enable_nbextension('usability/codefolding/main')\r\n```\r\nI got the following error:\r\n\r\n``` python\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n<ipython-input-2-79dd84cd75e5> in <module>()\r\n      1 import notebook\r\n      2 E = notebook.nbextensions.EnableNBExtensionApp()\r\n----> 3 E.enable_nbextension('usability/codefolding/main')\r\n\r\nAttributeError: 'EnableNBExtensionApp' object has no attribute 'enable_nbextension'\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ipython-contrib/IPython-notebook-extensions/issues/comments/223942380","html_url":"https://github.com/ipython-contrib/IPython-notebook-extensions/issues/618#issuecomment-223942380","issue_url":"https://api.github.com/repos/ipython-contrib/IPython-notebook-extensions/issues/618","id":223942380,"user":{"login":"jcb91","id":5630710,"avatar_url":"https://avatars.githubusercontent.com/u/5630710?v=3","gravatar_id":"","url":"https://api.github.com/users/jcb91","html_url":"https://github.com/jcb91","followers_url":"https://api.github.com/users/jcb91/followers","following_url":"https://api.github.com/users/jcb91/following{/other_user}","gists_url":"https://api.github.com/users/jcb91/gists{/gist_id}","starred_url":"https://api.github.com/users/jcb91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcb91/subscriptions","organizations_url":"https://api.github.com/users/jcb91/orgs","repos_url":"https://api.github.com/users/jcb91/repos","events_url":"https://api.github.com/users/jcb91/events{/privacy}","received_events_url":"https://api.github.com/users/jcb91/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T12:17:05Z","updated_at":"2016-06-06T12:17:05Z","body":"Ah, found it. It seems the `enable_nbextension` method was removed in 5.0, for no reason I can see.\r\n\r\nPerhaps it would work better with:\r\n\r\n```python\r\nfrom notebook.nbextensions import enable_nbextension\r\nenable_nbextension('notebook', 'usability/codefolding/main')\r\n```\r\n\r\n?"}}
{"actor":{"display_login":"jcb91"}}