Skip to content
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

Connection Error: Client Internal Connection Error : write EPIPE #68

Closed
doofin opened this issue Oct 5, 2021 · 7 comments
Closed

Connection Error: Client Internal Connection Error : write EPIPE #68

doofin opened this issue Oct 5, 2021 · 7 comments

Comments

@doofin
Copy link

doofin commented Oct 5, 2021

Hi I have installed this extension with agda working from terminal in arch linux ,after c-c c-l I got this error.

@banacorn
Copy link
Owner

banacorn commented Oct 6, 2021

Does it happen all the time?
Does Agda: Quit and restart work for you?

@doofin
Copy link
Author

doofin commented Oct 6, 2021

No,it doesn't work,and I can't find error message in dev tools

@CircuitCoder
Copy link

I'm getting the same error, and the output in Agda Language Server complains about missing ICU shared library.

/root/.vscode-server-insiders/data/User/globalStorage/banacorn.agda-mode/v0.1.4-linux/als: error while loading shared libraries: libicuuc.so.66: cannot open shared object file: No such file or directory

On ArchLinux, the latest ICU version is 69:

/usr/lib/libicuuc.so.69

A temporary fix is to create symbolic links:

# (In /usr/lib)
ln -s libicuuc.so.69 libicuuc.so.66
ln -s libicui18n.so.69 libicui18n.so.66
ln -s libicudata.so.69 libicudata.so.66

Then the language server seems to work just fine.

@banacorn Maybe we need to link the als binary against shared libraries without version suffix?

@doofin
Copy link
Author

doofin commented Oct 8, 2021

I tried searching libicuuc and icuuc in this repo,found no result.maybe it's required by other transitory dependency? Doesn't work for my case

@banacorn
Copy link
Owner

I think you are facing two different issue

@CircuitCoder: I have opened an issue regarding ICU libraries on the language server's repo (agda/agda-language-server#6)

@doofin: If your Agda is working fine on terminal, and you have no trouble using agda-mode on Emacs, then I believe your ICU libraries are all good. It's agda-mode's problem. But I have no idea about the cause of it :(

@doofin
Copy link
Author

doofin commented Oct 10, 2021

Oh it's the issue of Agda Language Server,I don't necessarily have to enable it right?

@doofin doofin closed this as completed Oct 10, 2021
@banacorn
Copy link
Owner

banacorn commented Oct 11, 2021

@doofin The prebuilt language server is only meant for Ubuntu, I made a mistake by allowing other Linux users to download and use that prebuilt binary.

You should reopen this issue if you have trouble connecting with vanilla Agda (not the language server)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants