{"action":"created","issue":{"url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/598","labels_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/598/labels{/name}","comments_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/598/comments","events_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/598/events","html_url":"https://github.com/kazu-yamamoto/ghc-mod/issues/598","id":106303736,"number":598,"title":"Get \"wrong directory\" warning, initialization hangs","user":{"login":"alanz","id":409607,"avatar_url":"https://avatars.githubusercontent.com/u/409607?v=3","gravatar_id":"","url":"https://api.github.com/users/alanz","html_url":"https://github.com/alanz","followers_url":"https://api.github.com/users/alanz/followers","following_url":"https://api.github.com/users/alanz/following{/other_user}","gists_url":"https://api.github.com/users/alanz/gists{/gist_id}","starred_url":"https://api.github.com/users/alanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanz/subscriptions","organizations_url":"https://api.github.com/users/alanz/orgs","repos_url":"https://api.github.com/users/alanz/repos","events_url":"https://api.github.com/users/alanz/events{/privacy}","received_events_url":"https://api.github.com/users/alanz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"kazu-yamamoto","id":165387,"avatar_url":"https://avatars.githubusercontent.com/u/165387?v=3","gravatar_id":"","url":"https://api.github.com/users/kazu-yamamoto","html_url":"https://github.com/kazu-yamamoto","followers_url":"https://api.github.com/users/kazu-yamamoto/followers","following_url":"https://api.github.com/users/kazu-yamamoto/following{/other_user}","gists_url":"https://api.github.com/users/kazu-yamamoto/gists{/gist_id}","starred_url":"https://api.github.com/users/kazu-yamamoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazu-yamamoto/subscriptions","organizations_url":"https://api.github.com/users/kazu-yamamoto/orgs","repos_url":"https://api.github.com/users/kazu-yamamoto/repos","events_url":"https://api.github.com/users/kazu-yamamoto/events{/privacy}","received_events_url":"https://api.github.com/users/kazu-yamamoto/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2015-09-14T09:25:39Z","updated_at":"2015-09-16T13:58:38Z","closed_at":"2015-09-16T03:51:01Z","body":"Using https://github.com/kazu-yamamoto/ghc-mod/commit/0aa3655e08508efeec71dd9d7594cbb3729f7a0d and current ghc elisp installed via MELPA/ELPA\r\n\r\nSteps to reproduce\r\n\r\n1. Start up emacs in the ghc-mod directory\r\n2. open the ghc-mod/src directory in emacs\r\n3. select the file `GHCMod.hs` and press enter to open it\r\n\r\nA warning/error pops up saying\r\n\r\n    You must run ghc-mod in the project directory as returned by `ghc-mod root`. Currently in: \"/home/alanz/mysrc/github/alanz/ghc-mod/src\"but should be in \"/home/alanz/mysrc/github/alanz/ghc-mod\".\r\n \r\nand the editor hangs, consuming 100% CPU in emacs only, no GHC session cpu, with the status saying\r\n`\"Initializing...\"`\r\n\r\nPressing `C-g` stops this, and the file loads for editing, bu no warnings are reported\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/comments/140749838","html_url":"https://github.com/kazu-yamamoto/ghc-mod/issues/598#issuecomment-140749838","issue_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/598","id":140749838,"user":{"login":"ajnsit","id":127294,"avatar_url":"https://avatars.githubusercontent.com/u/127294?v=3","gravatar_id":"","url":"https://api.github.com/users/ajnsit","html_url":"https://github.com/ajnsit","followers_url":"https://api.github.com/users/ajnsit/followers","following_url":"https://api.github.com/users/ajnsit/following{/other_user}","gists_url":"https://api.github.com/users/ajnsit/gists{/gist_id}","starred_url":"https://api.github.com/users/ajnsit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajnsit/subscriptions","organizations_url":"https://api.github.com/users/ajnsit/orgs","repos_url":"https://api.github.com/users/ajnsit/repos","events_url":"https://api.github.com/users/ajnsit/events{/privacy}","received_events_url":"https://api.github.com/users/ajnsit/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T13:58:38Z","updated_at":"2015-09-16T13:58:38Z","body":"@usharf @DanielG Not really stuck, as you can simply build ghc-mod at the last working version 6488f1070d531a15e0b71c5e1e4d44d092b5858d instead of HEAD"}}