{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/notebook/issues/1411","repository_url":"https://api.github.com/repos/jupyter/notebook","labels_url":"https://api.github.com/repos/jupyter/notebook/issues/1411/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/notebook/issues/1411/comments","events_url":"https://api.github.com/repos/jupyter/notebook/issues/1411/events","html_url":"https://github.com/jupyter/notebook/issues/1411","id":152200735,"number":1411,"title":"notebook errors with unable to create directory","user":{"login":"satra","id":184063,"avatar_url":"https://avatars.githubusercontent.com/u/184063?v=3","gravatar_id":"","url":"https://api.github.com/users/satra","html_url":"https://github.com/satra","followers_url":"https://api.github.com/users/satra/followers","following_url":"https://api.github.com/users/satra/following{/other_user}","gists_url":"https://api.github.com/users/satra/gists{/gist_id}","starred_url":"https://api.github.com/users/satra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satra/subscriptions","organizations_url":"https://api.github.com/users/satra/orgs","repos_url":"https://api.github.com/users/satra/repos","events_url":"https://api.github.com/users/satra/events{/privacy}","received_events_url":"https://api.github.com/users/satra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-01T14:02:23Z","updated_at":"2016-05-01T15:26:38Z","closed_at":null,"body":"error details, below on a clean environment:\r\n\r\n```\r\n$ jupyter-notebook --debug\r\n[D 09:59:58.787 NotebookApp] Searching [u'/om/user/satra/projects/SAD/scripts/fmri', '/home/satra/.jupyter', '/om/user/satra/envs/testjupyter/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files  \r\n[D 09:59:58.788 NotebookApp] Looking for jupyter_config in /etc/jupyter\r\n[D 09:59:58.789 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter\r\n[D 09:59:58.789 NotebookApp] Looking for jupyter_config in /om/user/satra/envs/testjupyter/etc/jupyter  \r\n[D 09:59:58.789 NotebookApp] Looking for jupyter_config in /home/satra/.jupyter\r\n[D 09:59:58.790 NotebookApp] Looking for jupyter_config in /om/user/satra/projects/SAD/scripts/fmri\r\n[D 09:59:58.791 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter\r\n[D 09:59:58.791 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter\r\n[D 09:59:58.792 NotebookApp] Looking for jupyter_notebook_config in /om/user/satra/envs/testjupyter/etc/jupyter\r\n[D 09:59:58.792 NotebookApp] Looking for jupyter_notebook_config in /home/satra/.jupyter\r\n[D 09:59:58.792 NotebookApp] Looking for jupyter_notebook_config in /om/user/satra/projects/SAD/scripts/fmri\r\nTraceback (most recent call last):\r\n  File \"/om/user/satra/envs/testjupyter/bin/jupyter-notebook\", line 6, in <module>\r\n    sys.exit(notebook.notebookapp.main())\r\n  File \"/om/user/satra/envs/testjupyter/lib/python2.7/site-packages/jupyter_core/application.py\", line 267, in launch_instance\r\n    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)\r\n  File \"/om/user/satra/envs/testjupyter/lib/python2.7/site-packages/traitlets/config/application.py\", line 595, in launch_instance\r\n    app.initialize(argv)\r\n  File \"<decorator-gen-7>\", line 2, in initialize\r\n  File \"/om/user/satra/envs/testjupyter/lib/python2.7/site-packages/traitlets/config/application.py\", line 74, in catch_config_error\r\n    return method(app, *args, **kwargs)\r\n  File \"/om/user/satra/envs/testjupyter/lib/python2.7/site-packages/notebook/notebookapp.py\", line 1058, in initialize\r\n    self.init_configurables()\r\n  File \"/om/user/satra/envs/testjupyter/lib/python2.7/site-packages/notebook/notebookapp.py\", line 838, in init_configurables\r\n    connection_dir=self.runtime_dir,\r\n  File \"/om/user/satra/envs/testjupyter/lib/python2.7/site-packages/traitlets/traitlets.py\", line 529, in __get__\r\n    return self.get(obj, cls)\r\n  File \"/om/user/satra/envs/testjupyter/lib/python2.7/site-packages/traitlets/traitlets.py\", line 508, in get\r\n    value = self._validate(obj, dynamic_default())\r\n  File \"/om/user/satra/envs/testjupyter/lib/python2.7/site-packages/jupyter_core/application.py\", line 99, in _runtime_dir_default\r\n    ensure_dir_exists(rd, mode=0o700)\r\n  File \"/om/user/satra/envs/testjupyter/lib/python2.7/site-packages/ipython_genutils/path.py\", line 167, in ensure_dir_exists\r\n    os.makedirs(path, mode=mode)\r\n  File \"/om/user/satra/envs/testjupyter/lib/python2.7/os.py\", line 150, in makedirs\r\n    makedirs(head, mode)\r\n  File \"/om/user/satra/envs/testjupyter/lib/python2.7/os.py\", line 157, in makedirs\r\n    mkdir(name, mode)\r\nOSError: [Errno 13] Permission denied: '/run/user/48529'\r\n```\r\n\r\nenvironment details, on centos 7.2, using a slurm terminal:\r\n```\r\nname: testjupyter\r\ndependencies:\r\n- backports=1.0=py27_0\r\n- backports_abc=0.4=py27_0\r\n- configparser=3.5.0b2=py27_1\r\n- decorator=4.0.9=py27_0\r\n- entrypoints=0.2=py27_1\r\n- fontconfig=2.11.1=5\r\n- freetype=2.5.5=0\r\n- get_terminal_size=1.0.0=py27_0 \r\n- ipykernel=4.3.1=py27_0\r\n- ipython=4.2.0=py27_0\r\n- ipython_genutils=0.1.0=py27_0\r\n- ipywidgets=4.1.1=py27_0\r\n- jinja2=2.8=py27_0\r\n- jsonschema=2.4.0=py27_0\r\n- jupyter=1.0.0=py27_2\r\n- jupyter_client=4.2.2=py27_0\r\n- jupyter_console=4.1.1=py27_0\r\n- jupyter_core=4.1.0=py27_0\r\n- libpng=1.6.17=0\r\n- libsodium=1.0.3=0\r\n- libxml2=2.9.2=0\r\n- markupsafe=0.23=py27_0\r\n- mistune=0.7.2=py27_0\r\n- nbconvert=4.2.0=py27_0\r\n- nbformat=4.0.1=py27_0\r\n- notebook=4.2.0=py27_0\r\n- openssl=1.0.2g=0\r\n- path.py=8.2.1=py27_0\r\n- pexpect=4.0.1=py27_0\r\n- pickleshare=0.5=py27_0\r\n- pip=8.1.1=py27_1\r\n- ptyprocess=0.5=py27_0\r\n- pygments=2.1.3=py27_0\r\n- pyqt=4.11.4=py27_1\r\n- python=2.7.11=0\r\n- pyzmq=15.2.0=py27_0\r\n- qt=4.8.7=1\r\n- qtconsole=4.2.1=py27_0\r\n- readline=6.2=2\r\n- setuptools=20.7.0=py27_0\r\n- simplegeneric=0.8.1=py27_0\r\n- singledispatch=3.4.0.3=py27_0\r\n- sip=4.16.9=py27_0\r\n- six=1.10.0=py27_0\r\n- sqlite=3.9.2=0\r\n- ssl_match_hostname=3.4.0.2=py27_1\r\n- terminado=0.5=py27_1\r\n- tk=8.5.18=0\r\n- tornado=4.3=py27_0\r\n- traitlets=4.2.1=py27_0\r\n- wheel=0.29.0=py27_0\r\n- zeromq=4.1.3=0\r\n- zlib=1.2.8=0\r\n- pip:\r\n  - backports-abc==0.4\r\n  - backports.shutil-get-terminal-size==1.0.0\r\n  - backports.ssl-match-hostname==3.4.0.2\r\n  - ipython-genutils==0.1.0\r\n  - jupyter-client==4.2.2\r\n  - jupyter-console==4.1.1\r\n  - jupyter-core==4.1.0\r\n```"},"comment":{"url":"https://api.github.com/repos/jupyter/notebook/issues/comments/216050151","html_url":"https://github.com/jupyter/notebook/issues/1411#issuecomment-216050151","issue_url":"https://api.github.com/repos/jupyter/notebook/issues/1411","id":216050151,"user":{"login":"satra","id":184063,"avatar_url":"https://avatars.githubusercontent.com/u/184063?v=3","gravatar_id":"","url":"https://api.github.com/users/satra","html_url":"https://github.com/satra","followers_url":"https://api.github.com/users/satra/followers","following_url":"https://api.github.com/users/satra/following{/other_user}","gists_url":"https://api.github.com/users/satra/gists{/gist_id}","starred_url":"https://api.github.com/users/satra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satra/subscriptions","organizations_url":"https://api.github.com/users/satra/orgs","repos_url":"https://api.github.com/users/satra/repos","events_url":"https://api.github.com/users/satra/events{/privacy}","received_events_url":"https://api.github.com/users/satra/received_events","type":"User","site_admin":false},"created_at":"2016-05-01T15:26:38Z","updated_at":"2016-05-01T15:26:38Z","body":"on centos 7.2, using a slurm terminal (using `srun --pty bash`)"}}