hard-brain / hard-brain-bot

A Discord bot for generating Beatmania IIDX music quizzes
MIT License
0 stars 0 forks source link

Investigate some process issue #3

Open corndogit opened 7 months ago

corndogit commented 7 months ago
Exception in thread popen-stdin-writer:0x2666363d720:
Traceback (most recent call last):
  File "C:\Users\Corndog\AppData\Local\pypoetry\Cache\virtualenvs\hard-brain-bot-zTy8xzM2-py3.10\lib\site-packages\disnake\player.py", line 207, in _pipe_writer
INFO:disnake.player:ffmpeg process 2552 should have terminated with a return code of 1.
    self._stdin.write(data)
BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Corndog\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "C:\Users\Corndog\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Corndog\AppData\Local\pypoetry\Cache\virtualenvs\hard-brain-bot-zTy8xzM2-py3.10\lib\site-packages\disnake\player.py", line 213, in _pipe_writer
    self._process.terminate()
AttributeError: '_MissingSentinel' object has no attribute 'terminate'

happens sometimes idk why

corndogit commented 5 months ago

Seems like an issue within Disnake but unsure