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

traceback after Ctrl-C #116

Open
shadeofblue opened this issue Jun 22, 2023 · 1 comment
Open

traceback after Ctrl-C #116

shadeofblue opened this issue Jun 22, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@shadeofblue
Copy link
Contributor

[2023-06-22T13:17:57.666+0200 INFO yapapi.summary] [Job 1] Agreement confirmed by provider 'm2'
[2023-06-22T13:17:57.677+0200 ERROR asyncio] Task exception was never retrieved
future: <Task finished name='Task-2770' coro=<Job._handle_proposal() done, defined at /Users/blue/.envs/dapps/lib/python3.9/site-packages/yapapi/engine.py:840> exception=ApiException()>
Traceback (most recent call last):
  File "/Users/blue/.envs/dapps/lib/python3.9/site-packages/dapp_runner/runner/__init__.py", line 180, in start_runner
    loop.run_until_complete(task)
  File "/usr/local/Cellar/[email protected]/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 629, in run_until_complete
    self.run_forever()
  File "/usr/local/Cellar/[email protected]/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 596, in run_forever
    self._run_once()
  File "/usr/local/Cellar/[email protected]/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 1854, in _run_once
    event_list = self._selector.select(timeout)
  File "/usr/local/Cellar/[email protected]/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/selectors.py", line 562, in select
    kev_list = self._selector.control(None, max_ev, timeout)
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/blue/.envs/dapps/lib/python3.9/site-packages/yapapi/engine.py", line 902, in _handle_proposal
    await proposal.respond(demand_builder.properties, demand_builder.constraints)
  File "/Users/blue/.envs/dapps/lib/python3.9/site-packages/yapapi/rest/market.py", line 166, in respond
    new_proposal = await self._subscription._api.counter_proposal_demand(
  File "/Users/blue/.envs/dapps/lib/python3.9/site-packages/ya_market/api_client.py", line 205, in __call_api
    raise e
  File "/Users/blue/.envs/dapps/lib/python3.9/site-packages/ya_market/api_client.py", line 193, in __call_api
    response_data = await self.request(
  File "/Users/blue/.envs/dapps/lib/python3.9/site-packages/ya_market/rest.py", line 268, in POST
    return await self.request(
  File "/Users/blue/.envs/dapps/lib/python3.9/site-packages/ya_market/rest.py", line 180, in request
    raise ApiException(http_resp=r)
ya_market.exceptions.ApiException: (410)
Reason: Gone
HTTP response headers: <CIMultiDictProxy('Content-Length': '156', 'Content-Type': 'application/json', 'Date': 'Thu, 22 Jun 2023 11:17:57 GMT')>
HTTP response body: {"message":"Proposal [R-520f2e9df9a19c0ac963658dbf19ad8f7b12bc8a2a37c7be7357a1ef1cdcc5c7] already has counter proposal. Can't counter for the second time."}
@shadeofblue
Copy link
Contributor Author

ctrl-c-traceback-log.txt

@shadeofblue shadeofblue added the bug Something isn't working label Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant