Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ipython-notebook error message (server-side)
IOError: [Errno 2] No such file or directory: u'/home/chung/.ipython/profile_default/security/kernel-bc83298b-a9a2-447d-9443-fd77518466d9.json'
ERROR:root:500 POST /kernels?notebook=7b3c917c-4656-4704-a118-80a1be43e374 (90.147.23.93) 26.81ms
ERROR:root:Uncaught exception POST /clusters/default/start (90.147.23.93)
HTTPRequest(protocol='http', host='147.102.82.125:7777', method='POST', uri='/clusters/default/start', version='HTTP/1.1', remote_ip='90.147.23.93', body='n=', headers={'Content-Length': '2', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate', 'Host': '147.102.82.125:7777', 'Accept': 'application/json, text/javascript, */*; q=0.01', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:25.0) Gecko/20100101 Firefox/25.0', 'Connection': 'keep-alive', 'X-Requested-With': 'XMLHttpRequest', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'Referer': 'http://147.102.82.125:7777/', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'})
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tornado/web.py", line 1021, in _execute
getattr(self, self.request.method.lower())(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/tornado/web.py", line 1794, in wrapper
return method(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/IPython/frontend/html/notebook/handlers.py", line 700, in post
data = cm.start_cluster(profile)
File "/usr/lib/python2.7/dist-packages/IPython/frontend/html/notebook/clustermanager.py", line 116, in start_cluster
cl, esl, default_n = self.build_launchers(data['profile_dir'])
File "/usr/lib/python2.7/dist-packages/IPython/frontend/html/notebook/clustermanager.py", line 65, in build_launchers
starter = DummyIPClusterStart(log=self.log)
File "/usr/lib/python2.7/dist-packages/IPython/core/application.py", line 153, in __init__
self._ipython_dir_changed('ipython_dir', self.ipython_dir, self.ipython_dir)
File "/usr/lib/python2.7/dist-packages/IPython/core/application.py", line 184, in _ipython_dir_changed
os.makedirs(new, mode=0777)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/chung/.ipython'
ERROR:root:500 POST /clusters/default/start (90.147.23.93) 50.75ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment