Skip to content

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

Description

@nimrossum
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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions