-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Error with Spyder IPython Shell - AttributeError: 'NoneType' object has no attribute 'fileno' #191
Comments
I think this is fixed in the latest |
I just updated to Spyder 4 and am getting the following on MacOS:
I have the latest Edit: downgraded Spyder to 3.3.6 and still have the same issue |
@impact27, could you help us with this one? We could simply catch the error and print an informative message about it. |
I don't think this touches spyder code, so I'm not sure where we could catch that. We should open an issue on https://github.com/minrk/wurlitzer. Do you have a way of reproducing the error? |
I opened minrk/wurlitzer#36 |
Thanks @impact27! |
I'm experiencing the same issue with
|
@muhlback |
Do you mean like this?
|
You can do:
I can reproduce this bug if I write (Which is probably not a good idea):
|
So is this a bug you get on a used console that ran code that might have done |
I confirm that this gives
This happens when I start a new console. |
I don't really understand how this is possible:
|
What about:
|
Btw thank you for your persistency! |
Check if you have the latest version of ipykernel maybe?
|
I'm running with |
I have the same issue with spyder 3.3.6 and python 3.6 on macOS 10.15.4 |
I ran into the same error when calling Sypder3 from a bash shell (Python 3.7.4 IPython 7.14.0). I noticed it was complaining about pipes, so I did the naive thing, invoked Spyder sending stdout and stderr to /dev/null e.g: /usr/bin/spyder3 &>/dev/null & and the problem seemed to go away. |
@ccordoba12 Should we disable wurlitzer if stdout is disabled? |
Fixed by minrk/wurlitzer#44 |
Great! Closing this one then. |
This issue is on MacOS. Have checked Issue #8668, and the pull request fix seems to be there.
The text was updated successfully, but these errors were encountered: