[IPython-dev] running ipython inside SPD

Ondrej Certik ondrej@certik...
Sat Mar 21 23:10:28 CDT 2009


Hi,

I started to work on the Source Python Distribution and here is howto:

http://code.google.com/p/qsnake/wiki/SPD

I installed it on our cluster and everything seems to work, but
ipcluster is showing me this exception:

$ ./spd -sh
$ ipcluster local -n 2
2009-03-21 21:07:27-0700 [-] Log opened.
2009-03-21 21:07:27-0700 [-] Process ['ipcontroller',
'--logfile=/home/ocertik/.ipython/log/ipcontroller'] has started with
pid=31949
2009-03-21 21:07:27-0700 [-] 'Traceback (most recent call last):\n'
2009-03-21 21:07:27-0700 [-] '  File
"/home/ocertik/spd/spd-0.3/local/bin/ipcontroller", line 18, in
<module>\n'
2009-03-21 21:07:27-0700 [-] '    '
2009-03-21 21:07:27-0700 [-] 'from IPython.kernel.scripts import ipcontroller\n'
2009-03-21 21:07:27-0700 [-] '  File
"/home/ocertik/spd/spd-0.3/local/lib/python2.5/site-packages/IPython/kernel/scripts/ipcontroller.py",
line 40, in <module>\n    from IPython.kernel.config import
config_manager as kernel_config_manager\n'
2009-03-21 21:07:27-0700 [-] '  File
"/home/ocertik/spd/spd-0.3/local/lib/python2.5/site-packages/IPython/kernel/config/__init__.py",
line 26, in <module>\n    security_dir = get_security_dir()\n'
2009-03-21 21:07:27-0700 [-] '  File
"/home/ocertik/spd/spd-0.3/local/lib/python2.5/site-packages/IPython/genutils.py",
line 1006, in get_security_dir\n    os.mkdir(security_dir,
0700)\nOSError: [Errno 2] No such file or directory:
\'/home/ocertik/.ipython/security\'\n'
2009-03-21 21:07:27-0700 [-] Process ['ipcontroller',
'--logfile=/home/ocertik/.ipython/log/ipcontroller'] has stopped with
{'status': 256, 'signal': None, 'exit_code': 1}
2009-03-21 21:07:28-0700 [-] Process ['ipengine',
'--logfile=/home/ocertik/.ipython/log/ipengine31949-'] has started
with pid=31950
2009-03-21 21:07:28-0700 [-] Process ['ipengine',
'--logfile=/home/ocertik/.ipython/log/ipengine31949-'] has started
with pid=31951
2009-03-21 21:07:28-0700 [-] Engines started with pids: [31950, 31951]
2009-03-21 21:07:28-0700 [-] 'Traceback (most recent call last):\n'
2009-03-21 21:07:28-0700 [-] '  File
"/home/ocertik/spd/spd-0.3/local/bin/ipengine", line 18, in <module>\n
   from IPython.kernel.scripts import ipengine\n  File
"/home/ocertik/spd/spd-0.3/local/lib/python2.5/site-packages/IPython/kernel/scripts/ipengine.py",
line 36, in <module>\n    from IPython.kernel.config import
config_manager as kernel_config_manager\n'
2009-03-21 21:07:28-0700 [-] '  File
"/home/ocertik/spd/spd-0.3/local/lib/python2.5/site-packages/IPython/kernel/config/__init__.py",
line 26, in <module>\n    security_dir = get_security_dir()\n  File
"/home/ocertik/spd/spd-0.3/local/lib/python2.5/site-packages/IPython/genutils.py",
line 1006, in get_security_dir\n'
2009-03-21 21:07:28-0700 [-] "    os.mkdir(security_dir,
0700)\nOSError: [Errno 2] No such file or directory:
'/home/ocertik/.ipython/security'\n"
2009-03-21 21:07:28-0700 [-] Process ['ipengine',
'--logfile=/home/ocertik/.ipython/log/ipengine31949-'] has stopped
with {'status': 256, 'signal': None, 'exit_code': 1}
2009-03-21 21:07:28-0700 [-] 'Traceback (most recent call last):\n'
2009-03-21 21:07:28-0700 [-] '  File
"/home/ocertik/spd/spd-0.3/local/bin/ipengine", line 18, in <module>\n
   from IPython.kernel.scripts import ipengine\n  File
"/home/ocertik/spd/spd-0.3/local/lib/python2.5/site-packages/IPython/kernel/scripts/ipengine.py",
line 36, in <module>\n'
2009-03-21 21:07:28-0700 [-] '    from IPython.kernel.config import
config_manager as kernel_config_manager\n  File
"/home/ocertik/spd/spd-0.3/local/lib/python2.5/site-packages/IPython/kernel/config/__init__.py",
line 26, in <module>\n    security_dir = get_security_dir()\n'
2009-03-21 21:07:28-0700 [-] '  File
"/home/ocertik/spd/spd-0.3/local/lib/python2.5/site-packages/IPython/genutils.py",
line 1006, in get_security_dir\n'
2009-03-21 21:07:28-0700 [-] "    os.mkdir(security_dir,
0700)\nOSError: [Errno 2] No such file or directory:
'/home/ocertik/.ipython/security'\n"
2009-03-21 21:07:28-0700 [-] Process ['ipengine',
'--logfile=/home/ocertik/.ipython/log/ipengine31949-'] has stopped
with {'status': 256, 'signal': None, 'exit_code': 1}



I am investigating it now. Is this a bug?

Ondrej


More information about the IPython-dev mailing list