arcade
arcade copied to clipboard
XA2SourceVoice exception while close the arcade app
Bug Report
After I close the arcade app window (d44.py), I get the excepiton of XA2SourceVoice.del
System Info
OS:Windows 11 x64 Python 3.9 x64
Actual behavior:
Arcade app window is closed, but output excepiton below:
C:\simon\del44>py d44.py
Exception ignored in: <function XA2SourceVoice.__del__ at 0x00000295DE6EBDC0>
Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\pyglet\media\drivers\xaudio2\interface.py", line 401, in __del__
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\pyglet\media\drivers\xaudio2\interface.py", line 411, in destroy
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\pyglet\libs\win32\com.py", line 150, in _call
File "_ctypes/callproc.c", line 997, in GetResult
OSError: [WinError -562308112] Windows Error 0xde7bdbf0
Exception ignored in: <function XA2SourceVoice.__del__ at 0x00000295DE6EBDC0>
Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\pyglet\media\drivers\xaudio2\interface.py", line 401, in __del__
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\pyglet\media\drivers\xaudio2\interface.py", line 411, in destroy
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\pyglet\libs\win32\com.py", line 150, in _call
File "_ctypes/callproc.c", line 997, in GetResult
OSError: [WinError -562309136] Windows Error 0xde7bd7f0
Exception ignored in: <function XA2SourceVoice.__del__ at 0x00000295DE6EBDC0>
Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\pyglet\media\drivers\xaudio2\interface.py", line 401, in __del__
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\pyglet\media\drivers\xaudio2\interface.py", line 411, in destroy
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\pyglet\libs\win32\com.py", line 150, in _call
File "_ctypes/callproc.c", line 997, in GetResult
OSError: [WinError -562339072] Windows Error 0xde7b6300
Exception ignored in: <function XA2SourceVoice.__del__ at 0x00000295DE6EBDC0>
Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\pyglet\media\drivers\xaudio2\interface.py", line 401, in __del__
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\pyglet\media\drivers\xaudio2\interface.py", line 411, in destroy
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\pyglet\libs\win32\com.py", line 150, in _call
File "_ctypes/callproc.c", line 997, in GetResult
OSError: [WinError -562340096] Windows Error 0xde7b5f00
Expected behavior:
No any exception.
Steps to reproduce/example code:
- Run d44.py at below link. ( Need copy "images" and "sounds" before running.) https://gitlab.com/movep/del44/-/blob/master/d44.py
- Play a while. (Maybe after score greater than 100.) Note: See README.md for details.
- Close the app window. ==> Get exception on console.
Enhancement request:
Expected NO any excepiton.
What should be added/changed?
I don't know.
What would it help with?
NO exception.
Documentation request:
NO.
What documentation needs to change?
NO.
Where is it located?
https://gitlab.com/movep/del44
What is wrong with it? How can it be improved?
Solve the exception, thanks in advance.