Hi,
I am using pyglet from the head on svn, which is not recommended, so
it isn't worth paying too much attention to this bug report. The full
stacktrace I get when doing this from command line is:
On escape:
Traceback (most recent call last):
File
"/Volumes/Data/Users/ronald/Projects/python/wrk/r251/Modules/_ctypes/callbacks.c",
line 206, in 'calling callback function'
File "/Users/johnl/dev/workspace/pyglet/pyglet/window/carbon/__init__.py",
line 647, in _on_key_down
self.dispatch_event('on_key_press', symbol, modifiers)
File "/Users/johnl/dev/workspace/pyglet/pyglet/window/__init__.py",
line 1072, in dispatch_event
EventDispatcher.dispatch_event(self, *args)
File "/Users/johnl/dev/workspace/pyglet/pyglet/event.py", line 349,
in dispatch_event
if handler(*args):
File "/Users/johnl/dev/workspace/cocos2d/cocos/director.py", line
208, in on_key_press
director.pop()
File "/Users/johnl/dev/workspace/cocos2d/cocos/director.py", line 332, in pop
self.dispatch_event("on_pop")
File "/Users/johnl/dev/workspace/pyglet/pyglet/event.py", line 358,
in dispatch_event
if getattr(self, event_type)(*args):
File "/Users/johnl/dev/workspace/cocos2d/cocos/director.py", line
335, in on_pop
self.next_scene = self.scene_stack.pop()
IndexError: pop from empty list
And then on ctrl-c:
^CTraceback (most recent call last):
File
"/Volumes/Data/Users/ronald/Projects/python/wrk/r251/Modules/_ctypes/callbacks.c",
line 206, in 'calling callback function'
File "/Users/johnl/dev/workspace/pyglet/pyglet/app/carbon.py", line
139, in _timer_proc
def _timer_proc(self, timer, data, in_events=True):
KeyboardInterrupt
Finally I force quit form the dock.
(Don't know anything about this Ronald character in my non-existent
Data Volume ;-)
John
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---