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

AttributeError when trying to load wurlitzer #94

Closed
ccordoba12 opened this issue Mar 4, 2019 · 4 comments
Closed

AttributeError when trying to load wurlitzer #94

ccordoba12 opened this issue Mar 4, 2019 · 4 comments

Comments

@ccordoba12
Copy link
Member

This error was reported in spyder-ide/spyder#8668. I think we need to fix it in wurlitzer itself.

Traceback (most recent call last):

File "/Users/Suman/anaconda/lib/python3.6/site-packages/wurlitzer.py", line 320, in sys_pipes_forever
_mighty_wurlitzer.enter()

File "/Users/Suman/anaconda/lib/python3.6/contextlib.py", line 81, in enter
return next(self.gen)

File "/Users/Suman/anaconda/lib/python3.6/site-packages/wurlitzer.py", line 290, in pipes
with w:

File "/Users/Suman/anaconda/lib/python3.6/site-packages/wurlitzer.py", line 151, in enter
pipe = self._setup_pipe('stdout')

File "/Users/Suman/anaconda/lib/python3.6/site-packages/wurlitzer.py", line 100, in _setup_pipe
real_fd = getattr(sys, '%s' % name).fileno()

AttributeError: 'NoneType' object has no attribute 'fileno'
@ccordoba12 ccordoba12 added this to the v0.4.3 milestone Mar 4, 2019
@ccordoba12 ccordoba12 removed this from the v0.4.3 milestone Mar 31, 2019
@Keou0007
Copy link

Keou0007 commented May 31, 2019

I just installed beta2 on my mac and got this same error line for line on launching.
It actually threw the exception three times in row.
I updated wurlitzer to the version in the spyder-ide conda channel and no more errors.
I'm afraid I don't have a lot more insight, but I'd be happy to test something if you have any theories.

@ccordoba12
Copy link
Member Author

I updated wurlitzer to the version in the spyder-ide conda channel and no more errors.

So is this fixed with the latest wurlitzer version (1.0.2)?

@Keou0007
Copy link

Keou0007 commented Jun 3, 2019

I haven't seen any more errors since I updated. So maybe?
None of my channels show any earlier versions anymore, so I don't think I can downgrade to test.

@ccordoba12
Copy link
Member Author

Ok, let's close this for now then. Thanks for the confirmation @Keou0007!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants