pathLeo = '/home/ldi/tmp/debug/rfd1207.leo'
import sys
sys.path.append("/home/ldi/bzr/LeoLatest/")
import leo.core.leoBridge as leoBridge
bridge = leoBridge.controller(gui='nullGui',verbose=False)
cmdr = bridge.openLeoFile(pathLeo)
ptrRoot = cmdr.rootPosition()
ptrDay = ptrRoot.insertAsLastChild()
-------- end program ------------------I'm trying to create a new Leo-Editor outline file using leoBridge and I'm stuck with this error:
On 09/26/2013 10:29 AM, Edward K. Ream wrote:"Similar"? Why don't your run my program or modify it for your system
> A program similar to yours works for me. Here are some ideas:
and run it?
My program is very, very simple:
Just pulled and tested your code below. All ok except c.saveAs()doesn't really seem to work as expected. Maybe I'm not using it right.
On Sat, 28 Sep 2013 07:09:26 -0500
> I wonder how many people actually use the leoBridge?+1 here