Hi Carlos,
I'm getting "kernel died" errors on my IPython Spyder console too (Python
2.7, Spyder 2.3.8, Windows 7), no computations but just as soon as I start
up the program. Tried resetting Spyder to defaults and also installing the
latest version of Anaconda but no luck. Any tips?
Many thanks,
Will
On Wednesday, 20 June 2012 03:08:51 UTC+2, Carlos Córdoba wrote:
>
> Hi Massimo,
>
> That's not the same problem. It seems you're using IPython 0.13dev but you
> need to update to 0.13beta1 to make Spyder work again with the latest
> IPython. A simple git fetch for IPython should solve the problem.
>
> Cheers,
> Carlos
>
> El 19/06/12 17:54, Massimo Di Stefano escribió:
>
> i don't know if this is the same problem but
> on osx using the latest ipython (both qtconsole and notebook works fine)
>
> i installed latest hg version of spyder, when i run the ipython from
> inside spyder with :
>
> open an ipython console
>
> i got :
>
> [IPKernelApp] To connect another client to this kernel, use:
> [IPKernelApp] --existing kernel-5576.json
> ---------------------------------------------------------------------------
> AttributeError Traceback (most recent call last)
> /Library/Python/2.7/site-packages/spyderlib/widgets/externalshell/start_ipython_kernel.py
>
> in <module>()
> 111
> 112 __ipythonshell__ = ipk_temp.shell
> --> 113 set_edit_magic(__ipythonshell__)
> global set_edit_magic = <function set_edit_magic at 0x108706140>
> global __ipythonshell__ =
> <IPython.zmq.zmqshell.ZMQInteractiveShell object at 0x10f565fd0>
> 114
> 115 # Issue 977 : Since kernel.initialize() has completed execution,
>
> /Library/Python/2.7/site-packages/spyderlib/widgets/externalshell/start_ipython_kernel.py
>
> in set_edit_magic(shell=<IPython.zmq.zmqshell.ZMQInteractiveShell object>)
> 82 elif programs.is_module_installed('IPython.frontend.qt',
> '>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'm on osx lion
>
> i started spyfer with :
>
> MacBook-Pro-di-Massimo:~ epifanio$ spyder -d
> Start of MainWindow constructor
> Initializing...
> End of MainWindow constructor
> *** Start of MainWindow setup ***
> Loading object inspector...
> Loading outline explorer...
> Loading editor...
> Loading file explorer...
> Loading history plugin...
> Loading online help...
> Loading project explorer...
> Loading external console...
> Loading IPython console...
> Loading namespace browser...
> Setting up main window...
> Setting up window...
> *** End of MainWindow setup ***
>
> Il giorno Jun 19, 2012, alle ore 6:43 PM, Carlos Córdoba ha scritto:
>
> Do you seem something printed on the Internal Console plugin or on the
> kernel tab that shows why it died? Or could you use 'hg bisect' to try to
> detect what change introduced the problem? Also, if you updated IPython
> lately try to run 'ipython qtconsole' next to Spyder to see if thet show
> the same behavior.
>
> Jed, I think you use a 64 bit Win 7 machine. Could you confirm this issue?
>
> El 19/06/12 17:01, Matt Anderson escribió:
>
> Ipython qtconsole by itself will run all day. Possibly I should mention I
> am on a windows 7 64 bit machine. The amount of time before it dies in
> Spyder can be rather long, 5-10 minutes even.
>
> On Tue, Jun 19, 2012 at 4:39 PM, Carlos Córdoba <[email protected]
> <javascript:>> wrote:
>
>> What happens if you run ipython alone with
>>
>> ipython qtconsole
>>
>> from the terminal? Are you seeing the same behavior?
>>
>> El 19/06/12 16:29, Matt Anderson escribió:
>>
>> I don't even have to be using it for it to die...I was playing on the
>> internet.
>>
>> On Tue, Jun 19, 2012 at 4:28 PM, Carlos Córdoba <[email protected]
>> <javascript:>> wrote:
>>
>>> Did you send some heavy/strange computations from the IPython console?
>>> or it just dies with no apparent reason?
>>>
>>> El 19/06/12 16:11, Matt Anderson escribió:
>>>
>>> It is greyed out, that is what has died and has to be restarted.
>>>
>>> On Tue, Jun 19, 2012 at 4:03 PM, Carlos Córdoba <[email protected]
>>> <javascript:>> wrote:
>>>
>>>> Please select the Console plugin and check that a tab called "IPyKernel
>>>> (23987)" (where the number is the same as the one of console you see has
>>>> died) and check that is not greyed out.
>>>>
>>>> El 19/06/12 15:38, Matt Anderson escribió:
>>>>
>>>> Everything else in spyder still functions as normal (I believe this
>>>> would not be the case if the console kernel had died) just the Ipython
>>>> console gives up, if I restart it with your new tool, it seems to work
>>>> fine
>>>> for a while, then dies again. How do I check if kernel attached to the
>>>> console is still alive?
>>>>
>>>> On Tue, Jun 19, 2012 at 3:25 PM, Carlos Córdoba <[email protected]
>>>> <javascript:>> wrote:
>>>>
>>>>> Have you checked that the kernel attached to the console is still
>>>>> alive? I mean, in the console (not IPython console) plugin?
>>>>>
>>>>> El 19/06/12 15:00, matt escribió:
>>>>>
>>>>> When I start an ipython session now, it works for a small amount of
>>>>>> time (0-2 minutes), then fails with
>>>>>>
>>>>>> It seems the kernel died unexpectedly. Use 'Restart kernel' to
>>>>>> continue using this console.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Then Windows makes me end the task and that same line keeps appearing
>>>>>> in the Ipython console. I can look into it further, but nobody else is
>>>>>> seeing this?
>>>>>>
>>>>>> --
>>>>>> 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/-/h-p9bt_2wAkJ.
>>>>>> To post to this group, send email to [email protected]
>>>>>> <javascript:>.
>>>>>> To unsubscribe from this group, send email to
>>>>>> [email protected] <javascript:>.
>>>>>> 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]
>>>>> <javascript:>.
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected] <javascript:>.
>>>>> 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]
>>>> <javascript:>.
>>>> To unsubscribe from this group, send email to
>>>> [email protected] <javascript:>.
>>>> 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]
>>>> <javascript:>.
>>>> To unsubscribe from this group, send email to
>>>> [email protected] <javascript:>.
>>>> 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]
>>> <javascript:>.
>>> To unsubscribe from this group, send email to
>>> [email protected] <javascript:>.
>>> 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]
>>> <javascript:>.
>>> To unsubscribe from this group, send email to
>>> [email protected] <javascript:>.
>>> 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]
>> <javascript:>.
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>.
>> 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]
>> <javascript:>.
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>.
>> 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]
> <javascript:>.
> To unsubscribe from this group, send email to
> [email protected] <javascript:>.
> 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]
> <javascript:>.
> To unsubscribe from this group, send email to
> [email protected] <javascript:>.
> 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]
> <javascript:>.
> To unsubscribe from this group, send email to
> [email protected] <javascript:>.
> 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 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 https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.