Hello Edward,

I've started to check out the various GUI variants that Leo supports in 6.0 
beta 1 as well.

Contrary to 5.9, where I was able to resolve the initial problem with 
"leo-curses", it is no longer working in 6.0 beta 1.

According to the traceback messages it's related to the recent changes 
related to moving to Python 3 only ...

Assuming that I don't hear otherwise from you, I'll create a GitHub issue 
for this problem later in the day!

<Log-1>

(VE-for-Leo-6-0-b1) PS C:\Users\Viktor\pyve\VE-for-Leo-6-0-b1> pip show leo
Name: leo
Version: 6.0b1
Summary: An IDE, PIM and Outliner
Home-page: http://leoeditor.com
Author: Edward K. Ream
Author-email: edream...@gmail.com
License: MIT License
Location: c:\users\viktor\pyve\ve-for-leo-6-0-b1\lib\site-packages
Requires: six, PyQtWebEngine, sphinx, flexx, pylint, PyQt5, meta, pyflakes, 
nbformat, future, docutils
Required-by:
(VE-for-Leo-6-0-b1) PS C:\Users\Viktor\pyve\VE-for-Leo-6-0-b1> leo-console
Traceback (most recent call last):

  File 
"c:\users\viktor\pyve\ve-for-leo-6-0-b1\lib\site-packages\leo\core\leoApp.py", 
line 1009, in createCursesGui
    import _curses

ModuleNotFoundError: No module named '_curses'

can not import _curses.
Windows: pip install windows-curses
(VE-for-Leo-6-0-b1) PS C:\Users\Viktor\pyve\VE-for-Leo-6-0-b1>

</Log-1>

<Log-2a> *failure for 6.0 beta 1*

(VE-for-Leo-6-0-b1) PS C:\Users\Viktor\pyve\VE-for-Leo-6-0-b1> pip install 
windows-curses
Collecting windows-curses
  Using cached 
https://files.pythonhosted.org/packages/1e/75/e390d806df17b30f3617561dc1d6782d68ca608244cdee570019e3e56452/windows_curses-1.1-cp36-cp36m-win_amd64.whl
Installing collected packages: windows-curses
Successfully installed windows-curses-1.1
(VE-for-Leo-6-0-b1) PS C:\Users\Viktor\pyve\VE-for-Leo-6-0-b1> leo-console
cursesGui.py: Tk required for clipboard handling.
Traceback (most recent call last):

  File 
"c:\users\viktor\pyve\ve-for-leo-6-0-b1\lib\site-packages\leo\plugins\cursesGui2.py",
 
line 36, in <module>
    from tkinter import Tk # Python 3

ModuleNotFoundError: No module named 'tkinter'


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File 
"c:\users\viktor\pyve\ve-for-leo-6-0-b1\lib\site-packages\leo\core\leoApp.py", 
line 1018, in createCursesGui
    import leo.plugins.cursesGui2 as cursesGui2

  File 
"c:\users\viktor\pyve\ve-for-leo-6-0-b1\lib\site-packages\leo\plugins\cursesGui2.py",
 
line 39, in <module>
    from Tkinter import Tk # Python 2

ModuleNotFoundError: No module named 'Tkinter'

can not create curses gui.
(VE-for-Leo-6-0-b1) PS C:\Users\Viktor\pyve\VE-for-Leo-6-0-b1>

</Log-2a>

<Log-2b> *success for 5.9*

(VE4Leo) PS C:\Users\Viktor\pyve\VE4Leo> pip install windows-curses
Collecting windows-curses
  Downloading 
https://files.pythonhosted.org/packages/1e/75/e390d806df17b30f3617561dc1d6782d68ca608244cdee570019e3e56452/windows_curses-1.1-cp36-cp36m-win_amd64.whl
 
(68kB)
     |████████████████████████████████| 71kB 770kB/s
Installing collected packages: windows-curses
Successfully installed windows-curses-1.1
(VE4Leo) PS C:\Users\Viktor\pyve\VE4Leo> leo-console

cursesGui.py: Tk required for clipboard handling.
loading npyscreen
Leo 5.9-b2, build 20190409061733, Tue Apr  9 06:17:32 UTC 2019
wrote C:/Users/Viktor/.leo/leo.session
(VE4Leo) PS C:\Users\Viktor\pyve\VE4Leo>

</Log-2b>

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 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/a357edae-8623-4894-b0e9-ae8603fa4fee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to