Re: [Twisted-Python] getPage generates a traceback in abstract.py

2010-10-02 Thread Jason J. W. Williams
Wow I feel stupid. That would be me in the callback that gets fired when getPage completes. Originally I had written this to use web.client.Agent and that code was helping me to inspect the response for debugging. Thank you very much. -J On Sat, Oct 2, 2010 at 11:26 AM, wrote: > On 05:15 pm, ja

Re: [Twisted-Python] getPage generates a traceback in abstract.py

2010-10-02 Thread exarkun
On 05:15 pm, jasonjwwilli...@gmail.com wrote: >Hi Ivan, > >This looks really strange. Could you add a print statement before >>line 112 of abstract.py, to see what's in self._tempDataBuffer? > >The conents of self._tempDataBuffer is indeed a list: > >['HTTP/1.1 200 OK\r\n', 'Transfer-Encoding: chu

Re: [Twisted-Python] getPage generates a traceback in abstract.py

2010-10-02 Thread Jason J. W. Williams
Hi Ivan, This looks really strange. Could you add a print statement before > line 112 of abstract.py, to see what's in self._tempDataBuffer? > The conents of self._tempDataBuffer is indeed a list: ['HTTP/1.1 200 OK\r\n', 'Transfer-Encoding: chunked\r\n', '\r\n', '47\r\n', ['__add__', '__class_

Re: [Twisted-Python] getPage generates a traceback in abstract.py

2010-10-01 Thread Ivan Kozik
On Sat, Oct 2, 2010 at 01:01, Jason J. W. Williams wrote: > I'm really pulling my hair out here. The code in question uses getPage: > http://gist.github.com/607124 > If I remove the postdata argument to getPage no problem (except the postdata > is required by server I'm calling). However, no matte

[Twisted-Python] getPage generates a traceback in abstract.py

2010-10-01 Thread Jason J. W. Williams
I'm really pulling my hair out here. The code in question uses getPage: http://gist.github.com/607124 If I remove the postdata argument to getPage no problem (except the postdata is required by server I'm calling). However, no matter what I put in postdata, I get this: http://gist.github.com/607