ShredEagle / shred-project-helper

Shred tools to make it easier to work on projects
MIT License
0 stars 0 forks source link

Windows crash on exit #16

Open Adnn opened 1 year ago

Adnn commented 1 year ago
Exception in thread Thread-31 (run_threaded_loop):
Traceback (most recent call last):
  File "C:\Users\adn\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
    self.run()
  File "C:\Users\adn\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\adn\AppData\Local\Programs\Python\Python311\Lib\site-packages\sph\conan_context.py", line 97, in run_threaded_loop
    self.context_loop.run_until_complete(
  File "C:\Users\adn\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "C:\Users\adn\AppData\Local\Programs\Python\Python311\Lib\site-packages\sph\conan_context.py", line 116, in remote_data_fetch_loop
    await asyncio.gather(
  File "C:\Users\adn\AppData\Local\Programs\Python\Python311\Lib\site-packages\sph\conan_context.py", line 258, in get_workflow_run_information
    if json_body["total_count"] > 0:
       ~~~~~~~~~^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
Task was destroyed but it is pending!
task: <Task cancelling name='Task-1' coro=<ConanContext.data_fetch_loop() running at C:\Users\adn\AppData\Local\Programs\Python\Python311\Lib\site-packages\sph\conan_context.py:112> wait_for=<Future cancelled> cb=[gather.<locals>._done_callback() at C:\Users\adn\AppData\Local\Programs\Python\Python311\Lib\asyncio\tasks.py:754]>

This time it gives me the control back though.