webscopeio / license.sh

License checker tool - We're in a beta phase, any help is appreciated, especially reporting issues
https://webscopeio.github.io/license.sh
MIT License
40 stars 6 forks source link

RuntimeError: Event loop is closed #198

Open matthewdeanmartin opened 3 years ago

matthewdeanmartin commented 3 years ago

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