{"action":"closed","issue":{"url":"https://api.github.com/repos/gibiansky/IHaskell/issues/843","repository_url":"https://api.github.com/repos/gibiansky/IHaskell","labels_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/843/labels{/name}","comments_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/843/comments","events_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/843/events","html_url":"https://github.com/gibiansky/IHaskell/issues/843","id":307524198,"node_id":"MDU6SXNzdWUzMDc1MjQxOTg=","number":843,"title":"The presence of rc.hs causes No Module Error outside IHaskell directory","user":{"login":"konn","id":21860,"node_id":"MDQ6VXNlcjIxODYw","avatar_url":"https://avatars0.githubusercontent.com/u/21860?v=4","gravatar_id":"","url":"https://api.github.com/users/konn","html_url":"https://github.com/konn","followers_url":"https://api.github.com/users/konn/followers","following_url":"https://api.github.com/users/konn/following{/other_user}","gists_url":"https://api.github.com/users/konn/gists{/gist_id}","starred_url":"https://api.github.com/users/konn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konn/subscriptions","organizations_url":"https://api.github.com/users/konn/orgs","repos_url":"https://api.github.com/users/konn/repos","events_url":"https://api.github.com/users/konn/events{/privacy}","received_events_url":"https://api.github.com/users/konn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-03-22T06:44:43Z","updated_at":"2018-11-14T19:18:02Z","closed_at":"2018-11-14T19:18:02Z","author_association":"NONE","body":"If we want to run [`HaskellR`][HaskellR] on IHaskell, we need to pass `:set -fno-ghci-sandbox` flag to ghci and one easy solution is to add this line to `~/.ihaskell/rc.hs`, as stated in [HaskellR FAQ].\r\n\r\nHowever, it seems that the presence of `rc.hs` causes the following odd module error and language kernel crash, if one launch `stack exec -- jupyter notebook` *OUTSIDE* the IHaskell directory; i.e. `git clone`'ed directory of IHaskell repo.\r\n\r\n```ghci\r\n[I 15:32:41.839 NotebookApp] Kernel started: 26193c48-5fa5-44ec-b8b3-31e2f1d47bf1\r\nihaskell: Not in scope: ‘IHaskell.Display.displayFromChanEncoded’\r\nNo module named ‘IHaskell.Display’ is imported.\r\n```\r\n\r\nIf there is no `rc.hs`, this error doesn't occur.\r\n\r\n[HaskellR]: https://tweag.github.io/HaskellR/\r\n[HaskellR FAQ]: https://tweag.github.io/HaskellR/docs/faq.html#why-do-i-get-a-stack-limit-error-when-using-ghci-or-jupyter-and-how-can-i-fix-it"}}
{"actor":{"display_login":"vaibhavsagar"}}