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
IPython 4.0 not supported #553
Comments
Have you run |
I've pushed a minor update to Github that should at least have better error messages in this case. |
BTW, when I use the cabal-install'ed version of IHaskell, I get
Because it only knows versions up to 3. |
I've just pushed a commit to Github |
I'll try cabal later on today. |
ihaskell-0.6.4.1 (from cabal) is reporting |
It sounds like there are some significant differences between IPython 3 and IPython 4, so I'll have to put some effort in soon to get IPython 4 supported. For the time being I recommend downgrading to IPython 3. |
I don't need IHaskell for anything other than playing around with so I'm happy to keep it broken and field test patches/fixes as often as would be helpful. |
I think it works now. @jbcoe let me know if it works for you. If you install from Github. If it doesn't work, run |
It installs and runs but claims that the kernel is dead.
|
Strange – it is working on my machine. Could you run the following in your shell and let me know what it prints: cat $(jupyter --data-dir)/kernels/haskell/kernel.json |
I removed I set up ihaskell using
|
Can you install it with --debug?
|
Here's the output after it having installed with
|
Hi, I just tried installing IHaskell with most recent Jupyter also. No I cloned the repo from Github (commit 96ce950). Then ran
which gave this output:
Gives output:
Thanks for working on this project! |
@sawcordwell Can you run the following commands and tell me what the output is? /home/steve/.local/bin/jupyter --version
/home/steve/.local/bin/jupyter --version >/dev/null
/home/steve/.local/bin/jupyter --version 2>/dev/null |
@jbcoe The debug output is incredibly strange. Do you have any IPython extensions installed or anything? Is this a fresh IPython install? There are strange messages associated with IPython widgets in the log. Could you run these commands and tell me their output to help me diagnose the problem? find $(jupyter --data-dir) -type f
find $(jupyter --config-dir) -type f (You may need to change the commands to make them work with Mac OS X's default Can you also show me or send me the notebook you're using to test? |
4.0.3
4.0.3
(no output) |
@sawcordwell Those are all the same as for me. Could you try the latest commit and let me know what Thanks. |
Using commit 35e469d I can run However if I open a new Haskell notebook I get a dead kernel and the same message:
|
|
As requested: `[master *] ~/DEV/ihaskell-git$ find $(jupyter --data-dir) -type f [master *] ~/DEV/ihaskell-git$ find $(jupyter --config-dir) -type f I'm using a brand new haskell notebook with nothing in it to do testing.
|
@sawcordwell Looks like you're getting the same error as @jbcoe Do you have any notebook extensions installed by any chance? |
Support should now be on Hackage. Let me know if there are more problems. They may still exist – it works for me but definitely needs more testing. |
Install from scratch using latest github with macos-install.sh now gives me:
|
There's a problem with formatting (not present in the previous version): #560. |
Install from cabal now works without problems. Would input on the github version be useful (testing) or are errors expected? |
At the moment |
Hackage works perfectly to me so I'll switch to that for now. Thanks for your fast responses and fixes. |
@gibiansky Installing from
|
Also, FWIW, a |
It seems like the error
can be fixed by installing the |
@sumitsahrawat If you check the AUR pkg ihaskell, jupyter is listed as a dependency (I had the same issue, and I fixed it at that time like that). |
Yes, I saw that after I pinged you 😄. This should be documented On 01/09/2015, Jiehong notifications@github.com wrote:
Regards Sophomore - Mathematics and Computing, |
@gibiansky I also recieve a error similar to @jbcoe and @sawcordwell:
Using {
"data": {
"widget_class": "ipywidgets.CommInfo"
},
"target_name": "ipython.widget",
"comm_id": "B469D90261CD45C4811BC0C1929C6096"
} This looks like a message related to |
@sumitsahrawat I don't get an error, but just an info at startup, very similar to yours:
However, it works correctly, so it does not seem blocking here. |
That's strange, as it causes the kernel to die for me whenever I open a new notebook. |
On Archlinux, we only have GHC 7.10.1, and not 7.10.2 yet, and I patched the stack.yml to limit the resolver to I don't know about cabal though, but perhaps it may lead you to a solution? |
Everything works fine now, it was some changes I made that were causing the issue. |
@wyager - Can you list the commands you used to |
Look for anything along the lines of
|
I had the same problem with IPython 4.0.1:
Using Just in case, my params:
|
Same problem
Tried
OS X 10.11.2 (El Capitan) |
Starting the kernel with IPython 4.0 gives the following error:
ihaskell: main/Main.hs:(66,1)-(73,35): Non-exhaustive patterns in function ihaskell
When run from IPython (4.0) notebook, the kernel is reported as dead but seems to execute cells perfectly useably.
The text was updated successfully, but these errors were encountered: