Re: Web leo

2015-02-08 Thread 'Terry Brown' via leo-editor
Hi stl, I don't have an appropriate machine for checking just now, but I think I wrote a note somewhere about running leobridge and some tricks to do with the environment. I would try having your script display/print os.environ and sys.path and check for differences between the command line an

Re: Web leo

2015-02-08 Thread stl
Hi Terry, I am relatively new to Leo. And your post is most relevant to what I am trying to do. I am trying to use leoBridge within a python cgi script. I am using apache2. The leoBridge code was excerpted from the Leo5.0 documentation. For some reason, leoBridge.controller remains closed w

Re: new @nosent

2015-02-08 Thread Matt Wilkie
Doesn't work for me either. With attached .leo file: - select "write" node, (contains your write file code), press Ctrl-B - look at file "nosent.txt" on disk, it contains "Line 1, Line 2" as expected. - select @nosent node, r-click >> Refresh from disk: error "can not refresh from disk". - body pa

new @nosent

2015-02-08 Thread Kent Tenney
sanity check: does this work for others? with file('nosent.txt', 'w') as f: f.write('Line1\nLine2') rclick on node with headline @nosent nosent.txt select 'Refresh from disk' my log says 'reading: @nosent nosent.txt but the body remains empty Thanks, Kent ** isPython3: False Leo 5.0-final,

Re: The new @nosent deprecates both @auto and @shadow

2015-02-08 Thread resi147
Hi Edward, thanks for taking care of my problem. Basically it works. I can load my leo file again. Minor issues are: … (after reading the settings) The input file appears to be corrupted undefined section: <<24) | (((v)&0xFF00)<<8) | (((v)>> … (some of them) uncached read node changed << latLL >>

Re: The new @nosent deprecates both @auto and @shadow

2015-02-08 Thread Edward K. Ream
On Sun, Feb 8, 2015 at 5:35 AM, Edward K. Ream wrote: > On Sat, Feb 7, 2015 at 6:50 PM, resi147 wrote: > > ​> ​ > my leo file does not longer load. > ​Fixed at rev ​ ​0c799d4. I have taken care to handle encoding issues properly​, but problems still could remain. Please report whether the fi

Re: The new @nosent deprecates both @auto and @shadow

2015-02-08 Thread Edward K. Ream
On Sat, Feb 7, 2015 at 6:50 PM, resi147 wrote: ​> ​ my leo file does not longer load. I admit it is really huge, 14MB ​Size shouldn't matter ;-) ​ > File "/Users/abc/Applications/leo-editor/leo/core/leoShadow.py", line 681, > in separate_sentinels > if marker.isSentinel(line): > File "/Us