Rendering's fine, but there's another issue. I ran a_test.py, clicked
the Document item, clicked in the new dialog box, and it crashed.

Traceback (most recent call last):
  File "a_test.py", line 310, in <module>
    pyglet.app.run()
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/pyglet/app/__init__.py", line 264, in run
    EventLoop().run()
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/pyglet/app/carbon.py", line 84, in run
    self._timer_proc(timer, None, False)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/pyglet/app/carbon.py", line 133, in
_timer_proc
    sleep_time = self.idle()
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/pyglet/app/__init__.py", line 187, in idle
    dt = clock.tick(True)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/pyglet/clock.py", line 698, in tick
    return _default.tick(poll)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/pyglet/clock.py", line 295, in tick
    item.func(delta_t, *item.args, **item.kwargs)
  File "a_test.py", line 285, in update
    window.dispatch_event('on_update', dt)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/pyglet/window/__init__.py", line 1217, in
dispatch_event
    EventDispatcher.dispatch_event(self, *args)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/pyglet/event.py", line 343, in dispatch_event
    self._raise_dispatch_exception(event_type, args, handler)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/pyglet/event.py", line 340, in dispatch_event
    if handler(*args):
  File "/Users/stephen/Desktop/Downloads/kytten-5.6/kytten/dialog.py",
line 547, in on_update
    self.do_layout()
  File "/Users/stephen/Desktop/Downloads/kytten-5.6/kytten/dialog.py",
line 431, in do_layout
    self.layout(x, y)
  File "/Users/stephen/Desktop/Downloads/kytten-5.6/kytten/frame.py",
line 68, in layout
    self.content.layout(x, y)
  File "/Users/stephen/Desktop/Downloads/kytten-5.6/kytten/frame.py",
line 143, in layout
    self.frame.update(x, y, self.width, self.height)
  File "/Users/stephen/Desktop/Downloads/kytten-5.6/kytten/theme.py",
line 168, in update
    self.vertex_list.vertices = self._get_vertices()
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/pyglet/graphics/vertexdomain.py", line 567, in
_set_vertices
    self._get_vertices()[:] = data
TypeError: int expected instead of float

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" 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/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to