(leobase) C:\VC\git\leo-editor [devel ≡ +3 ~1 -0 !]> python .\launchLeo.py --ipython
leoIpython.py: can not import connect_qtconsoleleoIpython.py: can not import IPKernelAppLeo 6.3-devel, devel branch, build 269d953c87
pip install --editable .
pip install notebook
python .\launchLeo.py --ipython
Got this:
Leo 6.3-devel, devel branch, build 269d953c87
2020-04-03 10:51:14 +0200kernelApp.initialize failed!Traceback (most recent call last):File "C:\VC\git\leo-editor\leo\plugins\qt_gui.py", line 1345, in runWithIpythonKernelg.app.ipk = leoIPython.InternalIPKernel()File "C:\VC\git\leo-editor\leo\core\leoIPython.py", line 98, in __init__kernelApp = self.pylab_kernel(backend)File "C:\VC\git\leo-editor\leo\core\leoIPython.py", line 220, in pylab_kernelkernelApp.initialize(args)File "<decorator-gen-125>", line 2, in initializeFile "C:\ProgramData\Miniconda3\envs\leobase2\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_errorreturn method(app, *args, **kwargs)File "C:\ProgramData\Miniconda3\envs\leobase2\lib\site-packages\ipykernel\kernelapp.py", line 550, in initializeself.write_connection_file()File "C:\ProgramData\Miniconda3\envs\leobase2\lib\site-packages\ipykernel\kernelapp.py", line 225, in write_connection_filewrite_connection_file(cf, ip=self.ip, key=self.session.key, transport=self.transport,File "C:\ProgramData\Miniconda3\envs\leobase2\lib\site-packages\jupyter_client\connect.py", line 138, in write_connection_filewith secure_write(fname) as f:File "C:\ProgramData\Miniconda3\envs\leobase2\lib\contextlib.py", line 113, in __enter__return next(self.gen)File "C:\ProgramData\Miniconda3\envs\leobase2\lib\site-packages\jupyter_core\paths.py", line 435, in secure_writewin32_restrict_file_to_user(fname)File "C:\ProgramData\Miniconda3\envs\leobase2\lib\site-packages\jupyter_core\paths.py", line 361, in win32_restrict_file_to_userimport win32apiImportError: DLL load failed while importing win32api: The specified module could not be found.can not init leo.core.leoIPython.py
(leobase2) C:\VC\git\leo-editor [devel ≡ +3 ~2 -0 !]> python .\launchLeo.py --ipython
Leo 6.3-devel, devel branch, build 269d953c87
2020-04-03 10:51:14 +0200
NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.To exit, you will have to explicitly quit this process, by either sending"quit" from a client, or using Ctrl-\ in UNIX-like environments.To read more about this, see https://github.com/ipython/ipython/issues/2049To connect another client to this kernel, use:--existing kernel-18488.json[IPKernelApp] WARNING | Eventloop or matplotlib integration failed. Is matplotlib installed?new_qt_console <subprocess.Popen object at 0x0000025F13BBADF0>
Trying to start the iPython Bridge:
(lb-3.7) C:\VC\git\leo-editor [devel ≡ +3 ~2 -0 !]> python .\launchLeo.py --ipython
Leo 6.3-devel, devel branch, build 269d953c87
2020-04-03 10:51:14 +0200NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.To exit, you will have to explicitly quit this process, by either sending"quit" from a client, or using Ctrl-\ in UNIX-like environments.To read more about this, see https://github.com/ipython/ipython/issues/2049To connect another client to this kernel, use:
--existing kernel-3352.json
[IPKernelApp] WARNING | Eventloop or matplotlib integration failed. Is matplotlib installed?
new_qt_console <subprocess.Popen object at 0x00000228A399AE08>
python -m trace --trace .\launchLeo.py --ipython
Running:python -m trace --trace .\launchLeo.py --ipythonA long trace, the app loaded the last session, then closed with this being the tail of the output:
ModuleNotFoundError: No module named 'leo.core.leoTips'<frozen importlib._bootstrap>(177): <frozen importlib._bootstrap>(178): <frozen importlib._bootstrap>(182): <frozen importlib._bootstrap>(183): <frozen importlib._bootstrap>(185):Not sure if this is telling me anything.
(lb-3.7) C:\VC\git\leo-editor [devel ≡ +3 ~3 -0 !]> python -m trace --trace launchLeo.py --ipython
File ".\leo\plugins\qt_gui.py", line 1424, in show_tipsModuleNotFoundError: No module named 'leo.core.leoTips'python .\launchLeo.py --ipython
leoIpython.py: can not import connect_qtconsole
leoIpython.py: can not import IPKernelApp
Leo 6.3-devel, devel branch, build 8051ecd172
2020-04-05 05:55:36 -0500
pip install notebook
python .\launchLeo.py --ipython
Now Leo locks up like you described earlier. However there's a message in the console:[IPKernelApp] WARNING | Eventloop or matplotlib integration failed. Is matplotlib installed?
new_qt_console <subprocess.Popen object at 0x0000015DEFE77DA0>
# python .\launchLeo.py --ipython
Leo 6.3-devel, devel branch, build 8051ecd172
2020-04-05 05:55:36 -0500
don't forget to launch leo-ver-serv!!!
NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.
To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.
To read more about this, see https://github.com/ipython/ipython/issues/2049
To connect another client to this kernel, use:
--existing kernel-4816.json
[IPKernelApp] WARNING | Eventloop or matplotlib integration failed. Is matplotlib installed?
new_qt_console <subprocess.Popen object at 0x000002657FF2B2E8>
wrote recent file: D:/Matt/Dropbox/.leo/.leoRecentFiles.txt
error writing D:/Matt/Dropbox/.leo/.leoRecentFiles.txt
Traceback (most recent call last):
File "D:\Matt\code\leo-editor\leo\core\leoApp.py", line 4009, in writeRecentFilesFileHelper
with io.open(fileName, encoding='utf-8', mode='w') as f:
OSError: [Errno 22] Invalid argument: 'D:/Matt/Dropbox/.leo/.leoRecentFiles.txt'
QSocketNotifier: Multiple socket notifiers for same socket 2224 and type Read
QSocketNotifier: Multiple socket notifiers for same socket 2288 and type Read