Well the *leo-console* was not happy. See code below.
I installed* python-tk* as requested. No luck and a simple *leo* returns
the same error as I got yesterday.
No idea of what is going on at the moment.
I saw the *pyqt-??* package mentioned yesterday. I will have a go at
tracking it down tomorrow. It is just late enough here that I am likely to
make stupid mistakes and miss things tonight.
Thanks for all the help.
===============================L*eo Console* ==========
jrkrideau@john-T510:~$ leo-console
setting leoID from os.getenv('USER'): 'jrkrideau'
cursesGui.py: Tk required for clipboard handling.
Traceback (most recent call last):
File "/home/jrkrideau/leo-editor/leo/core/leoApp.py", line 1020, in
createCursesGui
import leo.plugins.cursesGui2 as cursesGui2
File "/home/jrkrideau/leo-editor/leo/plugins/cursesGui2.py", line 39, in
<module>
from Tkinter import Tk # Python 2
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 42, in <module>
raise ImportError, str(msg) + ', please install the python-tk package'
ImportError: No module named _tkinter, please install the package
can not create curses gui.
=======================*leo-console after installing python-tk*
===============
rkrideau@john-T510:~$ leo-console
setting leoID from os.getenv('USER'): 'jrkrideau'
loading npyscreen
Leo 5.8.1-b2 devel, build 20190201162150, Fri Feb 1 16:21:50 EST 2019
Traceback (most recent call last):
File "/home/jrkrideau/.local/bin/leo-console", line 11, in <module>
load_entry_point('leo', 'console_scripts', 'leo-console')()
File "/home/jrkrideau/leo-editor/leo/core/runLeo.py", line 78, in
run_console
run(*args, **keywords)
File "/home/jrkrideau/leo-editor/leo/core/runLeo.py", line 72, in run
g.app.loadManager.load(fileName, pymacs)
File "/home/jrkrideau/leo-editor/leo/core/leoApp.py", line 2294, in load
g.app.gui.runMainLoop()
File "/home/jrkrideau/leo-editor/leo/plugins/cursesGui2.py", line 1585,
in runMainLoop
self.curses_app.run()
File
"/home/jrkrideau/leo-editor/leo/external/npyscreen/apNPSApplication.py",
line 46, in run
return npyssafewrapper.wrapper(self.__remove_argument_call_main)
File
"/home/jrkrideau/leo-editor/leo/external/npyscreen/npyssafewrapper.py",
line 47, in wrapper
wrapper_no_fork(call_function)
File
"/home/jrkrideau/leo-editor/leo/external/npyscreen/npyssafewrapper.py",
line 106, in wrapper_no_fork
return_code = call_function(_SCREEN)
File
"/home/jrkrideau/leo-editor/leo/external/npyscreen/apNPSApplication.py",
line 37, in __remove_argument_call_main
return self.main()
File "/home/jrkrideau/leo-editor/leo/plugins/cursesGui2.py", line 2775,
in main
g.app.gui.run()
File "/home/jrkrideau/leo-editor/leo/plugins/cursesGui2.py", line 1600,
in run
self.top_form = self.createCursesTop()
File "/home/jrkrideau/leo-editor/leo/plugins/cursesGui2.py", line 1327,
in createCursesTop
self.createCursesBody(c, form)
File "/home/jrkrideau/leo-editor/leo/plugins/cursesGui2.py", line 1354,
in createCursesBody
slow_scroll=True,
File "/home/jrkrideau/leo-editor/leo/external/npyscreen/fmForm.py", line
450, in add_widget
*args, **keywords)
File "/home/jrkrideau/leo-editor/leo/external/npyscreen/wgboxwidget.py",
line 118, in __init__
self.make_contained_widget()
File "/home/jrkrideau/leo-editor/leo/external/npyscreen/wgboxwidget.py",
line 152, in make_contained_widget
max_height=self.height-2,
File "/home/jrkrideau/leo-editor/leo/plugins/cursesGui2.py", line 2783,
in __init__
super(LeoBody, self).__init__(*args, **kwargs)
File "/home/jrkrideau/leo-editor/leo/external/npyscreen/wgmultiline.py",
line 90, in __init__
self.height, str(self)))
npyscreen.wgwidget.NotEnoughSpaceForWidget: Height of 1 allocated. Not
enough space allowed for <leo.plugins.cursesGui2.LeoBody object at
0x7f51429dd3d0>
jrkrideau@john-T510:
On Wed, 6 Feb 2019 at 21:19, Matt Wilkie <[email protected]> wrote:
> I'm curious: also try `*leo-console*`, which will use the ncurses console
> gui instead of qt.
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>
--
John Kane
Kingston ON Canada
--
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.
For more options, visit https://groups.google.com/d/optout.