Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: " Error 277 for command: open "C:\Users\jonas\AppData\Roaming\Kat\resources\win\win.mp3" alias playsound_0.3350055210840338 Der opstod et problem under initialisering af MCI." #118

Open
nimrossum opened this issue Oct 7, 2022 · 0 comments

Comments

@nimrossum
Copy link

Traceback (most recent call last):
  File "C:\Users\jonas\AppData\Roaming\Kat\kattis.py", line 43, in main
    execCommand[command](data)
  File "C:\Users\jonas\AppData\Roaming\Kat\commands\submit.py", line 87, in submitCommand
    winsound()
  File "C:\Users\jonas\AppData\Roaming\Kat\helpers\sound.py", line 9, in winsound
    playsound(random.choice(glob.glob(os.path.join(prefix, "win", "*.mp3"))))
  File "C:\Users\jonas\AppData\Roaming\Python\Python310\site-packages\playsound.py", line 35, in _playsoundWin
    winCommand('open "' + sound + '" alias', alias)
  File "C:\Users\jonas\AppData\Roaming\Python\Python310\site-packages\playsound.py", line 31, in winCommand
    raise PlaysoundException(exceptionMessage)
playsound.PlaysoundException: 
    Error 277 for command:
        open "C:\Users\jonas\AppData\Roaming\Kat\resources\win\win.mp3" alias playsound_0.3350055210840338
    Der opstod et problem under initialisering af MCI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant