-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error on langserver startup #36
Comments
Hi Marco, The error message is not very clear, so there are a couple of things we could improve around this:
Future versions of Apama core might include EPL Buddy, but I can't make any guarantees. |
tl:dr: THis doesn't work on Windows because the syntax doesn't work with Powershell. I've been investigating this after I ran into the same issue. The problem is that the && used to chain the apama_env.bat and eplbuddy comaasnds doesn't work in Windows Powershell. There are a couple of issues:
So if I try the commands separately in Powershell, all is fine. The commands have the full path which I'm omitting for brevity from here on: &'apama_env.bat' &'apama_env.bat && eplbuddy.exe' &'apama_env.bat -and eplybuddy.exe' &'apama_env.bat; eplbuddy.exe' &'apama_env.bat' -and &'eplbuddy.exe' So I think the extension needs to be refactored for Windows so that the two calls are made as separated invocations of ShellExecution. This seems to affect quite a few correlator commands as they all try and ensure the Apama environment has been correctly setup first and are chained using && which works on Linux, but not POwershell. Of course, the previous comment is also correct, it isn't going to work if eplbuddy isn't present either. |
I don't appear to have permissions to assign this tom myself, but am looking at fixing it. |
Thanks Nick :) |
Hi,
great work here! One problem on windows though.
Is the extension only supported on linux?
![image](https://user-images.githubusercontent.com/29426188/113304511-6645cc00-9302-11eb-9e0a-b883a031a155.png)
The text was updated successfully, but these errors were encountered: