THUDM / WebGLM

WebGLM: An Efficient Web-enhanced Question Answering System (KDD 2023)
Apache License 2.0
1.57k stars 135 forks source link

Task exception was never retrieved #63

Open wfwei opened 1 year ago

wfwei commented 1 year ago
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