Hello Edward & Community,

Since I'm still waiting for feedback on the two other topics I raised here 
earlier, I spent some time this morning to investigate Leo’s IPython Bridge.

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 :-(

Is anybody else experiencing the same issue - or - can you tell me what I'm 
doing wrong / what I should change? - TIA!

With kind regards,

Viktor

### 

Here are the notes from my investigations this morning:


   1. Create a new VE with Leo 5.9 from PyPI.


   - See "Log-001"


   1. Try to start Leo with the command-line option "--ipython" enabled.


   - OK - but - no indication is shown in the logs ...
   - See "Log-002"
   - Close this instance of Leo again - and - continue reading the 
   available documentation.


   1. Install IPython 7.5.0 from PyPI.


   - See "Log-003"
   

   1. Start Leo with the command-line option "--ipython" enabled again.


   - OK - but - still no indication is shown in the logs ...
   - Open the "quickstart.leo" outline - and - close the outlines 
   "WL2018.leo" & "WL2019.leo".
   - Close & restart this instance with the command-line option "--ipython" 
   enabled.
   - See "Log-004"
   - Close this instance of Leo again - and - continue reading ...


   1. Install Jupyter 1.0.0 from PyPI.


   - See "Log-005".


   1. Start Leo with the command-line option "--ipython" enabled again.


   - OK. - Now the Jupyter QtConsole is started in a separate window ...
   - See "Log-006"
   - The "quickstart.leo" outline is unusable - and - gets closed when you 
   quit the Jupyter QtConsole.


   1. Retry this scenario one more time


   - More or less the same behaviour. The "quickstart.leo" outline opens 
   first - but - becomes unusable again once the Jupyter QtConsole (JQC) 
   started.
   - JQC > Kernel > Confirm kernel restart ---> No change on Leo's side ...
   - JQC > Kernel > Restart current Kernel ---> No change on Leo's side ...
   - JQC > Kernel > Interrupt current Kernel ---> No change on Leo's side 
   ...
   - JQC > File > New Tab with New kernel ---> Not OK --> Error starting 
   QtConsole w/ traceback ...
   - JQC > File > Quit ---> Closes JQC - but - "quickstart.leo" outline 
   does not get closed & can only be closed by closing the window ...


   1. Retry this scenario another time w/o triggering the error on the 
   Jupyter side ...


   - The same behaviour, i.e. the "quickstart.leo" outline opens first - 
   but - becomes unusable again once the Jupyter QtConsole (JQC) started.
   - JQC > Kernel > Confirm kernel restart ---> No change on Leo's side ...
   - JQC > Kernel > Restart current Kernel ---> No change on Leo's side ...

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.
Cannot restart a Kernel I did not start


   - JQC > File > Quit ---> Closes JQC - but - "quickstart.leo" outline 
   does not get closed & can only be closed by closing the window ...


   1. Retry this scenario another time & close the Jupyter side after 
   displaying the copyright ...


   - The same behaviour, i.e. the "quickstart.leo" outline opens first - 
   but - becomes unusable again once the Jupyter QtConsole (JQC) started.

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.

copyright
Out[1]:
Copyright (c) 2001-2018 Python Software Foundation.
All Rights Reserved.

Copyright (c) 2000 BeOpen.com.
All Rights Reserved.

Copyright (c) 1995-2001 Corporation for National Research Initiatives.
All Rights Reserved.

Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved.


   - JQC > File > Quit ---> Closes JQC - but - "quickstart.leo" outline 
   does not get closed & can only be closed by closing the window ...

Close the terminal "PS C:UsersViktorpyveVE4ILeo>" as well ...


Time to reflect & to start another discussion thread on the leo-editor 
google-group ;-)


-- 
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/afb151a4-b292-47c1-8f3d-e213ff775588%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to