{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/1067","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1067/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1067/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1067/events","html_url":"https://github.com/commercialhaskell/stack/issues/1067","id":108621306,"number":1067,"title":"Stack ghci fails to load for ghcid","user":{"login":"ndmitchell","id":1651197,"avatar_url":"https://avatars.githubusercontent.com/u/1651197?v=3","gravatar_id":"","url":"https://api.github.com/users/ndmitchell","html_url":"https://github.com/ndmitchell","followers_url":"https://api.github.com/users/ndmitchell/followers","following_url":"https://api.github.com/users/ndmitchell/following{/other_user}","gists_url":"https://api.github.com/users/ndmitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/ndmitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndmitchell/subscriptions","organizations_url":"https://api.github.com/users/ndmitchell/orgs","repos_url":"https://api.github.com/users/ndmitchell/repos","events_url":"https://api.github.com/users/ndmitchell/events{/privacy}","received_events_url":"https://api.github.com/users/ndmitchell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-28T09:35:18Z","updated_at":"2015-09-28T09:36:21Z","closed_at":null,"body":"    C:\\Neil\\ghcid>stack ghci ghcid:exe:ghcid --verbose\r\n    Version 0.1.5.0, Git revision 06a4b270de2d2dcbd3ee8abe98078151c4a8f075 I386\r\n    2015-09-28 09:33:37.5765947: [debug] Checking for project config at: C:\\Neil\\ghcid\\stack.yaml @(stack_BvOdRsLGiqFH33x5AoKISS:Stack.Config src/Stack\\Config.hs:525:9)\r\n    2015-09-28 09:33:37.5765947: [debug] Loading project config file stack.yaml @(stack_BvOdRsLGiqFH33x5AoKISS:Stack.Config src/Stack\\Config.hs:548:13)\r\n    2015-09-28 09:33:37.5765947: [debug] Trying to decode C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\build-plan-cache\\i386-windows\\lts-3.7.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:53:5)\r\n    2015-09-28 09:33:37.5765947: [debug] Success decoding C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\build-plan-cache\\i386-windows\\lts-3.7.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:62:13)\r\n    2015-09-28 09:33:37.5765947: [debug] Run process: ghc --info @(stack_BvOdRsLGiqFH33x5AoKISS:System.Process.Read src/System\\Process\\Read.hs:260:3)\r\n    2015-09-28 09:33:37.6078452: [debug] Run process: ghc --numeric-version @(stack_BvOdRsLGiqFH33x5AoKISS:System.Process.Read src/System\\Process\\Read.hs:260:3)\r\n    2015-09-28 09:33:37.6234709: [debug] Run process: ghc-pkg --no-user-package-db field --simple-output Cabal version @(stack_BvOdRsLGiqFH33x5AoKISS:System.Process.Read src/System\\Process\\Read.hs:260:3)\r\n    2015-09-28 09:33:37.6572619: [debug] Run process: ghc-pkg --no-user-package-db list --global @(stack_BvOdRsLGiqFH33x5AoKISS:System.Process.Read src/System\\Process\\Read.hs:260:3)\r\n    2015-09-28 09:33:37.6759398: [debug] Checking resolver: lts-3.7 @(stack_BvOdRsLGiqFH33x5AoKISS:Stack.Build.Source src/Stack\\Build\\Source.hs:163:17)\r\n    2015-09-28 09:33:37.6759398: [debug] Trying to decode C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\build-plan-cache\\i386-windows\\lts-3.7.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:53:5)\r\n    2015-09-28 09:33:37.6759398: [debug] Success decoding C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\build-plan-cache\\i386-windows\\lts-3.7.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:62:13)\r\n    2015-09-28 09:33:37.6759398: [debug] Checking resolver: lts-3.7 @(stack_BvOdRsLGiqFH33x5AoKISS:Stack.Build.Source src/Stack\\Build\\Source.hs:163:17)\r\n    2015-09-28 09:33:37.6759398: [debug] Trying to decode C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\build-plan-cache\\i386-windows\\lts-3.7.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:53:5)\r\n    2015-09-28 09:33:37.691582: [debug] Success decoding C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\build-plan-cache\\i386-windows\\lts-3.7.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:62:13)\r\n    2015-09-28 09:33:37.691582: [debug] Trying to decode C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\indices\\Hackage\\00-index.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:53:5)\r\n    2015-09-28 09:33:37.8322041: [debug] Success decoding C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\indices\\Hackage\\00-index.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:62:13)\r\n    2015-09-28 09:33:37.8634586: [debug] Checking resolver: lts-3.7 @(stack_BvOdRsLGiqFH33x5AoKISS:Stack.Build.Source src/Stack\\Build\\Source.hs:163:17)\r\n    2015-09-28 09:33:37.8634586: [debug] Trying to decode C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\build-plan-cache\\i386-windows\\lts-3.7.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:53:5)\r\n    2015-09-28 09:33:37.8634586: [debug] Success decoding C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\build-plan-cache\\i386-windows\\lts-3.7.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:62:13)\r\n    2015-09-28 09:33:37.8634586: [debug] Trying to decode C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\indices\\Hackage\\00-index.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:53:5)\r\n    2015-09-28 09:33:38.0040704: [debug] Success decoding C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\indices\\Hackage\\00-index.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:62:13)\r\n    2015-09-28 09:33:38.0196949: [debug] Run process: ghc-pkg --global --no-user-package-db dump --expand-pkgroot @(stack_BvOdRsLGiqFH33x5AoKISS:System.Process.Read src/System\\Process\\Read.hs:260:3)\r\n    2015-09-28 09:33:38.0578187: [debug] Run process: ghc-pkg --user --no-user-package-db --package-db C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\snapshots\\i386-windows\\lts-3.7\\7.10.2\\pkgdb\\ dump --expand-pkgroot @(stack_BvOdRsLGiqFH33x5AoKISS:System.Process.Read src/System\\Process\\Read.hs:260:3)\r\n    2015-09-28 09:33:38.1199019: [debug] Run process: ghc-pkg --user --no-user-package-db --package-db C:\\Neil\\ghcid\\.stack-work\\install\\i386-windows\\lts-3.7\\7.10.2\\pkgdb\\ dump --expand-pkgroot @(stack_BvOdRsLGiqFH33x5AoKISS:System.Process.Read src/System\\Process\\Read.hs:260:3)\r\n    2015-09-28 09:33:38.1395453: [debug] Trying to decode C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\indices\\Hackage\\00-index.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:53:5)\r\n    2015-09-28 09:33:38.2593719: [debug] Success decoding C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\indices\\Hackage\\00-index.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:62:13)\r\n    2015-09-28 09:33:38.2593719: [debug] Trying to decode C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\indices\\Hackage\\00-index.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:53:5)\r\n    2015-09-28 09:33:38.3843635: [debug] Success decoding C:\\Users\\ndmit_000\\AppData\\Roaming\\stack\\indices\\Hackage\\00-index.cache @(stack_BvOdRsLGiqFH33x5AoKISS:Data.Binary.VersionTagged src/Data\\Binary\\VersionTagged.hs:62:13)\r\n    2015-09-28 09:33:38.4312382: [debug] Run process: ghc-pkg --no-user-package-db list --global @(stack_BvOdRsLGiqFH33x5AoKISS:System.Process.Read src/System\\Process\\Read.hs:260:3)\r\n    2015-09-28 09:33:38.4606295: [info] Using main module: Package `ghcid' component exe:ghcid with main-is file: C:\\Neil\\ghcid\\src\\Ghcid.hs @(stack_BvOdRsLGiqFH33x5AoKISS:Stack.Ghci src/Stack\\Ghci.hs:102:28)\r\n    2015-09-28 09:33:38.4606295: [info] Configuring GHCi with the following packages: ghcid @(stack_BvOdRsLGiqFH33x5AoKISS:Stack.Ghci src/Stack\\Ghci.hs:82:5)\r\n    2015-09-28 09:33:38.4606295: [debug] Run process: ghc --interactive -odir=C:\\Neil\\ghcid\\.stack-work\\odir\\ -hidir=C:\\Neil\\ghcid\\.stack-work\\odir\\ -hide-all-packages -main-is Ghcid.main -iC:\\Neil\\ghcid\\ -iC:\\Neil\\ghcid\\src\\ -iC:\\Neil\\ghcid\\.stack-work\\dist\\49224016\\build\\autogen\\ -iC:\\Neil\\ghcid\\.stack-work\\dist\\49224016\\build\\ -stubdir=C:\\Neil\\ghcid\\.stack-work\\dist\\49224016\\build\\ -optP-include -optPC:\\Neil\\ghcid\\.stack-work\\dist\\49224016\\build\\autogen\\cabal_macros.h -package=base -package=filepath-1.4.0.0 -package=time-1.5.0.1 -package=directory-1.2.2.0 -package=containers-0.5.6.2 -package=fsnotify-0.2.1 -package=extra-1.4.2 -package=process-1.2.3.0 -package=cmdargs-0.10.13 -package=ansi-terminal-0.6.2.3 -package=terminal-size-0.3.2 -package=Win32-2.3.1.0 C:\\Neil\\ghcid\\src\\Ghcid.hs Language.Haskell.Ghcid Language.Haskell.Ghcid.Parser Language.Haskell.Ghcid.Terminal Language.Haskell.Ghcid.Types Language.Haskell.Ghcid.Util Paths_ghcid Wait @(stack_BvOdRsLGiqFH33x5AoKISS:Stack.Exec src/Stack\\Exec.hs:52:5)\r\n    2015-09-28 09:33:38.4606295: [debug] Run process: C:\\ghc\\minghc-7.10.2-i386\\ghc-7.10.2\\bin\\ghc.exe --interactive -odir=C:\\Neil\\ghcid\\.stack-work\\odir\\ -hidir=C:\\Neil\\ghcid\\.stack-work\\odir\\ -hide-all-packages -main-is Ghcid.main -iC:\\Neil\\ghcid\\ -iC:\\Neil\\ghcid\\src\\ -iC:\\Neil\\ghcid\\.stack-work\\dist\\49224016\\build\\autogen\\ -iC:\\Neil\\ghcid\\.stack-work\\dist\\49224016\\build\\ -stubdir=C:\\Neil\\ghcid\\.stack-work\\dist\\49224016\\build\\ -optP-include -optPC:\\Neil\\ghcid\\.stack-work\\dist\\49224016\\build\\autogen\\cabal_macros.h -package=base -package=filepath-1.4.0.0 -package=time-1.5.0.1 -package=directory-1.2.2.0 -package=containers-0.5.6.2 -package=fsnotify-0.2.1 -package=extra-1.4.2 -package=process-1.2.3.0 -package=cmdargs-0.10.13 -package=ansi-terminal-0.6.2.3 -package=terminal-size-0.3.2 -package=Win32-2.3.1.0 C:\\Neil\\ghcid\\src\\Ghcid.hs Language.Haskell.Ghcid Language.Haskell.Ghcid.Parser Language.Haskell.Ghcid.Terminal Language.Haskell.Ghcid.Types Language.Haskell.Ghcid.Util Paths_ghcid Wait @(stack_BvOdRsLGiqFH33x5AoKISS:System.Process.Run src/System\\Process\\Run.hs:92:5)\r\n    GHCi, version 7.10.2: http://www.haskell.org/ghc/  :? for help\r\n    realgcc.exe: no input files\r\n    phase `C pre-processor' failed (exitcode = 1)\r\n    >\r\n\r\nIt looks like it has passed `@(stack_BvOdRsLGiqFH33x5AoKISS:System.Process.Run src/System\\Process\\Run.hs:92:5)` as an argument to ghci, which probably upsets it. I have no idea what caused it to do that."},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/143691426","html_url":"https://github.com/commercialhaskell/stack/issues/1067#issuecomment-143691426","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1067","id":143691426,"user":{"login":"ndmitchell","id":1651197,"avatar_url":"https://avatars.githubusercontent.com/u/1651197?v=3","gravatar_id":"","url":"https://api.github.com/users/ndmitchell","html_url":"https://github.com/ndmitchell","followers_url":"https://api.github.com/users/ndmitchell/followers","following_url":"https://api.github.com/users/ndmitchell/following{/other_user}","gists_url":"https://api.github.com/users/ndmitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/ndmitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndmitchell/subscriptions","organizations_url":"https://api.github.com/users/ndmitchell/orgs","repos_url":"https://api.github.com/users/ndmitchell/repos","events_url":"https://api.github.com/users/ndmitchell/events{/privacy}","received_events_url":"https://api.github.com/users/ndmitchell/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T09:36:21Z","updated_at":"2015-09-28T09:36:21Z","body":"I was using https://github.com/ndmitchell/ghcid with the `.ghci` file deleted."}}