On Wednesday, June 9, 2021 at 8:27:45 AM UTC-4 [email protected] wrote:
 

> As I think about it, I recall that when I ask vsc to launch the leointeg 
> server, I see a terminal-like panel that shows my python batch file being 
> launched but doesn't show any command line arguments.  That's probably why 
> the server does not get launched.  The settings show that the right 
> location for the server is known, but that information isn't getting sent 
> to the command line.
>

When I click on the "Start Server" button, here is what I see in vscode's 
"Output" tab:

Starting server with command: py-leo-git

py-leo-git is a batch file on the system path that sets PYTHONPATH before 
running python on the program on the command line.  However, in fact the 
server is not actually started.  The "output" tab always shows this message:

Leo Bridge Connection Failed: Websocket closed, code: 1006

Now if I go to the "Terminal" tab and manually enter

py-leo-git C:\Tom\git\leointeg\leobridgeserver.py

then the server gets started successfully.  The above location was copied 
directly from the "Leo Server Path" option and pasted into the terminal, so 
I know that the option is set correctly.

-- 
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/5acc4526-3ded-4322-bfef-c0ee1fd701c8n%40googlegroups.com.

Reply via email to