x64 vista pyglet.gl.lib.GLException: None

108 views
Skip to first unread message

Dave Horner

unread,
Sep 7, 2009, 5:16:58 PM9/7/09
to pyglet-users
Hello there,

I actually first posted this question cocos2d mailing list, but I now
realize this more looks like a pyglet issue...

I was going through the cocos2d samples today and I am getting the
following
in tetrico.
The tetrico game starts fine, options, and score work as they should.
(though I do not hear any sounds) When I select 'New Game' it gives
me this:

C:\working\cocos.samples.trunk\tetrico>python tetrico.py
Traceback (most recent call last):
File "tetrico.py", line 256, in <module>
director.run( scene )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\director.py", line 287, in run
event_loop.run()
File "build\bdist.win32\egg\pyglet\app\win32.py", line 63, in run
File "build\bdist.win32\egg\pyglet\app\win32.py", line 84, in
_timer_func
File "build\bdist.win32\egg\pyglet\app\__init__.py", line 187, in
idle
File "build\bdist.win32\egg\pyglet\clock.py", line 698, in tick
File "build\bdist.win32\egg\pyglet\clock.py", line 295, in tick
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\cocosnode.py", line 688, in _step
action.step(dt)
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 101, in
step
self.update( min(1, self._elapsed/self.duration ) )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 337, in
update
self.one.start()
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\basegrid_actions.py", line 123,
in start
self.target.grid.init( self.grid )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\grid.py", line 81, in init
self.grabber.grab(self.texture)
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\framegrabber.py", line 132, in grab
self.fbuf.texture2d (texture)
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\gl_framebuffer_object.py", line 70, in
texture2d
texture.level)
File "build\bdist.win32\egg\pyglet\gl\lib_wgl.py", line 94, in
__call__
File "build\bdist.win32\egg\pyglet\gl\lib.py", line 105, in errcheck
pyglet.gl.lib.GLException: None

I'm not sure what to think of this as the GLException doesn't indicate
anything.

I've also seen problems in the demo_grid_effects.py....
C:\working\cocos.samples.trunk>python demo_grid_effects.py
Traceback (most recent call last):
File "demo_grid_effects.py", line 290, in <module>
run(s)
File "demo_grid_effects.py", line 285, in run
director.run( scene )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\director.py", line 287, in run
event_loop.run()
File "build\bdist.win32\egg\pyglet\app\win32.py", line 63, in run
File "build\bdist.win32\egg\pyglet\app\win32.py", line 84, in
_timer_func
File "build\bdist.win32\egg\pyglet\app\__init__.py", line 187, in
idle
File "build\bdist.win32\egg\pyglet\clock.py", line 698, in tick
File "build\bdist.win32\egg\pyglet\clock.py", line 295, in tick
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\cocosnode.py", line 688, in _step
action.step(dt)
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 101, in
step
self.update( min(1, self._elapsed/self.duration ) )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 348, in
update
self.actions[ found ].update( new_t )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\base_actions.py", line 346, in
update
self.actions[ found ].start()
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\actions\basegrid_actions.py", line 123,
in start
self.target.grid.init( self.grid )
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\grid.py", line 81, in init
self.grabber.grab(self.texture)
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\framegrabber.py", line 132, in grab
self.fbuf.texture2d (texture)
File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
\gl_framebuffer_object.py", line 70, in
texture2d
texture.level)
File "build\bdist.win32\egg\pyglet\gl\lib_wgl.py", line 94, in
__call__
File "build\bdist.win32\egg\pyglet\gl\lib.py", line 105, in errcheck
pyglet.gl.lib.GLException: None

I'm running windows vista 64 with python2.6 and using easy_install
cocos2d. I am running a 32 bit python...on my vista64.

C:\working\cocos.samples.trunk>python
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)] on win32

It is strange cause it does work quite well in some ways...for
instance demo_sprites.py works great.

I'm excited to get this resolved so I can start on a game. :)

Thanks so much!
--dave
http://dave.thehorners.com/

