-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZeroMQLink exception thrown on init #36
Comments
I get the same error on my Mac. I haven't had time to investigate it, but I'm hoping to look into it later this week so I can provide more info to the developers.
|
Hi @weeTC and @BhuvaneshBhatt , the error message indicates that the client is not running for the language server to communicate with. From step 3 of the Installation section in the README:
If you only run the server w/o a frontend editor as the client, the language server won't be usable (or only for debugging). I suggest starting with VS Code by reaching to vscode-lsp-wl. Should you encounter any problem configuring the lsp-wl in VS Code, please feel free to let me know. |
I am having this issue when trying to examine a deployed script on a server, via vscode-lsp-wl VS-Code remote SSH extension. |
@kenkangxgwe Hi, thanks very much for the heads-up. I was looking into connecting to the server with Emacs, for which a specific client doesn't exist yet. I can have a look into VScode in the short term but let me know if you have any insight into how easy it would be to write an Emacs entry point. |
Hi @weeTC , Emacs configuration is in the wiki, though not for Windows, but you can take a look at it. |
Hi @Gravifer , did you open a remote file with a local VSCode. If so, can you open a local file with the server running correctly? |
Thanks very much for this. This solved the question I asked but I'm still having problems. The hover etc. seems to work in VScode but the debug console doesn't. And the LSP doesn't seem to work at all in emacs. It says it connects but then immediately disconnects. I can open a new issue for these if that's easier? |
Hi @weeTC , Please create new issues if you have any trouble with Emacs and VSCode. Please provide some logs from the editors as well (for Emacs, the |
Hi @bloorr , could you provide more logs in the OUTPUT Panel with |
Hi, @kenkangxgwe: Thanks. Went to the VSCode, Output, Wolfram Language Server after closing and reopening VSCode, and got: Probably not too much help. Bloor P.S. Here is the output of the test from a terminal window, showing some response times: |
Yes, the server is working smoothly on local files. In the former comment, I was actually trying to link the server with a WolframEngine kernel on the remote machine, by modifying the
I'll update my testing results here ASAP. P.S.: At this point it seems that support for remoting could actually be a separate feature request, and may not really fit in the thread of this issue. Feel free to move this discussion to a new open issue if needed. |
Hi, @kenkangxgwe: You solved the problem! I failed to Configure the Server in VSCode app. I realize now I was following the config in the Server and being new to VSCode, failed to realize that VSCode needs configuration, too. My apologies. For future readers: I set the path to my lap-wl directory and the path to the Wolfram Language Server for MacOS as suggested in the configuration information for the VSCode Extension, and the Server Started. I have Outline, Hover, etc. So, the link is clearly working. I still don't have syntax color highlighting, but I'll explore that. FYI, I am getting the following shadowing warning from Mathematica on the output panel: LogDebug::shdw: LogInfo::shdw: Symbol LogInfo appears in multiple contexts LogWarn::shdw: Symbol LogWarn appears in multiple contexts LogError::shdw: Thanks again for your help! |
Hi @bloorr , The shadow message won't affect the normal use, though thanks for the feedback. Hi @Gravifer , I will create another issue regarding your comment. I will close this issue since the ZeroMQLink exception is due to misconfiguration from the client-side. Please feel free to create another issue if you encounter further problems. |
Just cloned lsp-wl to my Arch Linux system and, after following the paclet instructions, tried to run it.
With Mathematica 12.0 installed, I ran
wolfram -script init.wls
and got the following output:
The text was updated successfully, but these errors were encountered: