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/