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

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



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.

What I was wondering was whether it's possible to make pygame spew out loads of debug info... it would help tracing down exactly what (presumably) SDL call it is that locks up.

Pygame version 1.6.2.

Thanks in advance,

Troels Therkelsen

--------------------

SDL     : found 1.2.8
FONT    : found
IMAGE   : found
MIXER   : found
SMPEG   : found 0.4.4
NUMERIC : found 24.0b2

---------------------------------------------------------------

import pygame
from pygame.locals import *
import time

print "1"
pygame.init()
print "2"
pygame.display.set_mode((100, 100))
print "3"

time.sleep(10)

pygame.quit()


begin:vcard
fn:Troels Therkelsen
n:Therkelsen;Troels
org:Nitram Lexa
adr:;;Danmarksvej 5A;Kongens Lyngby;;2800;Denmark
email;internet:tt@xxxxxxxxxxxxxx
title:Programmer
tel;work:+45 70 25 24 23
tel;fax:+45 70 25 29 23
tel;home:+45 38 81 33 66
tel;cell:+45 25 39 14 69
x-mozilla-html:FALSE
url:http://www.nitramlexa.com
version:2.1
end:vcard