Now, I get a
C:\Users\matta.ARCHANGEL\Desktop\s\spyderlib\widgets\externalshell\start_ipython_kernel.py
in set_edit_magic(shell=<IPython.zmq.zmqshell.ZMQInteractiveShell object>)
82 elif programs.is_module_installed('IPython', '>0.12'):
83 shell.magics_manager.magics['line']['ed'] = \
---> 84 shell.magics_manager.magics['line']['edit']
shell.magics_manager.magics = undefined
85 shell.magics_manager.magics['line']['edit'] = open_in_spyder
86 else:
AttributeError: 'ZMQInteractiveShell' object has no attribute
'magics_manager'
I don't understand why 'ZMQInteractiveShell' object has no attribute
'magics_manager'. It looks like they have subclassed InteractiveShell, and
it has magics_manager. Nobody else having this problem?
On Sun, Jun 10, 2012 at 9:17 AM, Carlos Córdoba <[email protected]>wrote:
> Thanks Dave, I found the cause of error tonight and you're right: it had
> to do with the cell magic reorganization. Glad you like our new integration
> with IPython qtconsole. Stay tuned, there are more things to come :-)
>
> Cheers,
> Carlos
>
> El 09/06/12 10:27, Dave Hirschfeld escribió:
>
> 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.
>
> --
> You received this message because you are subscribed to the Google Groups
> "spyder" group.
> 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.
>
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
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.