That traceback looks like a known bug, http://code.google.com/p/pyglet/issues/detail?id=407 (pyglet issue 407), whose comments say it's fixed in trunk (r2327) but not in the 1.1-maintenance branch (and not in any release). I think that's the pyglet bug most often encountered in the last pyweek.
- Bruce On Sun, Aug 16, 2009 at 6:51 PM, freevryheid <[email protected]> wrote: > > Perhaps this error will explain my problems. It pops up about a second > or two into my animations. > > Traceback (most recent call last): > File "z.py", line 179, in <module> > pyglet.app.run() > File "C:\python26\lib\site-packages\pyglet\app\__init__.py", line > 264, in run > EventLoop().run() > File "C:\python26\lib\site-packages\pyglet\app\win32.py", line 63, > in run > self._timer_func(0, 0, timer, 0) > File "C:\python26\lib\site-packages\pyglet\app\win32.py", line 84, > in _timer_func > sleep_time = self.idle() > File "C:\python26\lib\site-packages\pyglet\app\__init__.py", line > 187, in idle > dt = clock.tick(True) > File "C:\python26\lib\site-packages\pyglet\clock.py", line 698, in > tick > return _default.tick(poll) > File "C:\python26\lib\site-packages\pyglet\clock.py", line 317, in > tick > item.next_ts = self._get_soft_next_ts(ts, item.interval) > File "C:\python26\lib\site-packages\pyglet\clock.py", line 585, in > _get_soft_next_ts > if not taken(next_ts, interval / 4): > File "C:\python26\lib\site-packages\pyglet\clock.py", line 563, in > taken > if abs(item.next_ts - ts) <= e: > TypeError: unsupported operand type(s) for -: 'NoneType' and '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 -~----------~----~----~----~------~----~------~--~---
