Sorry for commentary on previous post. You said you had fixed enough 
crashers, I'm wondering if some methods changed since you made your 
original fixes which broke the curses GUI.

On Thursday, December 8, 2016 at 2:40:53 PM UTC-5, john lunzer wrote:
>
> I'm getting a traceback when I try to run with the --gui=curses on the 
> most recent Rev.
>
> setting leoID from os.getenv('USER'): 'jlunzer' 
>
> reading settings in 
> /Users/jlunz/anaconda/adds/leo-editor/leo/config/leoSettings.leo
>
> reading settings in /home/home51/lunz8748/.leo/myLeoSettings.leo
>
> Using default leo file name:
>
> /home/.leo/workbook.leo
>
> loadOnePlugin: can not load enabled plugin: leo.plugins.plugins_menu
>
> loadOnePlugin: can not load enabled plugin: leo.plugins.contextmenu
>
> Traceback (most recent call last):
>
> File "launchLeo.py", line 8, in <module>
>
> leo.core.runLeo.run()
>
> File "/Users/jlunz/anaconda/adds/leo-editor/leo/core/runLeo.py", line 63, 
> in run
>
> g.app.loadManager.load(fileName, pymacs)
>
> File "/Users/jlunz/anaconda/adds/leo-editor/leo/core/leoApp.py", line 
> 1967, in load
>
> ok = lm.doPostPluginsInit()
>
> File "/Users/jlunz/anaconda/adds/leo-editor/leo/core/leoApp.py", line 
> 2400, in doPostPluginsInit
>
> c1 = lm.openEmptyWorkBook()
>
> File "/Users/jlunz/anaconda/adds/leo-editor/leo/core/leoApp.py", line 
> 2461, in openEmptyWorkBook
>
> c = lm.loadLocalFile(fn, gui=g.app.gui, old_c=None)
>
> File "/Users/jlunz/anaconda/adds/leo-editor/leo/core/leoApp.py", line 
> 2626, in loadLocalFile
>
> c = lm.openFileByName(fn, gui, old_c, previousSettings)
>
> File "/Users/jlunz/anaconda/adds/leo-editor/leo/core/leoApp.py", line 
> 2670, in openFileByName
>
> lm.initWrapperLeoFile(c, fn)
>
> File "/Users/jlunz/anaconda/adds/leo-editor/leo/core/leoApp.py", line 
> 2747, in initWrapperLeoFile
>
> p.h = g.shortFileName(fn) if fn.endswith('.leo') else '@edit %s' % fn
>
> File "/Users/jlunz/anaconda/adds/leo-editor/leo/core/leoNodes.py", line 
> 1646, in __set_h
>
> c.setHeadString(p, val)
>
> File "/Users/jlunz/anaconda/adds/leo-editor/leo/core/leoCommands.py", line 
> 6730, in setHeadString
>
> c.frame.tree.setHeadline(p, s)
>
> AttributeError: 'textTree' object has no attribute 'setHeadline'
>
> On Friday, November 18, 2016 at 8:57:56 PM UTC-5, Edward K. Ream wrote:
>>
>> On Fri, Nov 18, 2016 at 11:13 AM, john lunzer <[email protected]> wrote:
>>
>>> I use Leo as my primary editor when I *can*.
>>>
>>> When I can't is when I'm SSHing into machines remotely where it is often 
>>> not practical (or desirable) to run GUI applications. I believe there was 
>>> some work done on a curses front-end plugin in the past but I'm not sure 
>>> how far that got.
>>>
>>
>> ​It's in leo/plugins/cursesGui.py​. It doesn't use curses: it just writes 
>> lines to the end of the screen. 
>>
>> Invoke it with leo --gui=curses.  Revs 4984c58 & 681ec4e fix enough 
>> crashers to make it minimally functional. Backlink.py throws an exception 
>> during startup, but so what...
>>
>> I'll be happy to answer any questions you might have. The ball is in your 
>> court ;-)
>>
>> Edward
>>
>

-- 
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.

Reply via email to