<div dir="ltr">Thank you for the tip.  I did that but then the ihaskell notebook failed to actually load haskell.<div><br></div><div>so I added the following to the config file:</div><div><br></div><div><div>c = get_config()</div><div>c.KernelManager.kernel_cmd = [exe, 'kernel', '{connection_file}']</div><div>c.Session.key = b''</div><div>c.Session.keyfile = b''</div><div><br></div><div># Syntax highlight properly in Haskell notebooks.</div><div>c.NbConvertBase.default_language = "haskell"</div><div><br></div><div># Where to look for templates.</div><div>template_path = "/".join(__file__.split("/")[:-1] + ["templates"])</div><div>c.TemplateExporter.template_path = [template_path]</div><div><br></div><div>And every time I run the ihaskell notebook / console it also adds:</div><div><div>exe = '/nix/store/hlkvkavkgm3hj08ffdlziq30r7zyr060-haskell-ihaskell-ghc7.8.3-0.4.3.0-shared/bin/IHaskell'.replace(' ', '\\ ')</div><div><br></div><div>So I now have a whole list of these at the top.</div><div><br></div></div><div>However now the kernel keeps crashing with :</div><div><br></div><div><div>2015-01-09 03:47:51.673 [NotebookApp] KernelRestarter: restarting kernel (1/5)</div><div>WARNING:root:kernel 0d8057d4-b51e-4acc-a262-ceee9a84edee restarted</div><div>IHaskell: Failed to load interface for ‘IHaskell.Display’</div><div>Use -v to see a list of the files searched for.</div><div>Failed to load interface for ‘IHaskell.Display’</div><div>Use -v to see a list of the files searched for.</div><div>Failed to load interface for ‘IHaskell.IPython.Stdin’</div><div>Use -v to see a list of the files searched for.</div></div><div><br></div><div>Any ideas?</div><div><br></div><div><br></div><br>On Thursday, January 8, 2015 at 8:09:03 PM UTC+11, Utku Demir wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><span style="line-height:19px">I reproduced the issue, had ~/.ipython/profile_haskell directory, but not ipython_config.py inside it after installation.</span><br style="line-height:19px"><div style="line-height:19px"><br></div><div style="line-height:19px">I just created an empty file with `touch ~/.ipython/profile_haskell/<wbr>ipython_config.py` and then iHaskell started successfully.</div><br><div class="gmail_quote">On Thu Jan 08 2015 at 10:07:36 EET <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="B52ewxWup2AJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">in...@rotnetix.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am trying to set up ihaskell on EC2.  I start with the NixOs EC2 instance (from <a href="http://nixos.org/nixos/download.html" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fnixos.org%2Fnixos%2Fdownload.html\46sa\75D\46sntz\0751\46usg\75AFQjCNHsxqoxqjQtwemNKSGm2K7qR2cISg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fnixos.org%2Fnixos%2Fdownload.html\46sa\75D\46sntz\0751\46usg\75AFQjCNHsxqoxqjQtwemNKSGm2K7qR2cISg';return true;">http://nixos.org/nixos/<wbr>download.html</a>) and then basically install the ihaskell package using nix-env -i ihaskell.  The installation runs fine but when I try to start the notebook with ihaskell notebook i get the following:<div><br></div><div><div>Updating IPython profile.</div><div>Loading profile from /nix/store/<wbr>hlkvkavkgm3hj08ffdlziq30r7zyr0<wbr>60-haskell-ihaskell-ghc7.8.3-<wbr>0.4.3.0-shared/share/x86_64-<wbr>linux-ghc-7.8.3/ihaskell-0.4.<wbr>3.0/profile/profile.tar</div><div>IHaskell:</div><div>Ran commands:</div><div>mkdir -p /root/.ihaskell</div><div>mkdir -p /root/.ihaskell/notebooks</div><div>mkdir -p /root/.ihaskell</div><div>/nix/store/<wbr>hnmgn0jrpzlp5d91m5xawpr2iqsjxh<wbr>7j-ipython-2.3.1/bin/ipython locate profile haskell</div><div>which /nix/store/<wbr>hnmgn0jrpzlp5d91m5xawpr2iqsjxh<wbr>7j-ipython-2.3.1/bin/ipython</div><div>/nix/store/<wbr>hnmgn0jrpzlp5d91m5xawpr2iqsjxh<wbr>7j-ipython-2.3.1/bin/ipython locate profile haskell</div><div>which /nix/store/<wbr>hnmgn0jrpzlp5d91m5xawpr2iqsjxh<wbr>7j-ipython-2.3.1/bin/ipython</div><div><br></div><div>Exception: /root/.ipython/profile_<wbr>haskell/ipython_config.py: openFile: does not exist (No such file or directory)</div><div><br></div><div>I poked around a bit and the root/.ipython/profile_haskell/ contains none of the expected profile files...  Could not find anything by googling around except the suggestion to run the ihaskell setup command which seems to have been discontinued</div><div><br></div><div>Can anyone suggest what I could try?</div><div><br></div><div>Thanks</div><div>Riaan</div><div><br></div><div><br></div></div></div>______________________________<u></u><wbr>_________________<br>
Haskell-Cafe mailing list<br>
<a href="javascript:" target="_blank" gdf-obfuscated-mailto="B52ewxWup2AJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">Haskel...@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.haskell.org%2Fmailman%2Flistinfo%2Fhaskell-cafe\46sa\75D\46sntz\0751\46usg\75AFQjCNHiVycCM53czUVzPma4Fkb_wPqP2A';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.haskell.org%2Fmailman%2Flistinfo%2Fhaskell-cafe\46sa\75D\46sntz\0751\46usg\75AFQjCNHiVycCM53czUVzPma4Fkb_wPqP2A';return true;">http://www.haskell.org/<u></u>mailman<wbr>/listinfo/haskell-cafe</a><br>
</blockquote></div>
</blockquote></div></div>