On Wed, Dec 12, 2012 at 3:33 AM, EvilGoatee <[email protected]> wrote:

> Thanks for the response. I'm on linuxmint 14 32bits
>
> Here's the list of what happens:
>
> Traceback (most recent call last):
>   File "test.py", line 1, in <module>
>     import cocos
>   File 
> "/usr/local/lib/python2.7/dist-packages/cocos2d-0.5.5-py2.7.egg/cocos/__init__.py",
>  line 105, in <module>
>     import_all()
>   File 
> "/usr/local/lib/python2.7/dist-packages/cocos2d-0.5.5-py2.7.egg/cocos/__init__.py",
>  line 89, in import_all
>     import actions
>   File 
> "/usr/local/lib/python2.7/dist-packages/cocos2d-0.5.5-py2.7.egg/cocos/actions/__init__.py",
>  line 37, in <module>
>     from basegrid_actions import *
>   File 
> "/usr/local/lib/python2.7/dist-packages/cocos2d-0.5.5-py2.7.egg/cocos/actions/basegrid_actions.py",
>  line 62, in <module>
>     from pyglet.gl import *
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyglet-1.2alpha1-py2.7.egg/pyglet/gl/__init__.py",
>  line 235, in <module>
>     import pyglet.window
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyglet-1.2alpha1-py2.7.egg/pyglet/window/__init__.py",
>  line 1811, in <module>
>     gl._create_shadow_window()
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyglet-1.2alpha1-py2.7.egg/pyglet/gl/__init__.py",
>  line 205, in _create_shadow_window
>     _shadow_window = Window(width=1, height=1, visible=False)
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyglet-1.2alpha1-py2.7.egg/pyglet/window/xlib/__init__.py",
>  line 160, in __init__
>     super(XlibWindow, self).__init__(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyglet-1.2alpha1-py2.7.egg/pyglet/window/__init__.py",
>  line 516, in __init__
>     context = config.create_context(gl.current_context)
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyglet-1.2alpha1-py2.7.egg/pyglet/gl/xlib.py",
>  line 186, in create_context
>     return XlibContextARB(self, share)
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyglet-1.2alpha1-py2.7.egg/pyglet/gl/xlib.py",
>  line 300, in __init__
>     super(XlibContext13, self).__init__(config, share)
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyglet-1.2alpha1-py2.7.egg/pyglet/gl/xlib.py",
>  line 197, in __init__
>     glx_context_id = self.glx_context.contents._opaque_structValueError: NULL 
> pointer access
>
> ------------------(program exited with code: 1)Press return to continue
>
>
>

Okay, fails very early in the pyglet initialization, when trying to build a
shared context.
Theres a problem in the interaction between your openGL drivers, the X11
subsystem and pyglet.
I suggest you run the pyglet example 'noisy.py', I'm sure it will fail with
similar error.
Post the traceback (all the error message from noisy.py run) and the
additional info about your system to the pyglet list : theres people there
familiarized with low level linux issues (I'm on windows, sorry)

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en.

Reply via email to