-
Notifications
You must be signed in to change notification settings - Fork 206
HIE unresponsive #983
Comments
Recap: something was broken after 72bf4c7 and before 3f01cb4. And another UPD. Backporting of
Is there anything else i can try patching during bisecting to get it to build and test if it's work? |
I'm having similar issues, though even 72bf4c7 is not working for me. Here's a log using a build from that commit. This is testing on a
Note, at 2018-12-11 00:03:34 I closed the editor. |
How did you install hie? The makefile now makes sure to install cabal-install, and Cabal-2.4.1.0. These are needed to enable GHC 8.6 / cabal-helper support. |
@alanz I manually ran outside the project directory: > stack install cabal-install
> cabal update
> stack --stack-yaml=stack-8.4.4.yaml install happy
> stack --stack-yaml=stack-8.4.4.yaml install Note I'm using GHC 8.4.4. The projects I've tried this on are using > cabal --version
cabal-install version 2.2.0.0
compiled using version 2.2.0.1 of the Cabal library |
@alanz via make-target, along with
|
It there a windows user who can look into this or comment? |
I'm a Windows user but I can't do much more than confirm that I'm also not getting any output. I think that issue I opened (#969) is the same as this one. |
I think I'm facing the same issue. I'm trying to use hie with this language-server client on Archlinux. I installed hie through AUR. Here are some of the logs I can see:
I'm new to Haskell and to hie but it looks like hie receives requests from the language-server client but doens't reply right? Version of GHC: 8.6.3 |
I did some digging into this and it seems like the issue is caused in cabal-helper commit a3fcfed6743806c842ffe9d253da3f695aa4799c, when the line:
is commented out. Uncommenting this line on the latest master made
(Warning: I am not a Cabal nerd and I haven't looked into what the purpose of this line actually is - probably best if someone more experienced could also chip in!) My setup: Win10, VS Code, GHC 8.2.2. |
@rossng I just made the same change in cabal-helper.cabal and everything works fine with GHC 8.4.4 My setup: Win10, spacemacs, GHC 8.4.4 |
GHC 8.6.2 also works as expected. |
@alanz any news on this? |
Win10, VScode, GHC-8.4.4 Following the comment #983 (comment) I uncommented the line with the scope and rebuilt hie (
In extension output:
This looks like haskell/vscode-haskell#128 and #1004. |
Not sure 100% if it was the solution but i get to load cabal and stack based projects in vscode-1.33.0 (ext version 0.0.25) for windows 7 (ghc-8.6.2) and 10 (ghc-8.6.4) after installing locally the fix to make hie-wrapper find the cabal-helper-wrapper: alanz/cabal-helper#5 |
Maybe we could close this one, do you continue hitting the original unresponsive behaviour in windows @Anrock? |
@jneira no, on 8.6.5 I no longer hit it |
I've noticed that somewhere after 8e7d756 commit hie stopped responding to client requests. Unfortunately i'm unable to compile hie on most commits after 8e7d756, so i can't bisect to specific commit.
Not sure if it's a specific request that makes hie freezed or there is some specific trigger
Relevant logs:
https://pastebin.com/zLqyGDF0 <- stuck after documentHighlight request, source is compilable.
https://pastebin.com/n8zR5PUy <- stuck after didChange request that introduced error in source and another didChange that fixed it back
The text was updated successfully, but these errors were encountered: