New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Irrefutable pattern failed with IHaskell on Sage Math Cloud #694

vaibhavsagar opened this Issue Sep 30, 2016 · 1 comment


None yet
2 participants

vaibhavsagar commented Sep 30, 2016

I'm trying to get the IHaskell kernel on Sage Math Cloud, and I have it working when I open a notebook with another kernel, and then switch to IHaskell as the kernel afterwards. When opening a notebook using IHaskell, however, the kernel dies immediately. The error I'm getting is

ihaskell: src/IHaskell/IPython/Message/Parser.hs:(63,5)-(68,51): Irrefutable pattern failed for pattern Data.Aeson.Types.Internal.Success (messageType,

so I had a look on the issue tracker and found #532 which suggested running ihaskell install --debug and looking at the output. I'm attaching jupyter-notebook.log but I believe the JSON that is causing the pattern match to fail is


I noticed in #532 that IHaskell has certain requirements for the values of the required keys, so I was wondering if some incompatibility here is what's causing the pattern match to fail and the kernel to die? Or do you think the issue lies elsewhere?


This comment has been minimized.


emhoracek commented Oct 3, 2016

It says the msg_type is comm_info_request, but I don't see that listed here:

Could that be the problem?

comm_info_request documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment