Re: Leo crashes when using iPython plugin
On Thu, Oct 5, 2017 at 5:25 AM, Andreas Gehrmannwrote: > > Hi, I try to execute python code from Leo with the iPython plugin. > > I start Leo from the windows terminal with python leolauch.py --ipython > and as expected a Jupity QTconsol is opening. > If I run a print("hello world") via ipython excec it shows the result s > expected. > > However, if I run an input() command, Leo crhes. > ​Python's input() command causes problems for Leo. This is a known issue that can not be fixed. Sometimes you can try g.input_() instead, but this does not appear to work with ipython or jupyter, as I have just verified. Edward -- 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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: Leo crashes when using iPython plugin
thanks for this. How about the python terminal plugin, also no way to provide manual inputs? On Tuesday, October 10, 2017 at 11:55:22 PM UTC+8, john lunzer wrote: > > I would sort of expect a crash like this. I don't believe there is > anything built into the Leo-IPython bridge which would allow Leo to provide > keyboard input to IPython. Somebody with more knowledge could provide > additional detail but I might steer away from this method of trying to > provide keyboard input. > > On Sunday, October 8, 2017 at 9:31:35 PM UTC-4, Andreas Gehrmann wrote: >> >> >> Hi, I try to execute python code from Leo with the iPython plugin. >> >> I start Leo from the windows terminal with python leolauch.py --ipython >> and as expected a Jupity QTconsol is opening. >> If I run a print("hello world") via ipython excec it shows the result s >> expected. >> >> However, if I run an input() command, Leo crhes. >> >> Any suggestion? >> >> Thanks for your attention, Andreas >> > -- 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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: Leo crashes when using iPython plugin
I would sort of expect a crash like this. I don't believe there is anything built into the Leo-IPython bridge which would allow Leo to provide keyboard input to IPython. Somebody with more knowledge could provide additional detail but I might steer away from this method of trying to provide keyboard input. On Sunday, October 8, 2017 at 9:31:35 PM UTC-4, Andreas Gehrmann wrote: > > > Hi, I try to execute python code from Leo with the iPython plugin. > > I start Leo from the windows terminal with python leolauch.py --ipython > and as expected a Jupity QTconsol is opening. > If I run a print("hello world") via ipython excec it shows the result s > expected. > > However, if I run an input() command, Leo crhes. > > Any suggestion? > > Thanks for your attention, Andreas > -- 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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Leo crashes when using iPython plugin
Hi, I try to execute python code from Leo with the iPython plugin. I start Leo from the windows terminal with python leolauch.py --ipython and as expected a Jupity QTconsol is opening. If I run a print("hello world") via ipython excec it shows the result s expected. However, if I run an input() command, Leo crhes. Any suggestion? Thanks for your attention, Andreas -- 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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.