Closed EdmundsEcho closed 8 years ago
Your ghc installation seems to be broken. Either that, or ghc-mod was compiled in another environment. 8 февр. 2016 г. 0:49 пользователь "edmundcape" notifications@github.com написал:
[Enter steps to reproduce below:]
1 2
Atom Version: 143 System: Mac OS X 10113 Thrown From: haskell-ghc-mod https://githubcom/atom-haskell/haskell-ghc-mod package, v166 Stack Trace
Haskell-ghc-mod: ghc-mod command lang failed with error code 1
At caps: {"version":[5,2,1,2],"legacyInteractive":false,"fileMap":false,"rootExec":false,"quoteArgs":false,"optparse":false} URI: undefined Args: message: /Library/Frameworks/GHCframework/Versions/783-x86_64/usr/lib/ghc-783/settings: openFile: does not exist (No such file or directory)
log: -0335s: getProcessOptions() -0326s: PATH = /Users/edmund/Library/Haskell/bin/:/usr/bin:/bin:/usr/sbin:/sbin -0156s: warn: nameless module in /Users/edmund/Dropbox/Programming/Haskell/src/pipes_exercise_2hs -0155s: Pipes created -0154s: Pipes updating -0154s: getProcessOptions(/Users/edmund/Dropbox/Programming/Haskell/src) -0147s: PATH = /Users/edmund/Library/Haskell/bin/:/usr/bin:/bin:/usr/sbin:/sbin -0112s: Pipes moduleName mismatch: undefined != Pipes -0112s: PipesPrelude created -0112s: PipesPrelude updating -0086s: PipesPrelude moduleName mismatch: undefined != PipesPrelude -0086s: Prelude created -0086s: Prelude updating -0056s: Prelude moduleName mismatch: undefined != Prelude -0038s: {"version":[5,2,1,2],"legacyInteractive":false,"fileMap":false,"rootExec":false,"quoteArgs":false,"optparse":false} -0036s: running /Users/edmund/Library/Haskell/bin/ghc-mod lang with optionscwd = ,optionsenv = [object Object],optionsencoding = utf-8 -003s: running /Users/edmund/Library/Haskell/bin/ghc-mod flag with optionscwd = ,optionsenv = [object Object],optionsencoding = utf-8 -0026s: running /Users/edmund/Library/Haskell/bin/ghc-mod browse,-d,Pipes with optionscwd = /Users/edmund/Dropbox/Programming/Haskell/src,optionsenv = [object Object],optionsencoding = utf-8 -0023s: running /Users/edmund/Library/Haskell/bin/ghc-mod browse,-d,PipesPrelude with optionscwd = /Users/edmund/Dropbox/Programming/Haskell/src,optionsenv = [object Object],optionsencoding = utf-8 -0002s: ghc-mod said: /Library/Frameworks/GHCframework/Versions/783-x86_64/usr/lib/ghc-783/settings: openFile: does not exist (No such file or directory) -0002s: ghc-mod said: /Library/Frameworks/GHCframework/Versions/783-x86_64/usr/lib/ghc-783/settings: openFile: does not exist (No such file or directory) -0001s: /Users/edmund/Library/Haskell/bin/ghc-mod ended with code 1 0s: code 1: /Library/Frameworks/GHCframework/Versions/783-x86_64/usr/lib/ghc-783/settings: openFile: does not exist (No such file or directory)
code 1: /Library/Frameworks/GHCframework/Versions/783-x86_64/usr/lib/ghc-783/settings: openFile: does not exist (No such file or directory)
at moduleexportsUtilmkError (/Users/edmund/atom/packages/haskell-ghc-mod/lib/utilcoffee:154:15) at BufferedProcessexit (/Users/edmund/atom/packages/haskell-ghc-mod/lib/ghc-mod/ghc-modi-process-realcoffee:122:20) at triggerExitCallback (/Applications/Atomapp/Contents/Resources/appasar/src/buffered-processjs:213:47) at /Applications/Atomapp/Contents/Resources/appasar/src/buffered-processjs:227:18 at Socket<anonymous> (/Applications/Atomapp/Contents/Resources/appasar/src/buffered-processjs:98:18) at emitOne (eventsjs:82:20) at Socketemit (eventsjs:169:7) at Pipe_onclose (netjs:469:12)
Commands
Config
{ "core": { "disabledPackages": [ "autocomplete-css", "autocomplete-html", "autocomplete-atom-api", "autocomplete-plus" ], "themes": [ "nucleus-dark-ui", "gruvbox" ] }, "haskell-ghc-mod": { "additionalPathDirectories": [ "/Users/edmund/Library/Haskell/bin/" ], "ghcModPath": "/Users/edmund/Library/Haskell/bin/ghc-mod", "ghcModiPath": "/Users/edmund/Library/Haskell/bin/ghc-modi", "onMouseHoverShow": "Nothing" } }
Installed Packages
User
autocomplete-haskell, v062 gruvbox, v105 haskell-ghc-mod, v166 ide-haskell, v139 ide-haskell-cabal, v100 ide-haskell-repl, v0017 language-haskell, v152 nucleus-dark-ui, v074
DevNo dev packages
— Reply to this email directly or view it on GitHub https://github.com/atom-haskell/haskell-ghc-mod/issues/109.
Indeed. I'm not sure how it happened, but I since rebuilt the ghc-mod using cabal. The version is now updated and compiled for the version of ghci in use. The error is now resolved. Thank you for your help. - E
On Mon, Feb 8, 2016 at 1:13 AM, Nikolay Yakimov notifications@github.com wrote:
Your ghc installation seems to be broken. Either that, or ghc-mod was compiled in another environment. 8 февр. 2016 г. 0:49 пользователь "edmundcape" notifications@github.com написал:
[Enter steps to reproduce below:]
1 2
Atom Version: 143 System: Mac OS X 10113 Thrown From: haskell-ghc-mod https://githubcom/atom-haskell/haskell-ghc-mod package, v166 Stack Trace
Haskell-ghc-mod: ghc-mod command lang failed with error code 1
At caps: {"version":[5,2,1,2],"legacyInteractive":false,"fileMap":false,"rootExec":false,"quoteArgs":false,"optparse":false} URI: undefined Args: message: /Library/Frameworks/GHCframework/Versions/783-x86_64/usr/lib/ghc-783/settings: openFile: does not exist (No such file or directory)
log: -0335s: getProcessOptions() -0326s: PATH = /Users/edmund/Library/Haskell/bin/:/usr/bin:/bin:/usr/sbin:/sbin -0156s: warn: nameless module in /Users/edmund/Dropbox/Programming/Haskell/src/pipes_exercise_2hs -0155s: Pipes created -0154s: Pipes updating -0154s: getProcessOptions(/Users/edmund/Dropbox/Programming/Haskell/src) -0147s: PATH = /Users/edmund/Library/Haskell/bin/:/usr/bin:/bin:/usr/sbin:/sbin -0112s: Pipes moduleName mismatch: undefined != Pipes -0112s: PipesPrelude created -0112s: PipesPrelude updating -0086s: PipesPrelude moduleName mismatch: undefined != PipesPrelude -0086s: Prelude created -0086s: Prelude updating -0056s: Prelude moduleName mismatch: undefined != Prelude -0038s: {"version":[5,2,1,2],"legacyInteractive":false,"fileMap":false,"rootExec":false,"quoteArgs":false,"optparse":false} -0036s: running /Users/edmund/Library/Haskell/bin/ghc-mod lang with optionscwd = ,optionsenv = [object Object],optionsencoding = utf-8 -003s: running /Users/edmund/Library/Haskell/bin/ghc-mod flag with optionscwd = ,optionsenv = [object Object],optionsencoding = utf-8 -0026s: running /Users/edmund/Library/Haskell/bin/ghc-mod browse,-d,Pipes with optionscwd = /Users/edmund/Dropbox/Programming/Haskell/src,optionsenv = [object Object],optionsencoding = utf-8 -0023s: running /Users/edmund/Library/Haskell/bin/ghc-mod browse,-d,PipesPrelude with optionscwd = /Users/edmund/Dropbox/Programming/Haskell/src,optionsenv = [object Object],optionsencoding = utf-8 -0002s: ghc-mod said: /Library/Frameworks/GHCframework/Versions/783-x86_64/usr/lib/ghc-783/settings: openFile: does not exist (No such file or directory) -0002s: ghc-mod said: /Library/Frameworks/GHCframework/Versions/783-x86_64/usr/lib/ghc-783/settings: openFile: does not exist (No such file or directory) -0001s: /Users/edmund/Library/Haskell/bin/ghc-mod ended with code 1 0s: code 1: /Library/Frameworks/GHCframework/Versions/783-x86_64/usr/lib/ghc-783/settings: openFile: does not exist (No such file or directory)
code 1: /Library/Frameworks/GHCframework/Versions/783-x86_64/usr/lib/ghc-783/settings: openFile: does not exist (No such file or directory)
at moduleexportsUtilmkError (/Users/edmund/atom/packages/haskell-ghc-mod/lib/utilcoffee:154:15) at BufferedProcessexit (/Users/edmund/atom/packages/haskell-ghc-mod/lib/ghc-mod/ghc-modi-process-realcoffee:122:20) at triggerExitCallback (/Applications/Atomapp/Contents/Resources/appasar/src/buffered-processjs:213:47) at /Applications/Atomapp/Contents/Resources/appasar/src/buffered-processjs:227:18 at Socket
(/Applications/Atomapp/Contents/Resources/appasar/src/buffered-processjs:98:18) at emitOne (eventsjs:82:20) at Socketemit (eventsjs:169:7) at Pipe_onclose (netjs:469:12) Commands
Config
{ "core": { "disabledPackages": [ "autocomplete-css", "autocomplete-html", "autocomplete-atom-api", "autocomplete-plus" ], "themes": [ "nucleus-dark-ui", "gruvbox" ] }, "haskell-ghc-mod": { "additionalPathDirectories": [ "/Users/edmund/Library/Haskell/bin/" ], "ghcModPath": "/Users/edmund/Library/Haskell/bin/ghc-mod", "ghcModiPath": "/Users/edmund/Library/Haskell/bin/ghc-modi", "onMouseHoverShow": "Nothing" } }
Installed Packages
User
autocomplete-haskell, v062 gruvbox, v105 haskell-ghc-mod, v166 ide-haskell, v139 ide-haskell-cabal, v100 ide-haskell-repl, v0017 language-haskell, v152 nucleus-dark-ui, v074
DevNo dev packages
— Reply to this email directly or view it on GitHub https://github.com/atom-haskell/haskell-ghc-mod/issues/109.
— Reply to this email directly or view it on GitHub https://github.com/atom-haskell/haskell-ghc-mod/issues/109#issuecomment-181213738 .
Edmund Cape, PhD MBA (917) 715-8299 edmund.cape@gmail.com
[Enter steps to reproduce below:]
Atom Version: 1.4.3 System: Mac OS X 10.11.3 Thrown From: haskell-ghc-mod package, v1.6.6
Stack Trace
Haskell-ghc-mod: ghc-mod command lang failed with error code 1
Commands
Config
Installed Packages