Closed
Description
Your environment
Output of haskell-language-server --probe-tools
or haskell-language-server-wrapper --probe-tools
:
haskell-language-server version: 1.3.0.0 (GHC: 8.10.4) (PATH: /Users/anka/Library/Application Support/Code/User/globalStorage/haskell.haskell/haskell-language-server-wrapper-1.3.0-darwin) (GIT hash: e7c5e90b6df5dff2760d76169eddaea3bdd6a831)
Tool versions found on the $PATH
cabal: 3.4.0.0
stack: 2.7.1
ghc: 8.8.4
Which OS do you use: MacOS
Which lsp-client do you use: VS Code
Describe your project (alternative: link to the project):
Contents of hie.yaml
:
cradle:
stack: {}
Steps to reproduce
Run a retrie fold or unfold operation on any definition (cmd-.
and select fold
)
Expected behaviour
It shouldn't crash
Actual behaviour
Running the contributed command: '82610:retrie:retrieCommand' failed.
The log contains this line
/Users/runner/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/settings: openFile: does not exist (No such file or directory)
Include debug information
Execute in the root of your project the command haskell-language-server --debug .
and paste the logs here:
Debug output:
<paste your logs here>
Paste the logs from the lsp-client, e.g. for VS Code
LSP logs:
2021-09-13 11:19:33.736922 [ThreadId 1804] INFO hls: finish: Retrie.GhcSessionDeps (took 0.00s)
2021-09-13 11:19:33.736997 [ThreadId 1806] INFO hls: finish: Retrie.getBinds (took 0.00s)
2021-09-13 11:19:33.737053 [ThreadId 1808] DEBUG hls: finish: C:GetParsedModule (took 0.00s)
2021-09-13 11:19:33.737097 [ThreadId 1810] DEBUG hls: finish: C:GetModIface (took 0.00s)
/Users/runner/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/settings: openFile: does not exist (No such file or directory)
2021-09-13 11:19:33.98762 [ThreadId 1800] ERROR hls: Unexpected exception on request, please report!
Exception: ExitFailure 1
[Error - 11:19:33 AM] Request workspace/executeCommand failed.
Message: ExitFailure 1
Code: -32603
2021-09-13 11:19:33.99427 [ThreadId 1829] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-09-13 11:19:33.994302 [ThreadId 1835] INFO hls: finish: RefineImports (took 0.00s)
2021-09-13 11:19:33.994328 [ThreadId 1831] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-09-13 11:19:33.994353 [ThreadId 1833] INFO hls: finish: GhcideCodeActions.getParsedModule (took 0.00s)
2021-09-13 11:19:33.994385 [ThreadId 1837] INFO hls: finish: importLens (took 0.00s)
2021-09-13 11:19:33.994461 [ThreadId 1839] INFO hls: finish: retrie (took 0.00s)