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