Stu.Axon

unread,
Oct 28, 2009, 7:45:27 AM10/28/09
to pyglet-users
Hi,
I had the same problem but couldn't find your report. I've reported
it on the cocos list as it affected 51 of the cocos demos that I
tested.

http://code.google.com/p/los-cocos/issues/detail?id=130&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Component

claudio canepa

unread,
Oct 28, 2009, 8:34:54 AM10/28/09
to pyglet...@googlegroups.com
On Wed, Oct 28, 2009 at 8:45 AM, Stu.Axon <stu....@gmail.com> wrote:

Hi,
 I had the same problem but couldn't find your report.  I've reported
it on the cocos list as it affected 51 of the cocos demos that I
tested.

http://code.google.com/p/los-cocos/issues/detail?id=130&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Component

On Sep 7, 10:16 pm, Dave Horner <daveydave1...@gmail.com> wrote:
> Hello there,
>
> I actually first posted this question cocos2d mailing list, but I now
> realize this more looks like a pyglet issue...
>
> I was going through the cocos2d samples today and I am getting the
> following
> in tetrico.
> The tetrico game starts fine, options, and score work as they should.
> (though I do not hear any sounds)   When I select 'New Game' it gives
> me this:
>
> C:\working\cocos.samples.trunk\tetrico>python tetrico.py
> Traceback (most recent call last):
>  File "tetrico.py", line 256, in <module>
>    director.run( scene )
>  File "C:\Python26\lib\site-packages\cocos2d-0.3.0-py2.6.egg\cocos
> \director.py", line 287, in run
>    event_loop.run()
  
[ snip extralong intermediate traceback ] 
 
>  File "build\bdist.win32\egg\pyglet\app\win32.py", line 63, in run
 >  File "build\bdist.win32\egg\pyglet\gl\lib_wgl.py", line 94, in
> __call__
>  File "build\bdist.win32\egg\pyglet\gl\lib.py", line 105, in errcheck
> pyglet.gl.lib.GLException: None
>
> I'm running windows vista 64 with python2.6 and using easy_install
> cocos2d.  I am running a 32 bit python...on my vista64.
>
> C:\working\cocos.samples.trunk>python
> Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
> (Intel)] on win32
>
> It is strange cause it does work quite well in some ways...for
> instance demo_sprites.py works great.
>
> I'm excited to get this resolved so I can start on a game. :)
>
> Thanks so much!
> --davehttp://dave.thehorners.com/
 
 
not a dev but:

just in case, you can try with the latest pyglet from svn:
 
and, probably, running the pyglet tests an examples could signal with more approximation where the problem lies ( and give shorter tracebacks to investigate )

--
claudio   

Stu.Axon

unread,
Nov 5, 2009, 8:45:58 PM11/5/09
to pyglet-users
OK, ran all the tests (added some issues for them).

Also retested with latest cocos2d from svn and I don't get the error
any more in Vista32, so I'd recommend retesting this in Vista64

On Oct 28, 12:34 pm, claudio canepa <ccanep...@gmail.com> wrote:
> On Wed, Oct 28, 2009 at 8:45 AM, Stu.Axon <stu.a...@gmail.com> wrote:
>
> > Hi,
> >  I had the same problem but couldn't find your report.  I've reported
> > it on the cocos list as it affected 51 of the cocos demos that I
> > tested.
>
> >http://code.google.com/p/los-cocos/issues/detail?id=130&colspec=ID%20...

Daniel Baktiar

unread,
Nov 13, 2009, 4:48:38 AM11/13/09
to pyglet...@googlegroups.com
hi stu, 

just wondering whether you are using intel 943, or 965, chipset display adapter family?
these chipsets has been known to have compatibility problems on its opengl implementation, that has not been fixed in pyglet for quite long. 

2009/11/6 Stu.Axon <stu....@gmail.com>



--
-o--o---( ^  ^ )---o--o-
Daniel Baktiar (http://dbaktiar.wordpress.com)

Reply all
Reply to author
Forward
0 new messages