Try alt-x ipython-exec instead On Apr 30, 2013 12:35 AM, "wgw" <[email protected]> wrote:
> I ran leoLauncher.py --ipython and everything seemed to work: the ipython > window popped up and no error messages. Just this comment in the startup > terminal: > > > [IPKernelApp] To connect another client to this kernel, use: > > [IPKernelApp] --existing kernel-16687.json > > When I tried to run some code from Leo (alt-I), I got an error (see > traceback below). But if I continued, sometimes printing would appear, and > sometimes I had to hit enter in the ipython console to get a line to print. > The function definitions did not seem to go at all. > > > Any suggestions? > > > I am using the bzr version of Leo only, on Ubuntu Precise, python 2.7 : Leo > 4.11 devel, build 5752, 2013-04-26 23:46:30 > > exception executing command > Traceback (most recent call last): > File "/data2/Soft/leo-editor/trunk3/leo/core/leoCommands.py", line 560, > in doCommand > val = command(event) > File "/data2/Soft/leo-editor/trunk3/leo/core/leoCommands.py", line 1170, > in minibufferCallback > retval = function(keywords) > File "/data2/Soft/leo-editor/trunk3/leo/core/leoIPython.py", line 876, > in pushToIPythonCommand > startIPython(event=event) > File "/data2/Soft/leo-editor/trunk3/leo/core/leoIPython.py", line 864, > in startIPython > g_ipm.start_new_api() > File "/data2/Soft/leo-editor/trunk3/leo/core/leoIPython.py", line 289, > in start_new_api > ipapp.launch_new_instance() > File > "/usr/lib/python2.7/dist-packages/IPython/frontend/terminal/ipapp.py", line > 401, in launch_new_instance > app = TerminalIPythonApp.instance() > File "/usr/lib/python2.7/dist-packages/IPython/config/configurable.py", > line 329, in instance > '%s are being created.' % cls.__name__ > MultipleInstanceError: Multiple incompatible subclass instances of > TerminalIPythonApp are being created. > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" 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/leo-editor?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 "leo-editor" 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/leo-editor?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
