[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame.init() stalls...



Sami Hangaslammi wrote:
On 5/12/05, Troels Therkelsen <tt@xxxxxxxxxxxxxx> wrote:
  
Hi all,

I have been fooling around with pygame for a long time and I've never
experienced this problem before, but the simple application below halts
at "1" until I press ctrl-c twice on my laptop running linux 2.4.26
(Slackware 10.0).

Since I've never experienced this before with pygame, I can only assume
that it's something in my setup causing it, or in one of the SDL libs.
    

Hi,

You can try to narrow it down by intializing the different parts of
pygame separately. i.e. instead of pygame.init(), call
pygame.display.init(), pygame.mixer.init() and so on. My hunch is that
the SDL sound stuff (pygame.mixer.init) is causing the hangup.

  
Thanks for the quick reply; you are right, it is the mixer device init which is hanging.

Knowing how snafu sound on Linux is, it will probably be very hard to trace this one down.  Got any ideas how to do that?

Thanks,

Troels Therkelsen