[Python-modules-team] Bug#453386: python-opengl: same problem with snowballz, but not with billard-gl

Arthur Marsh arthur.marsh at internode.on.net
Thu Nov 29 11:03:30 UTC 2007

Package: python-opengl
Version: 3.0.0~a6-4
Followup-For: Bug #453386

Hi, I tried both a program that uses freeglut3 but not python-opengl 
(billard-gl) which worked, and another program that uses python-opengl 
(snowballz) which failed with the errors:

$ snowballz
Traceback (most recent call last):
  File "snowballz.py", line 12, in ?
    from player import Player
  File "/usr/share/games/snowballz/player.py", line 2, in ?
    import ai
  File "/usr/share/games/snowballz/ai.py", line 2, in ?
    import data
  File "/usr/share/games/snowballz/data.py", line 4, in ?
    import textures
  File "/usr/share/games/snowballz/textures.py", line 2, in ?
    from OpenGL.GL import *
  File "/usr/lib/python2.4/site-packages/OpenGL/GL/__init__.py", line 2, 
in ?
    from OpenGL.raw.GL import *
  File "/usr/lib/python2.4/site-packages/OpenGL/raw/GL/__init__.py", 
line 6, in ?
    from OpenGL.raw.GL.constants import *
  File "/usr/lib/python2.4/site-packages/OpenGL/raw/GL/constants.py", 
line 7, in ?
    from OpenGL import platform, arrays
  File "/usr/lib/python2.4/site-packages/OpenGL/platform/__init__.py", 
line 24, in ?
    from OpenGL.platform.glx import *
  File "/usr/lib/python2.4/site-packages/OpenGL/platform/glx.py", line 
29, in ?
"/usr/lib/python2.4/site-packages/OpenGL/platform/ctypesloader.py", line 
37, in loadLibrary
    return dllType( name, mode )
  File "/usr/lib/python2.4/site-packages/ctypes/__init__.py", line 340, 
in __init__
    self._handle = _dlopen(self._name, mode)
OSError: GL: cannot open shared object file: No such file or directory

This points to some problem with python-opengl when using the nv driver.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-opengl depends on:
ii  freeglut3                     2.4.0-6    OpenGL Utility Toolkit
ii  libgl1-mesa-glx [libgl1]      7.0.2-2    A free implementation of the OpenG
ii  libglu1-mesa [libglu1]        7.0.2-2    The OpenGL utility library (GLU)
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-ctypes                 1.0.2-2    Python package to create and manip
ii  python-setuptools             0.6c7-1    Python Distutils Enhancements

python-opengl recommends no packages.

-- no debconf information

More information about the Python-modules-team mailing list