ipython/ipython — Issue #871: Notebook crashes if a profile is used
Author: fperez
Created: 2011-10-14 01:19:20+00:00
State: open
Labels: htmlnotebook, prio-critical, status-active, type-bug

If any profile other than the default is used, the entire notebook blows up at the first cell execution, with this traceback:

---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/tmp/ in ()

/home/fperez/usr/lib/python2.6/site-packages/IPython/zmq/ipkernel.pyc in main()
775 """Run an IPKernel as an application"""
776 app = IPKernelApp.instance()
--> 777 app.initialize()
778 app.start()
779

/home/fperez/usr/lib/python2.6/site-packages/IPython/zmq/ipkernel.pyc in initialize(self=, argv=None)
708 )
709 def initialize(self, argv=None):
--> 710 super(IPKernelApp, self).initialize(argv)
711 self.init_shell()
712 self.init_extensions()

/home/fperez/usr/lib/python2.6/site-packages/IPython/zmq/kernelapp.pyc in initialize(self=, argv=None)
276 self.init_session()
277 self.init_poller()
--> 278 self.init_sockets()
279 # writing connection file must be *after* init_sockets
280 self.write_connection_file()

/home/fperez/usr/lib/python2.6/site-packages/IPython/zmq/kernelapp.pyc in init_sockets(self=)
226 tail = os.path.basename(self.connection_file)
227 if self.profile != 'default':
--> 228 tail += " --profile %s" % self.profile_name
229 else:
230 tail = self.connection_file

AttributeError: 'IPKernelApp' object has no attribute 'profile_name'