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

Task exception was never retrieved #63

Open
wfwei opened this issue Sep 4, 2023 · 0 comments
Open

Task exception was never retrieved #63

wfwei opened this issue Sep 4, 2023 · 0 comments

Comments

@wfwei
Copy link

wfwei commented Sep 4, 2023

Task exception was never retrieved
future: <Task finished name='w74tevo3yl8_0' coro=<Queue.process_events() done, defined at /root/.conda/envs/py39/lib/python3.9/site-packages/gradio/queueing.py:343> exception=1 validation error for PredictBody
event_id
  Field required [type=missing, input_value={'data': ['When will the ...on_hash': 'w74tevo3yl8'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.3/v/missing>
Traceback (most recent call last):
  File "/root/.conda/envs/py39/lib/python3.9/site-packages/gradio/queueing.py", line 347, in process_events
    client_awake = await self.gather_event_data(event)
  File "/root/.conda/envs/py39/lib/python3.9/site-packages/gradio/queueing.py", line 220, in gather_event_data
    data, client_awake = await self.get_message(event, timeout=receive_timeout)
  File "/root/.conda/envs/py39/lib/python3.9/site-packages/gradio/queueing.py", line 456, in get_message
    return PredictBody(**data), True
  File "/root/.conda/envs/py39/lib/python3.9/site-packages/pydantic/main.py", line 165, in __init__
    __pydantic_self__.__pydantic_validator__.validate_python(data, self_instance=__pydantic_self__)
pydantic_core._pydantic_core.ValidationError: 1 validation error for PredictBody
event_id
  Field required [type=missing, input_value={'data': ['When will the ...on_hash': 'w74tevo3yl8'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.3/v/missing
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