Closed tj-89 closed 8 years ago
Shell expansion is NOT supported in 'Additional Path Directories'. Run 'echo $PATH' in terminal, replace colons with commas and put result into APD setting.
Also, '.../bin/hlint' is not a directory. This can lead to problems. Remove '/hlint' part. 14 янв. 2016 г. 21:48 пользователь "TJ Irving" notifications@github.com написал:
[Enter steps to reproduce below:]
1 2
Atom Version: 140 System: Mac OS X 10112 Thrown From: haskell-ghc-mod https://githubcom/atom-haskell/haskell-ghc-mod package, v163 Stack Trace
Haskell-ghc-mod: ghc-mod interactive command info failed with error ghc-modi crashed
At caps: {"version":[5,4,0,0],"legacyInteractive":true,"fileMap":true,"rootExec":true,"quoteArgs":false} URI: /Users/toddirving/Documents/sware/haskell/fizzbuzz/fbhs Args: return message: log: -3981s: getProcessOptions(/Users/toddirving/Documents/sware/haskell/fizzbuzz) -3975s: PATH = /Users/toddirving/Library/Haskell/bin/hlint:$HOME/Library/Haskell/bin:$PATH:/usr/local/sbin:$PATH:/usr/bin:/bin:/usr/sbin:/sbin -3844s: Main created -3844s: Main updating -3842s: Main buffer is set -3842s: Prelude created -3842s: Prelude updating -384s: Prelude moduleName mismatch: undefined != Prelude -3837s: Prelude moduleName mismatch: Main != Prelude -3823s: {"version":[5,4,0,0],"legacyInteractive":true,"fileMap":true,"rootExec":true,"quoteArgs":false} -3821s: running /Users/toddirving/Library/Haskell/bin/ghc-mod lang with optionscwd = /Users/toddirving/Documents/sware/haskell/fizzbuzz,optionsenv = [object Object],optionsencoding = utf-8 -3813s: running /Users/toddirving/Library/Haskell/bin/ghc-mod flag with optionscwd = /Users/toddirving/Documents/sware/haskell/fizzbuzz,optionsenv = [object Object],optionsencoding = utf-8 -381s: running /Users/toddirving/Library/Haskell/bin/ghc-mod browse,-d,Main with optionscwd = /Users/toddirving/Documents/sware/haskell/fizzbuzz,optionsenv = [object Object],optionsencoding = utf-8 -3808s: running /Users/toddirving/Library/Haskell/bin/ghc-mod browse,-d,Prelude with optionscwd = /Users/toddirving/Documents/sware/haskell/fizzbuzz,optionsenv = [object Object],optionsencoding = utf-8 -3742s: ghc-mod said: cabal-helper-wrapper: ghc: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory) -3742s: ghc-mod said: cabal-helper-wrapper: ghc: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory) -3742s: ghc-mod said: cabal-helper-wrapper: ghc: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory) -3742s: ghc-mod said: cabal-helper-wrapper: ghc: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory) -37s: /Users/toddirving/Library/Haskell/bin/ghc-mod ended with code 0 -3699s: Main updated -3699s: /Users/toddirving/Library/Haskell/bin/ghc-mod ended with code 0 -3699s: Prelude updated -3699s: /Users/toddirving/Library/Haskell/bin/ghc-mod ended with code 0 -3699s: /Users/toddirving/Library/Haskell/bin/ghc-mod ended with code 0 -0052s: Trying to run ghc-modi in /Users/toddirving/Documents/sware/haskell/fizzbuzz -0052s: Checking for ghc-modi in /Users/toddirving/Documents/sware/haskell/fizzbuzz -0052s: Spawning new ghc-modi instance for /Users/toddirving/Documents/sware/haskell/fizzbuzz with optionscwd = /Users/toddirving/Documents/sware/haskell/fizzbuzz,optionsenv = [object Object],optionsencoding = utf-8,optionstimeout = 5000 -0052s: Spawning new ghc-modi instance for /Users/toddirving/Documents/sware/haskell/fizzbuzz with optionscwd = /Users/toddirving/Documents/sware/haskell/fizzbuzz,optionsenv = [object Object],optionsencoding = utf-8,optionstimeout = 5000 -004s: Started interactive action block in /Users/toddirving/Documents/sware/haskell/fizzbuzz -004s: Running ghc-modi command info,fbhs,return -0005s: ghc-modi said: cabal-helper-wrapper: ghc: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory) -0004s: ghc-modi said: ghc-mod: readCreateProcess: /Users/toddirving/Library/Haskell/libexec/cabal-helper-wrapper "/Users/toddirving/Documents/sware/haskell/fizzbuzz" "/Users/toddirving/Documents/sware/haskell/fizzbuzz/dist" (exit 1): failed -0001s: ghc-modi for /Users/toddirving/Documents/sware/haskell/fizzbuzz ended with 1 -0001s: ghc-modi for /Users/toddirving/Documents/sware/haskell/fizzbuzz ended with 1 0s: Running ghc-modi command unmap-file,fbhs 0s: ghc-modi crashed
ghc-modi crashed at moduleexportsUtilmkError (/Users/toddirving/atom/packages/haskell-ghc-mod/lib/utilcoffee:154:15) at ChildProcessexitCallback (/Users/toddirving/atom/packages/haskell-ghc-mod/lib/ghc-mod/interactive-processcoffee:76:20) at emitTwo (eventsjs:92:20) at ChildProcessemit (eventsjs:172:7) at ProcessChildProcess_handleonexit (internal/child_processjs:200:12)
Commands
-0:3420 application:hide (atom-text-editoreditoris-focused)
Config
{ "core": { "packagesWithKeymapsDisabled": [ "ide-haskell" ], "themes": [ "atom-dark-ui", "one-dark-syntax" ] }, "haskell-ghc-mod": { "additionalPathDirectories": [ "/Users/toddirving/Library/Haskell/bin/hlint", "$HOME/Library/Haskell/bin:$PATH", "/usr/local/sbin:$PATH" ], "ghcModPath": "/Users/toddirving/Library/Haskell/bin/ghc-mod", "ghcModiPath": "/Users/toddirving/Library/Haskell/bin/ghc-modi", "useLinter": true } }
Installed Packages
User
autocomplete-haskell, v062 haskell-ghc-mod, v163 ide-haskell, v139 ide-haskell-cabal, v100 language-haskell, v152 language-smarty, v140
DevNo dev packages
— Reply to this email directly or view it on GitHub https://github.com/atom-haskell/haskell-ghc-mod/issues/96.
Solved it thanks
@tj-89 where do i find the config file?
[Enter steps to reproduce below:]
Atom Version: 1.4.0 System: Mac OS X 10.11.2 Thrown From: haskell-ghc-mod package, v1.6.3
Stack Trace
Haskell-ghc-mod: ghc-mod interactive command info failed with error ghc-modi crashed
Commands
Config
Installed Packages