pyglet error: "No standard config is available. "

Bug #786516 reported by eldad
44
This bug affects 9 people
Affects Status Importance Assigned to Milestone
pyglet (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

output of "python -m pyglet.info":

Python
------------------------------------------------------------------------------
sys.version: 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2]
sys.platform: linux2
os.getcwd(): /home/eldada

pyglet
------------------------------------------------------------------------------
pyglet.version: 1.1.2
pyglet.__file__: /usr/lib/pymodules/python2.7/pyglet/__init__.pyc
pyglet.options['debug_trace_depth'] = 1
pyglet.options['font'] = ('gdiplus', 'win32')
pyglet.options['xsync'] = True
pyglet.options['debug_trace_flush'] = True
pyglet.options['debug_win32'] = False
pyglet.options['debug_gl_trace'] = False
pyglet.options['debug_x11'] = False
pyglet.options['shadow_window'] = True
pyglet.options['debug_font'] = False
pyglet.options['debug_media'] = False
pyglet.options['debug_trace'] = False
pyglet.options['debug_lib'] = False
pyglet.options['graphics_vbo'] = True
pyglet.options['vsync'] = None
pyglet.options['debug_trace_args'] = False
pyglet.options['debug_gl'] = True
pyglet.options['debug_graphics_batch'] = False
pyglet.options['audio'] = ('directsound', 'openal', 'alsa', 'silent')
pyglet.options['debug_texture'] = False
pyglet.options['debug_gl_trace_args'] = False

