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:asyncio:Task exception was never retrieved future: <Task finished name='nb0anyrlvls_0' coro=<Queue.process_events() done #527

Open
Timeviewerzero opened this issue Aug 26, 2024 · 0 comments

Comments

@Timeviewerzero
Copy link

Now,I can successfully luanch the project,but when I upload one picture, there is a issue described as follows:
**ERROR:**asyncio:Task exception was never retrieved
future: <Task finished name='fqbmj2rprle_0' coro=<Queue.process_events() done, defined at D:\anaconda3\envs\minigptv\lib\site-packages\gradio\queueing.py:343> exception=1 validation error for PredictBody
event_id
Field required [type=missing, input_value={'fn_index': 0, 'data': [...on_hash': 'fqbmj2rprle'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing>
Traceback (most recent call last):
File "D:\anaconda3\envs\minigptv\lib\site-packages\gradio\queueing.py", line 347, in process_events
client_awake = await self.gather_event_data(event)
File "D:\anaconda3\envs\minigptv\lib\site-packages\gradio\queueing.py", line 220, in gather_event_data
data, client_awake = await self.get_message(event, timeout=receive_timeout)
File "D:\anaconda3\envs\minigptv\lib\site-packages\gradio\queueing.py", line 456, in get_message
return PredictBody(**data), True
File "D:\anaconda3\envs\minigptv\lib\site-packages\pydantic\main.py", line 193, in init
self.pydantic_validator.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for PredictBody
event_id
Field required [type=missing, input_value={'fn_index': 0, 'data': [...on_hash': 'fqbmj2rprle'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing

### I wanna konw how can I solve this problem?

微信图片_20240826201928

@github-staff github-staff deleted a comment from Timeviewerzero Aug 27, 2024
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

3 participants
@Timeviewerzero and others