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

[Bug]: Resolver fails at the "Create draft PR or push branch" step due to ERROR:root:<class 'ValueError'>: Issue number 2394 not found in output/output.jsonl #6339

Open
1 task done
oconnorjoseph opened this issue Jan 18, 2025 · 1 comment
Labels
bug Something isn't working resolver Related to OpenHands Resolver

Comments

@oconnorjoseph
Copy link
Contributor

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Describe the bug and reproduction steps

The resolver fails at the "Create draft PR or push branch" step due to the following error:

Run if [ "" == "true" ]; then
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2:
* 'fields' has been removed
  warnings.warn(message, UserWarning)
ERROR:root:  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/openhands/resolver/send_pull_request.py", line 766, in <module>
    main()
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/openhands/resolver/send_pull_request.py", line 747, in main
    resolver_output = load_single_resolver_output(output_path, issue_number)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/openhands/resolver/io_utils.py", line 17, in load_single_resolver_output
    raise ValueError(f'Issue number {issue_number} not found in {output_jsonl}')

ERROR:root:<class 'ValueError'>: Issue number 2[39](https://github.com/BluMintInc/agora/actions/runs/12841075503/job/35810488931#step:13:40)4 not found in output/output.jsonl

OpenHands Installation

Development workflow

OpenHands Version

0.20.0

Operating System

Linux

Logs, Errors, Screenshots, and Additional Context

Attached is the full log archive from the GitHub Action job run:

logs_33218708898.zip

@mInrOz
Copy link

mInrOz commented Jan 18, 2025

Same issue here, but slightly different error message

/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2:
* 'fields' has been removed
  warnings.warn(message, UserWarning)
ERROR:root:  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/openhands/resolver/send_pull_request.py", line 766, in <module>
    main()
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/openhands/resolver/send_pull_request.py", line 750, in main
    process_single_issue(
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/openhands/resolver/send_pull_request.py", line 588, in process_single_issue
    send_pull_request(
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/openhands/resolver/send_pull_request.py", line 358, in send_pull_request
    response.raise_for_status()
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)

@mamoodi mamoodi added the resolver Related to OpenHands Resolver label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resolver Related to OpenHands Resolver
Projects
None yet
Development

No branches or pull requests

3 participants