I was following that PR quite closely and unfortunately it represents a
major API breakage which will force us to rewrite a lot of the logic for
connecting, interrupting and restarting kernels that we already have.
The best thing we can do is leave things as they are now, and make the
necessary changes for 2.3, because we won't be able to support IPython
0.13 and 1.0dev at the same time.
So 2.2 will be meant to work with the current stable IPython release
(0.13) and 2.3 with the next one (1.0).
Cheers,
Carlos
El 26/04/13 11:12, Jed Ludlow escribió:
On Fri, Apr 26, 2013 at 4:53 AM, Dave Hirschfeld <[email protected]
<mailto:[email protected]>> wrote:
I've got the latest IPythond when I try to open an IPython console
it doesn't open and I get the following traceback in the internal
console: an
Spyder 2.2.0rc internal shell on Python 2.7.2 32bits [Windows]
Inspect Spyder internals:
spy.app, spy.window, dir(spy)
>>> {u'hb_port': 54577,
u'iopub_port': 55614,
u'ip': u'127.0.0.1',
u'key': u'0b753489-46be-4831-87e0-25d9a662d16c',
u'shell_port': 52005,
u'stdin_port': 65409,
u'transport': u'tcp'}
Traceback (most recent call last):
File
"C:\dev\code\spyderlib\spyderlib\plugins\externalconsole.py", line
869, in <lambda>
cf, kernel_widget=shellwidget))
File
"C:\dev\code\spyderlib\spyderlib\plugins\externalconsole.py", line
947, in create_ipyclient
self.main.ipyconsole.new_client(connection_file, id(kernel_widget))
File
"C:\dev\code\spyderlib\spyderlib\plugins\ipythonconsole.py", line
878, in new_client
self.register_client(cf, kernel_widget_id, client_name)
File
"C:\dev\code\spyderlib\spyderlib\plugins\ipythonconsole.py", line
947, in register_client
config=self.ipywidget_config())
File
"C:\dev\code\spyderlib\spyderlib\plugins\ipythonconsole.py", line
813, in new_ipywidget
widget.kernel_manager = kernel_manager
File
"c:\dev\code\ipython\IPython\frontend\qt\base_frontend_mixin.py",
line 81, in kernel_manager
kernel_manager.kernel_restarted.connect(self._handle_kernel_restarted)
AttributeError: 'QtKernelManager' object has no attribute
'kernel_restarted'
Yup, I can reproduce this. It looks like there have been some major
changes in the last few days to IPython internals related to kernel
managers. See here:
https://github.com/ipython/ipython/pull/3011
Yikes. Have to decide how to react to this. Kind of lousy timing now
that 2.2 is just about ready....
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.