Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Runtime error after 1 hour #144

Open
SlideeScherz opened this issue Jun 21, 2021 · 2 comments
Open

Runtime error after 1 hour #144

SlideeScherz opened this issue Jun 21, 2021 · 2 comments

Comments

@SlideeScherz
Copy link

After about 1 hour every time I execute I receive; RuntimeError: Event loop is closed

Here is the full log of my terminal

Sniper Error.txt

@digital-dev
Copy link

Can confirm, I get the same error after around an hour. This happens consistently.

Running Windows 10 20H2 Fully updated, Vmware running only the required applications.

Traceback (most recent call last):
  File "C:\Python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "c:\Users\username\Documents\nvidia-sniper\sniper\__main__.py", line 285, in <module>
    loop.run_until_complete(main())
  File "C:\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete
    return future.result()
  File "c:\Users\username\Documents\nvidia-sniper\sniper\__main__.py", line 163, in main
    status = await api_client.check_availability(target_id)
  File "c:\Users\username\Documents\nvidia-sniper\sniper\api.py", line 28, in check_availability
    async with self.session.get(f'{const.INVENTORY_URL}/{self.dr_locale}/{self.api_currency}/{dr_id}') as response:
  File "C:\Users\username\Documents\nvidia-sniper\.venv\lib\site-packages\aiohttp\client.py", line 1117, in __aenter__
    self._resp = await self._coro
  File "C:\Users\username\Documents\nvidia-sniper\.venv\lib\site-packages\aiohttp\client.py", line 544, in _request
    await resp.start(conn)
  File "C:\Users\username\Documents\nvidia-sniper\.venv\lib\site-packages\aiohttp\client_reqrep.py", line 905, in start
    self._continue = None
  File "C:\Users\username\Documents\nvidia-sniper\.venv\lib\site-packages\aiohttp\helpers.py", line 656, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x00000235A9449DC0>
Traceback (most recent call last):
  File "C:\Python38\lib\asyncio\proactor_events.py", line 116, in __del__
  File "C:\Python38\lib\asyncio\proactor_events.py", line 108, in close
  File "C:\Python38\lib\asyncio\base_events.py", line 719, in call_soon
  File "C:\Python38\lib\asyncio\base_events.py", line 508, in _check_closed
RuntimeError: Event loop is closed

@JoshuaMunoz
Copy link

Same! I have to keep restarting the bot once it stops itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants