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

TypeError: argument must be an int, or have a fileno() method. #49

Closed
qwlake opened this issue Nov 30, 2020 · 1 comment
Closed

TypeError: argument must be an int, or have a fileno() method. #49

qwlake opened this issue Nov 30, 2020 · 1 comment

Comments

@qwlake
Copy link
Member

qwlake commented Nov 30, 2020

While executing Python multiprocessing(billiard), it comes out this error:

celery01       | Exception ignored in: <Finalize object, dead>
celery01       | Traceback (most recent call last):
celery01       |   File "/usr/local/lib/python3.6/multiprocessing/util.py", line 186, in __call__
celery01       |     res = self._callback(*self._args, **self._kwargs)
celery01       |   File "/usr/local/lib/python3.6/site-packages/billiard/managers.py", line 612, in _finalize_manager
celery01       |     process.join(timeout=0.1)
celery01       |   File "/usr/local/lib/python3.6/site-packages/billiard/process.py", line 148, in join
celery01       |     res = self._popen.wait(timeout)
celery01       |   File "/usr/local/lib/python3.6/site-packages/billiard/popen_fork.py", line 54, in wait
celery01       |     if not wait([self.sentinel], timeout):
celery01       |   File "/usr/local/lib/python3.6/site-packages/billiard/connection.py", line 996, in wait
celery01       |     return _poll(object_list, timeout)
celery01       |   File "/usr/local/lib/python3.6/site-packages/billiard/connection.py", line 968, in _poll
celery01       |     pollster.register(fd, select.POLLIN)
celery01       | TypeError: argument must be an int, or have a fileno() method.

celery version : 4.4.2
billiard version : 3.6.3.0

I changed celery version 4.4.2 to 5.0.2. So need to monitor weather it sames or not.

@qwlake
Copy link
Member Author

qwlake commented Dec 30, 2020

Fixed by celery/billiard#270
upgrade to newer version (celery version 4.4.2 -> 5.0.2)

@qwlake qwlake closed this as completed Dec 30, 2020
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