On 09/26/2013 02:53 PM, Edward K. Ream wrote:
> It's hard to debug remotely.
> 
> There is one change, using sys.path.insert(0,path) rather than
> sys.path.append.
> 
> Please verify, say by printing the value of leoBridge, that you are
> using the correct version of Leo.  Other than that, everything looks as
> it should.  More, I can't say...

Yes, it is hard to debug remotely.  Particularly when you don't look at
what I send you.

I dropped the use of sys.path.append().  It was never necessary in my
environment.  I had put it in to make the program easier to adapt for
people who do not have the root of their Leo-Editor installation in
their PYTHNPATH.

Printing the value of leoBridge doesn't tell me anything about its version:

<module 'leo.core.leoBridge' from
'/home/ldi/bzr/LeoLatest/leo/core/leoBridge.pyc'>

That is why in my post at 12:23 today I sent you code containing:

print(bridge.g.app.signon)
print(bridge.g.app.signon2)

And the output of these two print statements:

Leo 4.11a3, build 6062, 2013-09-26 11:10:24
Python 2.7.3, leoGui: dummy version
-----------

Perhaps you can post your simple program that works and I and others can
try it on our systems.

-- 
Segundo Bob
[email protected]

-- 
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to