vycdev / vycdev/falling-pickaxe

Error on run. Something to do with sound.py and sound manager

Open
#14 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug help wanted question
Dominant language
Python
Stars
66
Forks
41
PR merge metrics
No merged PRs in 30d

Description

pygame 2.6.1 (SDL 2.28.4, Python 3.12.3)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/home/ubuntu/falling-pickaxe/./src/main.py", line 505, in
game()
File "/home/ubuntu/falling-pickaxe/./src/main.py", line 193, in game
sound_manager = SoundManager()
^^^^^^^^^^^^^^
File "/home/ubuntu/falling-pickaxe/src/sound.py", line 5, in init
pygame.mixer.init() # Initialize the mixer
^^^^^^^^^^^^^^^^^^^
pygame.error: dsp: No such audio device

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/main.py around line 193, where SoundManager is created, and src/sound.py line 5, where pygame.mixer.init() raises the error. Reproduce with Python 3.12.3, pygame 2.6.1, and the reported audio environment; done means the game no longer crashes when no audio device is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.