#17 Crash when no audio device found

closed-fixed
nobody
None
5
2011-03-06
2010-08-17
Anonymous
No

PySol doesn't work when no audio device found.
Not possible to play with this cards game without audio.

File log :
Traceback (most recent call last):
File "pysol.py", line 32, in <module>
File "pysollib\main.pyc", line 359, in main
File "pysollib\main.pyc", line 314, in pysol_init
File "pysollib\pysolaudio.pyc", line 445, in connectServer
pygame.error: DirectSoundCreate: No audio device found

Discussion

  • Skomoroh
    Skomoroh
    2011-03-06

    • status: open --> closed-fixed
     
  • Skomoroh
    Skomoroh
    2011-03-06

    Should be fixed in 3.0
    Also you can run the game without sound:
    $ python pysol.py --nosound