Package: python-pygame Version: 1.7.1release-4.1+b1 Severity: normal [EMAIL PROTECTED]:~>cat foo.py #!/usr/bin/python
import pygame pygame.init() Run this in a loop and you'll get: [EMAIL PROTECTED]:~>while :; do python foo.py; sleep 1; echo foo; done foo foo foo Xlib: connection to ":0.0" refused by server Xlib: XDM authorization key matches an existing client! foo foo Xlib: connection to ":0.0" refused by server Xlib: XDM authorization key matches an existing client! foo foo foo foo foo foo Xlib: connection to ":0.0" refused by server Xlib: XDM authorization key matches an existing client! foo I was seeing this problem starting the singularity game too. When it occurs there the game fails to start up and throws a backtrace: Xlib: connection to ":0.0" refused by server Xlib: XDM authorization key matches an existing client! Traceback (most recent call last): File "singularity.py", line 28, in ? pygame.key.set_repeat(1000,50) pygame.error: video system not initialized So it seems that this can happen both in pygame.init and it later pygame method calls like set_repeat. pygame.init seems to catch the exception; other things don't. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-pygame depends on: ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries ii libsdl-image1.2 1.2.6-1 image loading library for Simple D ii libsdl-mixer1.2 1.2.6-3 mixer library for Simple DirectMed ii libsdl-ttf2.0-0 2.0.9-1 ttf library for Simple DirectMedia ii libsdl1.2debian 1.2.11-9 Simple DirectMedia Layer ii libsmpeg0 0.4.5+cvs20030824-2 SDL MPEG Player Library - shared l ii python 2.4.4-6 An interactive high-level object-o ii python-central 0.5.15 register and build utility for Pyt ii python-numeric 24.2-8 Numerical (matrix-oriented) Mathem python-pygame recommends no packages. -- no debconf information -- see shy jo
signature.asc
Description: Digital signature