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

pygame.error: mixer not initialized #305

Closed
NetSpida opened this issue Aug 4, 2023 · 2 comments · May be fixed by #306
Closed

pygame.error: mixer not initialized #305

NetSpida opened this issue Aug 4, 2023 · 2 comments · May be fixed by #306

Comments

@NetSpida
Copy link

NetSpida commented Aug 4, 2023

During startup I get the following error:

Traceback (most recent call last):
  File "/home/joustmania/JoustMania/piparty.py", line 1053, in <module>
    InitAudio()
  File "/home/joustmania/JoustMania/piparty.py", line 630, in game_loop
    self.check_game_trigger()
  File "/home/joustmania/JoustMania/piparty.py", line 876, in check_start_game
    self.random_added.append(serial)
  File "/home/joustmania/JoustMania/piaudio.py", line 192, in __init__
    self.sample_ = pygame.mixer.Sound(file=fname)
pygame.error: mixer not initialized
@NetSpida
Copy link
Author

NetSpida commented Aug 4, 2023

Possibly the issue might be caused by my solution to #301

@adangert
Copy link
Owner

Fixed for the pi 4 on both bookworm and bullseye from #301

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

Successfully merging a pull request may close this issue.

2 participants