Skip to content

serverExecutablePath is set to.. but it doesn't exist (improve config option description/error message) #388

@andrewufrank

Description

@andrewufrank

After much trying, it seems to work. Error message is not helpful, path given is not working.
Probably nothing crucial, just annoying and a loss of time.
I look forward for the IDE to work 'out of the box'

Your environment

Output of haskell-language-server --probe-tools or haskell-language-server-wrapper --probe-tools:

haskell-language-server-wrapper --probe-tools
haskell-language-server version: 1.0.0.0 (GHC: 8.10.4) (PATH: /home/frank/.local/bin/haskell-language-server-wrapper) (GIT hash: 4cd1cf934638881e52b3eba9f70157a4b799c0e9)
Tool versions found on the $PATH
cabal:		3.0.0.0
stack:		2.5.1
ghc:		8.8.4

same response with haskell-language-server-8.10.4

Which lsp-client do you use: vs-code with Haskell 1.2.0

Describe your project (alternative: link to the project):
it is the new project produced by stack new project. nothing changed but added the hie.yaml and the .ghi file

Contents of hie.yaml:

  stack:

produced manually, not automatic

Steps to reproduce

I get the notification;
serverExecutablePath is set to /home/frank/.local/bin/ but it doesn't exist and is not on the PATH

but this directory exists.
If I leave the Executable Path blank (because the executables are on the PATH) and restart vscode then the HLS seems to work.
(i.e. I can do code evaluation

Expected behaviour

no error message, because the path is correct.

Actual behaviour

Include debug information

Execute in the root of your project the command haskell-language-server --debug . and paste the logs here:

the haskell-language-server is not found, only the haskell-language-server-8.10.4. Is this perhaps the cause of the problem?

frank@london11lvm:~/Workspace11/secundo$ haskell-language-server --debug
bash: haskell-language-server: command not found
frank@london11lvm:~/Workspace11/secundo$ haskell-language-server-8.10.4 --debug
haskell-language-server version: 1.0.0.0 (GHC: 8.10.4) (PATH: /home/frank/.local/bin/haskell-language-server-8.10.4) (GIT hash: 4cd1cf934638881e52b3eba9f70157a4b799c0e9)
ghcide setup tester in /home/frank/Workspace11/secundo.
Report bugs at https://github.com/haskell/haskell-language-server/issues

Step 1/4: Finding files to test in /home/frank/Workspace11/secundo
Found 4 files

Step 2/4: Looking for hie.yaml files that control setup
Found 1 cradle
  (/home/frank/Workspace11/secundo/hie.yaml)

Step 3/4: Initializing the IDE

Step 4/4: Type checking the files
2021-03-14 23:58:44.43022168 [ThreadId 4] DEBUG hls:	Set files of interest to: [(NormalizedFilePath "/home/frank/Workspace11/secundo/app/Main.hs",OnDisk),(NormalizedFilePath "/home/frank/Workspace11/secundo/src/Lib.hs",OnDisk),(NormalizedFilePath "/home/frank/Workspace11/secundo/test/Spec.hs",OnDisk),(NormalizedFilePath "/home/frank/Workspace11/secundo/Setup.hs",OnDisk)]
2021-03-14 23:58:44.430893157 [ThreadId 26] INFO hls:	File:     
Hidden:   no
Range:    1:1-2:1
Source:   compiler
Severity: DsError
Message: 
  Internal error, getIdeGlobalExtras, no entry for IdeConfigurationVar
  CallStack (from HasCallStack):
  errorIO, called at src/Development/IDE/Core/Shake.hs:284:20 in
  ghcide-1.0.0.0-inplace:Development.IDE.Core.Shake
2021-03-14 23:58:44.431529147 [ThreadId 29] INFO hls:	Consulting the cradle for "app/Main.hs"
Output from setting up the cradle Cradle {cradleRootDir = "/home/frank/Workspace11/secundo", cradleOptsProg = CradleAction: Stack}
> Using main module: 1. Package `secundo' component secundo:exe:secundo-exe with main-is file: /home/frank/Workspace11/secundo/app/Main.hs
> secundo> configure (lib + exe)
> Configuring secundo-0.1.0.0...
> secundo> initial-build-steps (lib + exe)
> The following GHC options are incompatible with GHCi and have not been passed to it: -threaded
> Configuring GHCi with the following packages: secundo
> 
> * * * * * * * *
> 
> Warning: Multiple files use the same module name:
>          * Paths_secundo found at the following paths
>            * /home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/autogen/Paths_secundo.hs (secundo:lib)
>            * /home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/autogen/Paths_secundo.hs (secundo:exe:secundo-exe)
> * * * * * * * *
> 
> /home/frank/Workspace11/secundo/.stack-work/install/x86_64-linux-tinfo6/4bdc2e059a1b593693275c91f7fbbea4bc02bd3a3a9f6fe63bdb57148e033bf0/8.10.4/pkgdb:/home/frank/.stack/snapshots/x86_64-linux-tinfo6/4bdc2e059a1b593693275c91f7fbbea4bc02bd3a3a9f6fe63bdb57148e033bf0/8.10.4/pkgdb:/home/frank/.stack/programs/x86_64-linux/ghc-tinfo6-8.10.4/lib/ghc-8.10.4/package.conf.d
2021-03-14 23:58:46.354185416 [ThreadId 29] DEBUG hls:	Session loading result: Right (ComponentOptions {componentOptions = ["-i","-odir=/home/frank/Workspace11/secundo/.stack-work/odir","-hidir=/home/frank/Workspace11/secundo/.stack-work/odir","-hide-all-packages","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build","-i/home/frank/Workspace11/secundo/src","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/autogen","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/global-autogen","-stubdir=/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build","-package-id=base-4.14.1.0","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe","-i/home/frank/Workspace11/secundo/app","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/autogen","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/secundo-exe-tmp","-rtsopts","-with-rtsopts=-N","-optP-include","-optP/home/frank/Workspace11/secundo/.stack-work/ghci/49ca73dc/cabal_macros.h","-ghci-script=/tmp/haskell-stack-ghci/7a37d702/ghci-script","-package-db","/home/frank/Workspace11/secundo/.stack-work/install/x86_64-linux-tinfo6/4bdc2e059a1b593693275c91f7fbbea4bc02bd3a3a9f6fe63bdb57148e033bf0/8.10.4/pkgdb","-package-db","/home/frank/.stack/snapshots/x86_64-linux-tinfo6/4bdc2e059a1b593693275c91f7fbbea4bc02bd3a3a9f6fe63bdb57148e033bf0/8.10.4/pkgdb","-package-db","/home/frank/.stack/programs/x86_64-linux/ghc-tinfo6-8.10.4/lib/ghc-8.10.4/package.conf.d"], componentRoot = "/home/frank/Workspace11/secundo", componentDependencies = ["secundo.cabal","package.yaml","stack.yaml"]},"/home/frank/.stack/programs/x86_64-linux/ghc-tinfo6-8.10.4/lib/ghc-8.10.4")
2021-03-14 23:58:46.404054366 [ThreadId 29] INFO hls:	Using interface files cache dir: /home/frank/.cache/ghcide/main-a0521c8482c6b15509eacd3c3d4c53a7f7d1cc8c
2021-03-14 23:58:46.404259846 [ThreadId 29] INFO hls:	Making new HscEnv[main]
2021-03-14 23:58:46.413016839 [ThreadId 29] DEBUG hls:	New Component Cache HscEnvEq: (([],Just HscEnvEq 39),fromList [("/home/frank/Workspace11/secundo/hie.yaml",Just 2021-03-14 20:40:36.660861016 UTC),("package.yaml",Just 2021-03-14 20:15:54.387112527 UTC),("secundo.cabal",Just 2021-03-14 20:15:54.391112554 UTC),("stack.yaml",Just 2021-03-14 20:15:55.255118427 UTC)])
2021-03-14 23:58:46.420891865 [ThreadId 29] DEBUG hls:	Known files updated: fromList [(TargetModule Lib,["/home/frank/Workspace11/secundo/src/Lib.hs"]),(TargetModule Paths_secundo,["/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/autogen/Paths_secundo.hs","/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/autogen/Paths_secundo.hs"]),(TargetFile NormalizedFilePath "/home/frank/Workspace11/secundo/app/Main.hs",["/home/frank/Workspace11/secundo/app/Main.hs"])]
2021-03-14 23:58:46.421224409 [ThreadId 29] DEBUG hls:	Restarting build session (aborting the previous one took 0.00s)
2021-03-14 23:58:46.421351676 [ThreadId 14] DEBUG hls:	Finishing build session(exception: AsyncCancelled)
2021-03-14 23:58:46.423034962 [ThreadId 61] INFO hls:	Consulting the cradle for "test/Spec.hs"
Output from setting up the cradle Cradle {cradleRootDir = "/home/frank/Workspace11/secundo", cradleOptsProg = CradleAction: Stack}
> Using main module: 1. Package `secundo' component secundo:exe:secundo-exe with main-is file: /home/frank/Workspace11/secundo/app/Main.hs
> secundo> configure (lib + exe)
> Configuring secundo-0.1.0.0...
> secundo> initial-build-steps (lib + exe)
> The following GHC options are incompatible with GHCi and have not been passed to it: -threaded
> Configuring GHCi with the following packages: secundo
> 
> * * * * * * * *
> 
> Warning: Multiple files use the same module name:
>          * Paths_secundo found at the following paths
>            * /home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/autogen/Paths_secundo.hs (secundo:lib)
>            * /home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/autogen/Paths_secundo.hs (secundo:exe:secundo-exe)
> * * * * * * * *
> 
> /home/frank/Workspace11/secundo/.stack-work/install/x86_64-linux-tinfo6/4bdc2e059a1b593693275c91f7fbbea4bc02bd3a3a9f6fe63bdb57148e033bf0/8.10.4/pkgdb:/home/frank/.stack/snapshots/x86_64-linux-tinfo6/4bdc2e059a1b593693275c91f7fbbea4bc02bd3a3a9f6fe63bdb57148e033bf0/8.10.4/pkgdb:/home/frank/.stack/programs/x86_64-linux/ghc-tinfo6-8.10.4/lib/ghc-8.10.4/package.conf.d
2021-03-14 23:58:48.33218643 [ThreadId 61] DEBUG hls:	Session loading result: Right (ComponentOptions {componentOptions = ["-i","-odir=/home/frank/Workspace11/secundo/.stack-work/odir","-hidir=/home/frank/Workspace11/secundo/.stack-work/odir","-hide-all-packages","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build","-i/home/frank/Workspace11/secundo/src","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/autogen","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/global-autogen","-stubdir=/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build","-package-id=base-4.14.1.0","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe","-i/home/frank/Workspace11/secundo/app","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/autogen","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/secundo-exe-tmp","-rtsopts","-with-rtsopts=-N","-optP-include","-optP/home/frank/Workspace11/secundo/.stack-work/ghci/49ca73dc/cabal_macros.h","-ghci-script=/tmp/haskell-stack-ghci/7a37d702/ghci-script","-package-db","/home/frank/Workspace11/secundo/.stack-work/install/x86_64-linux-tinfo6/4bdc2e059a1b593693275c91f7fbbea4bc02bd3a3a9f6fe63bdb57148e033bf0/8.10.4/pkgdb","-package-db","/home/frank/.stack/snapshots/x86_64-linux-tinfo6/4bdc2e059a1b593693275c91f7fbbea4bc02bd3a3a9f6fe63bdb57148e033bf0/8.10.4/pkgdb","-package-db","/home/frank/.stack/programs/x86_64-linux/ghc-tinfo6-8.10.4/lib/ghc-8.10.4/package.conf.d"], componentRoot = "/home/frank/Workspace11/secundo", componentDependencies = ["secundo.cabal","package.yaml","stack.yaml"]},"/home/frank/.stack/programs/x86_64-linux/ghc-tinfo6-8.10.4/lib/ghc-8.10.4")
2021-03-14 23:58:48.38088962 [ThreadId 61] INFO hls:	Using interface files cache dir: /home/frank/.cache/ghcide/main-a0521c8482c6b15509eacd3c3d4c53a7f7d1cc8c
2021-03-14 23:58:48.381086789 [ThreadId 61] INFO hls:	Using interface files cache dir: /home/frank/.cache/ghcide/main-a0521c8482c6b15509eacd3c3d4c53a7f7d1cc8c
2021-03-14 23:58:48.381201132 [ThreadId 61] INFO hls:	Making new HscEnv[main,main]
2021-03-14 23:58:48.389884204 [ThreadId 61] DEBUG hls:	New Component Cache HscEnvEq: (([],Just HscEnvEq 61),fromList [("/home/frank/Workspace11/secundo/hie.yaml",Just 2021-03-14 20:40:36.660861016 UTC),("package.yaml",Just 2021-03-14 20:15:54.387112527 UTC),("secundo.cabal",Just 2021-03-14 20:15:54.391112554 UTC),("stack.yaml",Just 2021-03-14 20:15:55.255118427 UTC)])
2021-03-14 23:58:48.394114932 [ThreadId 61] DEBUG hls:	New Component Cache HscEnvEq: (([],Just HscEnvEq 62),fromList [("/home/frank/Workspace11/secundo/hie.yaml",Just 2021-03-14 20:40:36.660861016 UTC),("package.yaml",Just 2021-03-14 20:15:54.387112527 UTC),("secundo.cabal",Just 2021-03-14 20:15:54.391112554 UTC),("stack.yaml",Just 2021-03-14 20:15:55.255118427 UTC)])
2021-03-14 23:58:48.406752078 [ThreadId 61] DEBUG hls:	Known files updated: fromList [(TargetModule Lib,["/home/frank/Workspace11/secundo/src/Lib.hs","/home/frank/Workspace11/secundo/src/Lib.hs"]),(TargetModule Paths_secundo,["/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/autogen/Paths_secundo.hs","/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/autogen/Paths_secundo.hs","/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/autogen/Paths_secundo.hs","/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/autogen/Paths_secundo.hs"]),(TargetFile NormalizedFilePath "/home/frank/Workspace11/secundo/app/Main.hs",["/home/frank/Workspace11/secundo/app/Main.hs","/home/frank/Workspace11/secundo/app/Main.hs"]),(TargetFile NormalizedFilePath "/home/frank/Workspace11/secundo/test/Spec.hs",["/home/frank/Workspace11/secundo/test/Spec.hs"])]
2021-03-14 23:58:48.407155917 [ThreadId 50] DEBUG hls:	Finishing build session(exception: AsyncCancelled)
2021-03-14 23:58:48.40724563 [ThreadId 61] DEBUG hls:	Restarting build session (aborting the previous one took 0.00s)
2021-03-14 23:58:48.409417798 [ThreadId 95] INFO hls:	Consulting the cradle for "Setup.hs"
Output from setting up the cradle Cradle {cradleRootDir = "/home/frank/Workspace11/secundo", cradleOptsProg = CradleAction: Stack}
> Using main module: 1. Package `secundo' component secundo:exe:secundo-exe with main-is file: /home/frank/Workspace11/secundo/app/Main.hs
> secundo> configure (lib + exe)
> Configuring secundo-0.1.0.0...
> secundo> initial-build-steps (lib + exe)
> The following GHC options are incompatible with GHCi and have not been passed to it: -threaded
> Configuring GHCi with the following packages: secundo
> 
> * * * * * * * *
> 
> Warning: Multiple files use the same module name:
>          * Paths_secundo found at the following paths
>            * /home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/autogen/Paths_secundo.hs (secundo:lib)
>            * /home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/autogen/Paths_secundo.hs (secundo:exe:secundo-exe)
> * * * * * * * *
> 
> /home/frank/Workspace11/secundo/.stack-work/install/x86_64-linux-tinfo6/4bdc2e059a1b593693275c91f7fbbea4bc02bd3a3a9f6fe63bdb57148e033bf0/8.10.4/pkgdb:/home/frank/.stack/snapshots/x86_64-linux-tinfo6/4bdc2e059a1b593693275c91f7fbbea4bc02bd3a3a9f6fe63bdb57148e033bf0/8.10.4/pkgdb:/home/frank/.stack/programs/x86_64-linux/ghc-tinfo6-8.10.4/lib/ghc-8.10.4/package.conf.d
2021-03-14 23:58:50.327471326 [ThreadId 95] DEBUG hls:	Session loading result: Right (ComponentOptions {componentOptions = ["-i","-odir=/home/frank/Workspace11/secundo/.stack-work/odir","-hidir=/home/frank/Workspace11/secundo/.stack-work/odir","-hide-all-packages","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build","-i/home/frank/Workspace11/secundo/src","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/autogen","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/global-autogen","-stubdir=/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build","-package-id=base-4.14.1.0","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe","-i/home/frank/Workspace11/secundo/app","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/autogen","-i/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/secundo-exe-tmp","-rtsopts","-with-rtsopts=-N","-optP-include","-optP/home/frank/Workspace11/secundo/.stack-work/ghci/49ca73dc/cabal_macros.h","-ghci-script=/tmp/haskell-stack-ghci/7a37d702/ghci-script","-package-db","/home/frank/Workspace11/secundo/.stack-work/install/x86_64-linux-tinfo6/4bdc2e059a1b593693275c91f7fbbea4bc02bd3a3a9f6fe63bdb57148e033bf0/8.10.4/pkgdb","-package-db","/home/frank/.stack/snapshots/x86_64-linux-tinfo6/4bdc2e059a1b593693275c91f7fbbea4bc02bd3a3a9f6fe63bdb57148e033bf0/8.10.4/pkgdb","-package-db","/home/frank/.stack/programs/x86_64-linux/ghc-tinfo6-8.10.4/lib/ghc-8.10.4/package.conf.d"], componentRoot = "/home/frank/Workspace11/secundo", componentDependencies = ["secundo.cabal","package.yaml","stack.yaml"]},"/home/frank/.stack/programs/x86_64-linux/ghc-tinfo6-8.10.4/lib/ghc-8.10.4")
2021-03-14 23:58:50.376437917 [ThreadId 95] INFO hls:	Using interface files cache dir: /home/frank/.cache/ghcide/main-a0521c8482c6b15509eacd3c3d4c53a7f7d1cc8c
2021-03-14 23:58:50.376635235 [ThreadId 95] INFO hls:	Using interface files cache dir: /home/frank/.cache/ghcide/main-a0521c8482c6b15509eacd3c3d4c53a7f7d1cc8c
2021-03-14 23:58:50.376750451 [ThreadId 95] INFO hls:	Using interface files cache dir: /home/frank/.cache/ghcide/main-a0521c8482c6b15509eacd3c3d4c53a7f7d1cc8c
2021-03-14 23:58:50.376858939 [ThreadId 95] INFO hls:	Making new HscEnv[main,main,main]
2021-03-14 23:58:50.385539467 [ThreadId 95] DEBUG hls:	New Component Cache HscEnvEq: (([],Just HscEnvEq 127),fromList [("/home/frank/Workspace11/secundo/hie.yaml",Just 2021-03-14 20:40:36.660861016 UTC),("package.yaml",Just 2021-03-14 20:15:54.387112527 UTC),("secundo.cabal",Just 2021-03-14 20:15:54.391112554 UTC),("stack.yaml",Just 2021-03-14 20:15:55.255118427 UTC)])
2021-03-14 23:58:50.389781452 [ThreadId 95] DEBUG hls:	New Component Cache HscEnvEq: (([],Just HscEnvEq 128),fromList [("/home/frank/Workspace11/secundo/hie.yaml",Just 2021-03-14 20:40:36.660861016 UTC),("package.yaml",Just 2021-03-14 20:15:54.387112527 UTC),("secundo.cabal",Just 2021-03-14 20:15:54.391112554 UTC),("stack.yaml",Just 2021-03-14 20:15:55.255118427 UTC)])
2021-03-14 23:58:50.393645115 [ThreadId 95] DEBUG hls:	New Component Cache HscEnvEq: (([],Just HscEnvEq 129),fromList [("/home/frank/Workspace11/secundo/hie.yaml",Just 2021-03-14 20:40:36.660861016 UTC),("package.yaml",Just 2021-03-14 20:15:54.387112527 UTC),("secundo.cabal",Just 2021-03-14 20:15:54.391112554 UTC),("stack.yaml",Just 2021-03-14 20:15:55.255118427 UTC)])
2021-03-14 23:58:50.411143828 [ThreadId 95] DEBUG hls:	Known files updated: fromList [(TargetFile NormalizedFilePath "/home/frank/Workspace11/secundo/Setup.hs",["/home/frank/Workspace11/secundo/Setup.hs"]),(TargetModule Lib,["/home/frank/Workspace11/secundo/src/Lib.hs","/home/frank/Workspace11/secundo/src/Lib.hs","/home/frank/Workspace11/secundo/src/Lib.hs"]),(TargetModule Paths_secundo,["/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/autogen/Paths_secundo.hs","/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/autogen/Paths_secundo.hs","/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/autogen/Paths_secundo.hs","/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/autogen/Paths_secundo.hs","/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/autogen/Paths_secundo.hs","/home/frank/Workspace11/secundo/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/secundo-exe/autogen/Paths_secundo.hs"]),(TargetFile NormalizedFilePath "/home/frank/Workspace11/secundo/app/Main.hs",["/home/frank/Workspace11/secundo/app/Main.hs","/home/frank/Workspace11/secundo/app/Main.hs","/home/frank/Workspace11/secundo/app/Main.hs"]),(TargetFile NormalizedFilePath "/home/frank/Workspace11/secundo/test/Spec.hs",["/home/frank/Workspace11/secundo/test/Spec.hs"])]
2021-03-14 23:58:50.411657122 [ThreadId 82] DEBUG hls:	Finishing build session(exception: AsyncCancelled)
2021-03-14 23:58:50.411728843 [ThreadId 95] DEBUG hls:	Restarting build session (aborting the previous one took 0.00s)
2021-03-14 23:58:50.42221463 [ThreadId 184] INFO hls:	File:     /home/frank/Workspace11/secundo/Setup.hs
Hidden:   no
Range:    1:8-1:27
Source:   not found
Severity: DsError
Message: 
  Could not load module ‘Distribution.Simple’
  It is a member of the hidden package ‘Cabal-3.2.1.0’.
  You can run ‘:set -package Cabal’ to expose it.
  (Note: this unloads all the modules in the current scope.)
2021-03-14 23:58:50.452419794 [ThreadId 290] INFO hls:	finish: User TypeCheck (took 0.04s)
2021-03-14 23:58:50.453980113 [ThreadId 299] INFO hls:	finish: GetHie (took 0.00s)
Files that failed:
 * /home/frank/Workspace11/secundo/Setup.hs

2021-03-14 23:58:50.454171907 [ThreadId 300] INFO hls:	finish: GenerateCore (took 0.00s)
Completed (3 files worked, 1 file failed)
frank@london11lvm:~/Workspace11/secundo$ 

Paste the logs from the lsp-client, e.g. for VS Code

LSP logs:
<paste your logs here>

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementAn enhancement to an already existing featuretype: user experienceAn enhancement to the UX, e.g. better error handling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions