I was playing around with noisy.py (examples\noisy) to see how many
sprites I could put on the screen. I added a counter (fps), commented
out the audio related code and am using a different image for my
sprite (a larger one - about 375 pixels - and it's animated). After
about a dozen sprites (sometimes more) an error is logged to the
console while the application still runs. I probably did something I
shouldn't have but I don't see any line references to noisy.py.

Any ideas? Is it a bug with pyglet?

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 295, in 'calling callback function'
  File "C:\Python26\Lib\site-packages\pyglet\app\win32.py", line 84,
in _timer_f
unc
    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_n
ext_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'
Press any key to continue . . .

--~--~---------~--~----~------------~-------~--~----~
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