vycdev / vycdev/falling-pickaxe
Error on run. Something to do with sound.py and sound manager
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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