This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 108
Value Error (not enough values to unpack) in pool.py #44
Comments
Can you provide a minimized test case (don't need to provide all of test_fiber_docker.py, just enough to reproduce this error)? Also, what OS are you running and what python version are you using? |
Here is a minimized test case for reproducing the error:
Here is the contents of config_docker.yaml:
My OS is: Darwin 18.7.0 Darwin Kernel Version 18.7.0 Let me know if you need any more info! |
I think the problem is at docker_backend.py:195 if sys.platform == "darwin":
# use the same hostname for both master and non master process
# because docker.for.mac.localhost resolves to different inside
# and outside docker container. "docker.for.mac.localhost" is
# the name that doesn't change in and outside the container.
return "docker.for.mac.localhost", 0 it returns two elements. But after I modify it, I still can not run through all the test on the MAC OS. |
calio
added a commit
that referenced
this issue
Mar 15, 2021
calio
added a commit
that referenced
this issue
Mar 15, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
fiber/fiber/pool.py
Line 908 in b9d519e
I am getting the following error: ValueError: not enough values to unpack (expected 3, got 2) on line 908 in pool.py.
The error is being raised when I am calling fiber using docker as the backend.
This the command I am using to call the script: FIBER_BACKEND=docker FIBER_IMAGE=docker-test:latest python test_fiber_docker.py
The text was updated successfully, but these errors were encountered: