Re: [Twisted-Python] Unhandled error in Deferred with twisted-8.2.0, but not with twisted-2.1.0

2009-06-26 Thread Rutt, Benjamin
Thank you for digging this up - I filed a bug. http://twistedmatrix.com/trac/ticket/3892 -Original Message- From: twisted-python-boun...@twistedmatrix.com [mailto:twisted-python-boun...@twistedmatrix.com] On Behalf Of gl...@divmod.com Sent: Friday, June 26, 2009 1:49 PM To: Twisted gene

[Twisted-Python] Unhandled error in Deferred with twisted-8.2.0, but not with twisted-2.1.0

2009-06-26 Thread Rutt, Benjamin
Am currently trying to upgrade to twisted-8.2.0. For some reason, twisted-8.2.0 thinks my deferred below was gc'd with an unhandled error, and tells me about it upon reactor exit. With python-2.4.2/twisted-2.1.0, no issues. With python-2.6.1/twisted-8.2.0, I see these issues. Any ideas why? Th

Re: [Twisted-Python] Dropin.cache errors after clean installof twisted-8.2.0

2009-06-18 Thread Rutt, Benjamin
I installed twisted on linux (RHEL4), solx86 and solsparc using 'python setup.py install --home=...'. I looked at ticket 2410. I see that you added a thorough summary of the problem recently on that ticket - thank you. While I would like to help if I could, I'm afraid I don't know enough about

Re: [Twisted-Python] Dropin.cache errors after clean install of twisted-8.2.0

2009-06-18 Thread Rutt, Benjamin
Yes, I installed originally with distutils, i.e. 'python setup.py install --home=...' -Original Message- From: twisted-python-boun...@twistedmatrix.com [mailto:twisted-python-boun...@twistedmatrix.com] On Behalf Of Jean-Paul Calderone Sent: Wednesday, June 17, 2009 8:57 PM To: Twisted g

Re: [Twisted-Python] Dropin.cache errors after clean install oftwisted-8.2.0

2009-06-18 Thread Rutt, Benjamin
I don't have root, so 'sudo twistd' won't help. And as I said, it's a read-only filesystem I was testing on; root wouldn't help anyway. But I could redo my twisted install, and after typing 'python setup.py install --home=...' try just running twistd one time as you suggest, or do python -c 'from

[Twisted-Python] Dropin.cache errors after clean install of twisted-8.2.0

2009-06-17 Thread Rutt, Benjamin
I recently installed python-2.6.1 and then twisted-8.2.0 (outside of the python tree). One of my users is complaining that when he uses trial to test some twisted programs, although his test passes, he has to stare at a stack trace like this which mentions dropin.cache.new failing to be written:

[Twisted-Python] Writing a shutdown command that sends an ACK back

2009-04-15 Thread Rutt, Benjamin
Is there a good way, in, say, a LineReceiver based server, to implement a bit of code in lineReceived() that, if you receive a line like, let's say, 'shutdown' from a client, you can call: 1) self.transport.write('goodbye\n') # send a goodbye message to the client And then call 2) self.transpor