That looks like great stuff John... Unfortunately here I tried with twisted 8.0.1 and pyglet rev 2111 on kubuntu, it works for a while and then I get this error message:
Unhandled error in Deferred: Traceback (most recent call last): Failure: twisted.internet.error.ConnectionDone: Connection was closed cleanly. Not very informative huh? no clue what caused the error in Deferred, maybe its because your code was made to work with previous twisted and pyglet code. I am also using pyglet with twisted (with amp protocol) based on another solution, just using my own 'pyglet 1.0 style' pyglet loop and using task.coiterate from twisted... The performance is not that great. Seems like your solution would be better since it uses pyglet's proper '1.1 style' loop... It would be great if you or someone else can make this work on Windows also. I don't know how to do that. Thanks Thomas On 10 jun, 10:45, "John Lehmann" <[EMAIL PROTECTED]> wrote: > I did a sample reactor for pyglet some time back - I only have osx and > ubuntu available for testing so there is no windows support. > > http://groups.google.com/group/pyglet-users/web/twistedpyglet.tgz > > This shows a simple example of using an amp based protocol. > > John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
