microsoft / microsoft/OmniParser

Validation errors: Windows Host is not responding

Open
#156 30 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
25.4k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

I can see that the windows host is responding via novnc however I am getting this error


  File "/Users/user/Apps/OmniParser/omnitool/gradio/app.py", line 217, in process_input
    raise gr.Error("Validation errors: " + ", ".join(errors))
gradio.exceptions.Error: 'Validation errors: Windows Host is not responding'
Traceback (most recent call last):
  File "/Users/user/Apps/OmniParser/.venv/lib/python3.12/site-packages/gradio/queueing.py", line 625, in process_events
    response = await route_utils.call_process_api(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Apps/OmniParser/.venv/lib/python3.12/site-packages/gradio/route_utils.py", line 322, in call_process_api
    output = await app.get_blocks().process_api(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Apps/OmniParser/.venv/lib/python3.12/site-packages/gradio/blocks.py", line 2044, in process_api
    result = await self.call_function(
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Apps/OmniParser/.venv/lib/python3.12/site-packages/gradio/blocks.py", line 1603, in call_function
    prediction = await utils.async_iteration(iterator)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Apps/OmniParser/.venv/lib/python3.12/site-packages/gradio/utils.py", line 728, in async_iteration
    return await anext(iterator)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Apps/OmniParser/.venv/lib/python3.12/site-packages/gradio/utils.py", line 722, in __anext__
    return await anyio.to_thread.run_sync(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Apps/OmniParser/.venv/lib/python3.12/site-packages/anyio/to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Apps/OmniParser/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
           ^^^^^^^^^^^^
  File "/Users/user/Apps/OmniParser/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 807, in run
    result = context.run(func, *args)
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Apps/OmniParser/.venv/lib/python3.12/site-packages/gradio/utils.py", line 705, in run_sync_iterator_async
    return next(iterator)
           ^^^^^^^^^^^^^^
  File "/Users/user/Apps/OmniParser/.venv/lib/python3.12/site-packages/gradio/utils.py", line 866, in gen_wrapper
    response = next(iterator)
               ^^^^^^^^^^^^^^
  File "/Users/user/Apps/OmniParser/omnitool/gradio/app.py", line 217, in process_input
    raise gr.Error("Validation errors: " + ", ".join(errors))
gradio.exceptions.Error: 'Validation errors: Windows Host is not responding'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at omnitool/gradio/app.py:217 in process_input and trace how the Windows Host validation error is populated. Reproduce the reported flow with a host visible through noVNC, then verify that validation no longer reports the host as unresponsive when it is reachable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.