[Twisted-web] Twisted network package for python implementation
problem with GUI
Gregory Pereira
gpereira at grintek.com
Mon Jun 27 05:25:36 MDT 2005
Hi
We've got the client and server running with twisted, and it works well
only for
one problem. When exiting the game, it seems like the connection is
not closing properly.
This is the error that it gives.
sys.exit()
exceptions.SystemExit:
Unhandled error in Deferred:
Traceback from remote host -- Traceback unavailable
We have basically two main loops namely, reactor.run() used to get the
the connection and listening on port
8000, spinner.run() used to watch the events.
We used the reactor.iterate() in the spinner.run and it worked well.
All the networking works well but we can't close the connection on
exit.
We tried to use reactor.stop() but it doesn't seem to reach it.
Greg
More information about the Twisted-web
mailing list