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

error: [Errno 9] Bad file descriptor #13

Open
murilobsd opened this issue Jun 19, 2014 · 0 comments
Open

error: [Errno 9] Bad file descriptor #13

murilobsd opened this issue Jun 19, 2014 · 0 comments

Comments

@murilobsd
Copy link

Hello, I tested the sample code and is returning this error:

ERROR:tornado.application:Exception in callback <_functools.partial object at 0x0000000105a14288>
Traceback (most recent call last):
  File "/Users/murilobsd/Documents/Projetos/europlak/venv/site-packages/tornado/ioloop.py", line 477, in _run_callback
    callback()
  File "/usr/local/Cellar/pypy/2.3.1/libexec/lib_pypy/_functools.py", line 22, in __call__
    return self.func(*(self.args + fargs), **fkeywords)
  File "/Users/murilobsd/Documents/Projetos/europlak/venv/site-packages/tornado/stack_context.py", line 331, in wrapped
    raise_exc_info(exc)
  File "/Users/murilobsd/Documents/Projetos/europlak/venv/site-packages/tornado/stack_context.py", line 302, in wrapped
    ret = fn(*args, **kwargs)
  File "/Users/murilobsd/Documents/Projetos/europlak/venv/site-packages/tornado/iostream.py", line 362, in wrapper
    self.close(exc_info=True)
  File "/Users/murilobsd/Documents/Projetos/europlak/venv/site-packages/tornado/iostream.py", line 262, in close
    self.io_loop.remove_handler(self.fileno())
  File "/Users/murilobsd/Documents/Projetos/europlak/venv/site-packages/tornado/iostream.py", line 683, in fileno
    return self.socket.fileno()
  File "<string>", line 1, in fileno
  File "/usr/local/Cellar/pypy/2.3.1/libexec/lib-python/2.7/socket.py", line 164, in _dummy
    raise error(EBADF, 'Bad file descriptor')
error: [Errno 9] Bad file descriptor

I'm using pypy=2.3.1 and tornado=3.2.2. There are likely to be incompatible with pypy? Thanks

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

1 participant