On Sun, Sep 6, 2009 at 5:14 PM, Dave Horner<[email protected]> wrote: > > Hello there, > > Great work on cocos2d and cocos2d for the iphone! > > I was going through the 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. > > Thanks so much! > --dave > http://dave.thehorners.com/ > > >
If you are running vista64 this doesn't make sense: File "build\bdist.win32\egg\pyglet\app\win32.py" pyglet is a cocos' dependecy. I don't know if there is a 32bits version. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
