With the latest IPython & Spyder I get the following error when trying to 
start a Kernel:

[IPKernelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-1984.json
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
C:\dev\code\spyderlib\spyderlib\widgets\externalshell\start_ipython_kernel.py 
in <module>()
     97 
     98 # For issue 1051: Use %edit to open files in Spyder
---> 99 __ipythonshell__.magic_ed = __ipythonshell__.magic_edit
        global __ipythonshell__.magic_ed = undefined
        global __ipythonshell__.magic_edit = undefined
    100 __ipythonshell__.magic_edit = open_in_spyder
    101 

AttributeError: 'ZMQInteractiveShell' object has no attribute 'magic_edit'


I think this may have something to do with the recent refactoring they did 
for the cell magics:

https://github.com/ipython/ipython/commit/8c9b30d6cdb31db332625cb98f9ca2cfe654220c#IPython/zmq/zmqshell.py
 

I'm not sure what the correct fix is but removing the magic_edit lines 
allowed IPython to start.

Thanks to all the Spyder developers - it's a fantastic Python IDE! I'm 
especially happy with the new improved IPython 
kernel integration - it makes for a superb end-user experience!

Cheers,
Dave


-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/spyderlib/-/_h6hI6JtyoUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to