pyglet.window
------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/pyglet/info.py", line 173, in _try_dump
    func()
  File "/usr/lib/pymodules/python2.7/pyglet/info.py", line 77, in dump_window
    import pyglet.window
  File "/usr/lib/pymodules/python2.7/pyglet/window/__init__.py", line 1682, in <module>
    gl._create_shadow_window()
  File "/usr/lib/pymodules/python2.7/pyglet/gl/__init__.py", line 491, in _create_shadow_window
    _shadow_window = Window(width=1, height=1, visible=False)
  File "/usr/lib/pymodules/python2.7/pyglet/window/xlib/__init__.py", line 474, in __init__
    super(XlibWindow, self).__init__(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/pyglet/window/__init__.py", line 641, in __init__
    raise NoSuchConfigException('No standard config is available.')
NoSuchConfigException: No standard config is available.

pyglet.gl.gl_info
------------------------------------------------------------------------------
/usr/lib/pymodules/python2.7/pyglet/gl/gl_info.py:134: UserWarning: No GL context created yet.
  warnings.warn('No GL context created yet.')
gl_info.get_version(): 0.0.0
/usr/lib/pymodules/python2.7/pyglet/gl/gl_info.py:175: UserWarning: No GL context created yet.
  warnings.warn('No GL context created yet.')
gl_info.get_vendor():
/usr/lib/pymodules/python2.7/pyglet/gl/gl_info.py:166: UserWarning: No GL context created yet.
  warnings.warn('No GL context created yet.')
gl_info.get_renderer():
gl_info.get_extensions():
/usr/lib/pymodules/python2.7/pyglet/gl/gl_info.py:124: UserWarning: No GL context created yet.
  warnings.warn('No GL context created yet.')

pyglet.gl.glu_info
------------------------------------------------------------------------------
/usr/lib/pymodules/python2.7/pyglet/gl/glu_info.py:124: UserWarning: No GL context created yet.
  warnings.warn('No GL context created yet.')
glu_info.get_version(): 0.0.0
glu_info.get_extensions():
/usr/lib/pymodules/python2.7/pyglet/gl/glu_info.py:149: UserWarning: No GL context created yet.
  warnings.warn('No GL context created yet.')

pyglet.gl.glx_info
------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/pyglet/info.py", line 173, in _try_dump
    func()
  File "/usr/lib/pymodules/python2.7/pyglet/info.py", line 121, in dump_glx
    window = pyglet.window.Window(visible=False)
  File "/usr/lib/pymodules/python2.7/pyglet/window/xlib/__init__.py", line 474, in __init__
    super(XlibWindow, self).__init__(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/pyglet/window/__init__.py", line 641, in __init__
    raise NoSuchConfigException('No standard config is available.')
NoSuchConfigException: No standard config is available.

pyglet.media
------------------------------------------------------------------------------
driver: pyglet.media.drivers.openal

pyglet.media.avbin
------------------------------------------------------------------------------
Library: <CDLL 'libavbin.so', handle 147c460 at 1407e90>
AVbin version: 7
FFmpeg revision: 15943

pyglet.media.drivers.openal
------------------------------------------------------------------------------
Library: <CDLL 'libopenal.so.1', handle 1364eb0 at 1327150>
Version: (1, 1)
Extensions:
   ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: python-pyglet 1.1.2.dfsg-2
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun May 22 15:10:22 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: pyglet
UpgradeStatus: Upgraded to natty on 2011-05-01 (20 days ago)

Revision history for this message
eldad (eldad-a) wrote :
Revision history for this message
eldad (eldad-a) wrote :

problem seems to be resolved when upgrading to:

python-pyglet_1.1.4.dfsg-2_all.deb

which can be found in
http://pkgs.org/debian-wheezy/debian-main-i386/python-pyglet_1.1.4.dfsg-2_all.deb.html

Revision history for this message
eldad (eldad-a) wrote :
Download full text (10.9 KiB)

output of "python -m pyglet.info" after the proposed upgrade:
Python
------------------------------------------------------------------------------
sys.version: 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2]
sys.platform: linux2
os.getcwd(): /home/eldada

pyglet
------------------------------------------------------------------------------
pyglet.version: 1.1.4
pyglet.__file__: /usr/lib/pymodules/python2.7/pyglet/__init__.pyc
pyglet.options['debug_trace_depth'] = 1
pyglet.options['font'] = ('gdiplus', 'win32')
pyglet.options['xsync'] = True
pyglet.options['debug_trace_flush'] = True
pyglet.options['debug_win32'] = False
pyglet.options['debug_gl_trace'] = False
pyglet.options['debug_x11'] = False
pyglet.options['shadow_window'] = True
pyglet.options['debug_font'] = False
pyglet.options['debug_media'] = False
pyglet.options['debug_trace'] = False
pyglet.options['debug_lib'] = False
pyglet.options['graphics_vbo'] = True
pyglet.options['vsync'] = None
pyglet.options['debug_trace_args'] = False
pyglet.options['debug_gl'] = True
pyglet.options['debug_graphics_batch'] = False
pyglet.options['audio'] = ('directsound', 'openal', 'alsa', 'silent')
pyglet.options['debug_texture'] = False
pyglet.options['debug_gl_trace_args'] = False

pyglet.window
------------------------------------------------------------------------------
platform: <pyglet.window.xlib.XlibPlatform object at 0x1de9610>
display: <pyglet.window.xlib.XlibDisplayDevice object at 0x203d550>
screens[0]: XlibScreen(screen=0, x=0, y=0, width=1280, height=1024, xinerama=1)
config['double_buffer'] = 1
config['stereo'] = 0
config['buffer_size'] = 32
config['aux_buffers'] = 4
config['sample_buffers'] = 0
config['samples'] = 0
config['red_size'] = 8
config['green_size'] = 8
config['blue_size'] = 8
config['alpha_size'] = 0
config['depth_size'] = 24
config['stencil_size'] = 0
config['accum_red_size'] = 16
config['accum_green_size'] = 16
config['accum_blue_size'] = 16
config['accum_alpha_size'] = 16
context: XlibGLContext()

pyglet.gl.gl_info
------------------------------------------------------------------------------
gl_info.get_version(): 3.3.0 NVIDIA 270.41.06
gl_info.get_vendor(): NVIDIA Corporation
gl_info.get_renderer(): GeForce 9500 GT/PCI/SSE2
gl_info.get_extensions():
   GL_ARB_ES2_compatibility
   GL_ARB_blend_func_extended
   GL_ARB_color_buffer_float
   GL_ARB_compatibility
   GL_ARB_copy_buffer
   GL_ARB_depth_buffer_float
   GL_ARB_depth_clamp
   GL_ARB_depth_texture
   GL_ARB_draw_buffers
   GL_ARB_draw_elements_base_vertex
   GL_ARB_draw_instanced
   GL_ARB_explicit_attrib_location
   GL_ARB_fragment_coord_conventions
   GL_ARB_fragment_program
   GL_ARB_fragment_program_shadow
   GL_ARB_fragment_shader
   GL_ARB_framebuffer_object
   GL_ARB_framebuffer_sRGB
   GL_ARB_geometry_shader4
   GL_ARB_get_program_binary
   GL_ARB_half_float_pixel
   GL_ARB_half_float_vertex
   GL_ARB_imaging
   GL_ARB_instanced_arrays
   GL_ARB_map_buffer_range
   GL_ARB_multisample
   GL_ARB_multitexture
   GL_ARB_occlusion_query
   GL_ARB_occlusion_query2
   GL_ARB_pixel_buffer_object
   GL_ARB_point_parameters
   GL_ARB_point_sprite
   GL_ARB_provoking_vertex
   GL_ARB_robustness
   GL_ARB_samp...

Revision history for this message
eldad (eldad-a) wrote :
Revision history for this message
Nuno Sucena Almeida (slug-debian) wrote :

Had the same issue, with ubuntu natty 11.04. Installed the aforementioned debian package and the hello_world example works, along with some other applications that use pyglet.

Changed in pyglet (Ubuntu):
status: New → Confirmed
Revision history for this message
Liam Parker (liam-eliam) wrote :

Hi,

Just a small bump to say, I had exactly the same issue. I've installed the deb listed above by eldad and all is now good.

Cheers,

Liam

Revision history for this message
Allison Randal (allison) wrote :

python-pyglet_1.1.4.dfsg-2 shipped in Oneiric, this is now fixed. If you need the newer version of pyglet in older releases, please request a backport.

Changed in pyglet (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Dan Kegel (dank) wrote :

Not fixed here on a fully updated 12.04:

python -m pyglet.info
outputs
...
pyglet.window
------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/dank/Downloads/brainworkshop/pyglet/info.py", line 173, in _try_dump
    func()
  File "/home/dank/Downloads/brainworkshop/pyglet/info.py", line 77, in dump_window
    import pyglet.window
  File "pyglet/window/__init__.py", line 1684, in <module>
    gl._create_shadow_window()
  File "pyglet/gl/__init__.py", line 494, in _create_shadow_window
    _shadow_window = Window(width=1, height=1, visible=False)
  File "pyglet/window/xlib/__init__.py", line 474, in __init__
    super(XlibWindow, self).__init__(*args, **kwargs)
  File "pyglet/window/__init__.py", line 641, in __init__
    raise NoSuchConfigException('No standard config is available.')
NoSuchConfigException: No standard config is available.
...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.