On Wed, Jun 9, 2021 at 4:59 PM Edward K. Ream <[email protected]> wrote:

Now there is more progress, but still no real joy. When starting the server
> I get:
>
> Starting server with command: C:\Users\edreamleo\Python\Python39\python.exe
> Starting Leobridgeserver.py (Launch with -h for help)
> LeoBridge started at localhost on port: 32125 [ctrl+c] to break
> ERROR: Error in openFiles
> Looking at the code in leobridgeserver.py, it appears that this message
> happens when the server can't find any open files.  Imo, this shouldn't
> really be an error. Or at least the user should be given the opportunity to
> switch directories.
>

And another data point.  The Leo log window (not the leoserver.py log)
shows:

Leo 6.4-devel, devel branch, build 7c335ea4bc
2021-06-08 05:06:19 -0500
Python 3.9.0, LeoGui: dummy version
Windows 10 AMD64 (build 10.0.19041) SP0
read outline in 0.24 seconds
read 373 files in 2.37 seconds
read outline in 2.66 seconds

This is very much like what I see when I just run `leo` from a console
outside of vs-code.

So it looks like leoInteg is opening leoPy.leo because of Leo's automatic
session cashing (I'm guessing), but leobridgeserver doesn't see the open
file, maybe because of path problems.

It all seems too confusing. We've got to do better :-)

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS3MA8pU8m_c%2BoSdq82oyQ768dH9H%2Bwi3s3A_GsYresqfw%40mail.gmail.com.

Reply via email to