license.sh icon indicating copy to clipboard operation
license.sh copied to clipboard

RuntimeError: Event loop is closed

Open matthewdeanmartin opened this issue 2 years ago • 0 comments

I'm running on on git-bash on windows. I'm using a config file copied directly from webscopeio/license.sh repo. After running a pipenv lock I run this

license-sh -p pipenv

And get the graph, plus several dozen pages of the same error message over and over.

It is probably related to this SO answer: https://stackoverflow.com/a/66772242/33264

    │       └── pytest - 6.2.2 - MIT
    │           └── packaging - 20.3 - BSD or Apache License, Version 2.0
    ├── python-dotenv - 0.11.0 - Unknown
    └── tox - 3.23.0 - MIT
        └── packaging - 20.3 - BSD or Apache License, Version 2.0
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000014F62F1C040>
Traceback (most recent call last):
  File "C:\Users\matth\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 116, in __del__
    self.close()
  File "C:\Users\matth\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 108, in close
    self._loop.call_soon(self._call_connection_lost, None)
  File "C:\Users\matth\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 715, in call_soon
    self._check_closed()
  File "C:\Users\matth\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 508, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000014F62F1C040>
Traceback (most recent call last):
  File "C:\Users\matth\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 116, in __del__
    self.close()
  File "C:\Users\matth\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 108, in close
    self._loop.call_soon(self._call_connection_lost, None)
  File "C:\Users\matth\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 715, in call_soon
    self._check_closed()

...<snip>...

   self._check_closed()
  File "C:\Users\matth\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 508, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

matthewdeanmartin avatar Aug 20 '21 19:08 matthewdeanmartin