Active Topics

 


Reply
Thread Tools
Guest | Posts: n/a | Thanked: 0 times | Joined on
#1
a lot of my python applications crash, when I run them from terminal I get this error:
Traceback (most recent call last):
File "filename.py", line 79, in <module>
pygame.mixer.init()
pygame.error: Could not open requested file
this has something to do with sound, but I don't know what.
I tried reinstalling pygame, some of the python apps that crash and apt-get -f

I've seen people having this problem and posting this problem for different apps, but I think it's not related to one specific app.

So... any ideas?
 
Posts: 35 | Thanked: 60 times | Joined on Sep 2011
#2
I know this thread is old, but as it is the first google hit for pygame.mixer.init() crash...

For me this solution worked well

Originally Posted by hxka View Post
The problem of game crashing when launched from menu is in package libsdl-mixer1.2 from extras.
To restore original one, type as root:
Code:
apt-get install libsdl-mixer1.2=1:1.2.6-5+0m5
To prevent upgading to extras version with apt-get upgrade:
Code:
echo libsdl-mixer1.2 hold | dpkg --set-selections
 

The Following User Says Thank You to whisk4s For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 07:23.