Skip to content
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

faulthandler.enable() fails with IOError #920

Closed
poldrack opened this issue Jan 2, 2016 · 1 comment
Closed

faulthandler.enable() fails with IOError #920

poldrack opened this issue Jan 2, 2016 · 1 comment

Comments

@poldrack
Copy link

poldrack commented Jan 2, 2016

@fperez: This works in ipython shell (py3.5.1, ipython 4.0.1):

In [1]: import faulthandler

In [2]: faulthandler.enable()

but fails under jupyter:

In [2]:

import faulthandler

In [3]:

faulthandler.enable()

UnsupportedOperation Traceback (most recent call last)
in ()
----> 1 faulthandler.enable()

/Users/poldrack/anaconda/envs/py3k/lib/python3.5/site-packages/ipykernel/iostream.py in fileno(self)
203
204 def fileno(self):
--> 205 raise UnsupportedOperation("IOStream has no fileno.")
206
207 def write(self, string):

UnsupportedOperation: IOStream has no fileno.

@fperez
Copy link
Member

fperez commented Jan 2, 2016

Yup, I'm not 100% sure right now what the issue is, but the problem is a layer down, in the kernel itself. It manifests itself in the notebook for you, but it can be seen at the terminal if you connect to a 'raw' kernel from a console. I just moved the bug over to the kernel package where we'll ultimately have to fix the actual problem, will close this one here and we can continue tracking the problem over there...

Thanks for reporting it, and sorry about this!!

@fperez fperez closed this as completed Jan 2, 2016
@minrk minrk added this to the not notebook milestone Apr 8, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants