Hello Edward,

Am Di., 25. Juni 2019 um 12:30 Uhr schrieb Edward K. Ream <[email protected]>:
>
> On Sun, Jun 23, 2019 at 4:32 AM Viktor Ransmayr <[email protected]> 
> wrote:
>
> > I was able to create an environment, where the Jupyter QtConsole (JQC) is 
> > started - however - the associated Leo outline, in my case 
> > "quickstart.leo", becomes unusable as soon as the JQC starts :-(
>
> I'm not sure what you mean by unusable.  When I run leo --ipython I see a 
> message from ipython/jupyter ending in:
>
> To connect another client to this kernel, use:
>     --existing kernel-49120.json

I don't see a similar message : -( - See JQC output below ...

> Within the JQC, _leo.c and _leo.g are bound as expected:
>
> In [1]:_leo.c
> Out[1]: Commander 2323764986824: 'C:/Users/edreamleo/.leo/workbook.leo'
>
> In [2]: _leo.g
> Out[2]: <module 'leo.core.leoGlobals' from 
> 'c:\\leo.repo\\leo-editor\\leo\\core\\leoGlobals.py'>

This is what I see in JQC:

Jupyter QtConsole 4.5.1
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64
bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help.

_leo.c

_leo.g
Out[2]: <module 'leo.core.leoGlobals' from
'c:\\users\\viktor\\pyve\\ve4ileo\\lib\\site-packages\\leo\\core\\leoGlobals.py'>


> Within the .leo file, executing (Ctrl-B) `print(g.app.ipk)` prints the 
> following in the JQC:
>
> <leo.core.leoIPython.InternalIPKernel object at 0x0000021D0B2C0550>

I can't enter any command at Leo's side! - This is what I meant with
unusable ;-)

With kind regards,

Viktor

-- 
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 https://groups.google.com/group/leo-editor.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAAeSrGJ_X3rkP0y%2BW3HYiOQfyK4X9sN0vBLvbvhpAKjvXVN4YQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to