Re: [Twisted-Python] t.w.client.Agent exceptions

2014-03-05 Thread Glyph Lefkowitz
On Mar 5, 2014, at 3:01 PM, exar...@twistedmatrix.com wrote: > On 10:08 pm, gl...@twistedmatrix.com wrote: >> On Mar 5, 2014, at 9:23 AM, Phil Mayers wrote: >>> All, >>> >>> I'm having a head-poundingly annoying time getting detailed exception info >>> out of the new Agent stuff. >>> >>> Spec

Re: [Twisted-Python] t.w.client.Agent exceptions

2014-03-05 Thread exarkun
On 10:08 pm, gl...@twistedmatrix.com wrote: On Mar 5, 2014, at 9:23 AM, Phil Mayers wrote: All, I'm having a head-poundingly annoying time getting detailed exception info out of the new Agent stuff. Specifically, I have some bug inside my code somewhere, but I can't get decent tracebacks o

Re: [Twisted-Python] t.w.client.Agent exceptions

2014-03-05 Thread Phil Mayers
On 05/03/2014 22:08, Glyph Lefkowitz wrote: You're right; this is a bug in Agent. And it must be said, really quite an infuriating one ;o) For right now, yes, you're going to have to import some crappy private APIs. Any chance I could convince y

Re: [Twisted-Python] t.w.client.Agent exceptions

2014-03-05 Thread Glyph Lefkowitz
On Mar 5, 2014, at 9:23 AM, Phil Mayers wrote: > All, > > I'm having a head-poundingly annoying time getting detailed exception info > out of the new Agent stuff. > > Specifically, I have some bug inside my code somewhere, but I can't get > decent tracebacks out because _WrapperException is t

[Twisted-Python] t.w.client.Agent exceptions

2014-03-05 Thread Phil Mayers
All, I'm having a head-poundingly annoying time getting detailed exception info out of the new Agent stuff. Specifically, I have some bug inside my code somewhere, but I can't get decent tracebacks out because _WrapperException is the base class for RequestGenerationFailed, but there's no pu

Re: [Twisted-Python] Using DeferredList, on the remote method get parameter of None type?

2014-03-05 Thread exarkun
On 02:35 pm, yangyou...@gmail.com wrote: When developing server-client software, on the client i call the method getTrafficDate, but on the server end, i got nio is None(d2=d.addCallback(lambda object: object.callRemote("getNIOTrafficInfo", node, nio))) ,so, what's the key point? [snip]

[Twisted-Python] Using DeferredList, on the remote method get parameter of None type?

2014-03-05 Thread yangyouxiu
When developing server-client software, on the client i call the method getTrafficDate, but on the server end, i got nio is None(d2=d.addCallback(lambda object: object.callRemote("getNIOTrafficInfo", node, nio))) ,so, what's the key point? Thanks all! --