On Mon, 7 Mar 2005 11:22:32 +0000, Paul Moorewrote: > On Sun, 6 Mar 2005 22:31:28 -0500, Graham Fawcett > wrote: > > The warnings are from quixote.server.twisted_server, which is making > > calls to deprecated sections of the Twisted API. As you know, you can > > safely ignore the warnings (or suppress them via the 'warnings' > > module). Someone with some Twisted chops should probably rewrite this > > script at some point to keep in line with the newer Twisted API. > > Thanks. I'm not a Twisted expert, but I'll see if I can follow why the > messages are appearing, now that I know where to start. Sigh. In twisted_server.py, when setting SERVER_PORT in env (create_environment method) you should use self.getHost().host rather than self.getHost()[2]. But that's not enough, because twisted triggers the warning itself, internally, as part of twisted.protocols.http.Request.getClient(). So it looks like the warnings are there to stay. Ho hum, Paul.