pygame.mixer need init with new version(1.9.1) of pygame engine

Create issue
Issue #84 invalid
Former user created an issue
Traceback (most recent call last):
  File "./", line 4, in <module>
  File "/home/atmouse/opt/Story of a Lost Sky/lostsky/", line 42, in bootstrap
    engine = Engine(screen,tilesize,size_window)
  File "/home/atmouse/opt/Story of a Lost Sky/lostsky/core/", line 173, in __init__
    self.sfx_system = SfxSystem()
  File "/home/atmouse/opt/Story of a Lost Sky/lostsky/core/", line 12, in __init__
  File "/home/atmouse/opt/Story of a Lost Sky/lostsky/core/", line 21, in load_effects
    sound_data = pygame.mixer.Sound(os.path.join('soundeffects',sound_file))
pygame.error: mixer system not initialized

Comments (2)

  1. Rune Devros repo owner

    Unfortunately, I am not able to reproduce your error. We have tried this on Win 7 (Python 2.5 / Pygame 1.9.1), Linux Mint 14 (Pygame 2.7.3 / Pygame 1.9.1), and OSX (Python 2.5 / Pygame 1.9.1), but did not encounter the error you specified.

    Doing some reading on the mailing list brings up a couple of possible solutions [1], [2], so these may be useful to you. This seems to indicate it's got to do with the way Pygame in general interacts with the audio system in Linux. In any case, I apologies for not having a clearer solution for you since the cause does not appear to be within our game.

  2. Rune Devros repo owner

    Probably a Pygame / Linux audio system problem. We were unable to reproduce it on three separate OS's.

  3. Log in to comment