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.<div>
<br></div><div>-J<br><br><div class="gmail_quote">On Sat, Oct 2, 2010 at 11:26 AM, <span dir="ltr"><<a href="mailto:exarkun@twistedmatrix.com">exarkun@twistedmatrix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 05:15 pm, <a href="mailto:jasonjwwilliams@gmail.com">jasonjwwilliams@gmail.com</a> wrote:<br>
>Hi Ivan,<br>
><br>
>This looks really strange. Could you add a print statement before<br>
>>line 112 of abstract.py, to see what's in self._tempDataBuffer?<br>
><br>
>The conents of self._tempDataBuffer is indeed a list:<br>
><br>
>['HTTP/1.1 200 OK\r\n', 'Transfer-Encoding: chunked\r\n', '\r\n',<br>
>'47\r\n',<br>
>['__add__', '__class__', '__contains__', '__delattr__', '__doc__',<br>
>'__eq__',<br>
>'__format__', '__ge__', '__getattribute__', '__getitem__',<br>
>'__getnewargs__',<br>
>'__getslice__', '__gt__', '__hash__', '__init__', '__le__', '__len__',<br>
>'__lt__', '__mod__', '__mul__', '__ne__', '__new__', '__reduce__',<br>
>'__reduce_ex__', '__repr__', '__rmod__', '__rmul__', '__setattr__',<br>
>'__sizeof__', '__str__', '__subclasshook__',<br>
>'_formatter_field_name_split',<br>
>'_formatter_parser', 'capitalize', 'center', 'count', 'decode',<br>
>'encode',<br>
>'endswith', 'expandtabs', 'find', 'format', 'index', 'isalnum',<br>
>'isalpha',<br>
>'isdigit', 'islower', 'isspace', 'istitle', 'isupper', 'join', 'ljust',<br>
>'lower', 'lstrip', 'partition', 'replace', 'rfind', 'rindex', 'rjust',<br>
>'rpartition', 'rsplit', 'rstrip', 'split', 'splitlines', 'startswith',<br>
>'strip', 'swapcase', 'title', 'translate', 'upper', 'zfill'], '\r\n',<br>
>'0\r\n\r\n']<br>
<br>
</div></div>So it appears as if someone is calling request.write(dir(some string)).<br>
If you add a type check to the implementation of write, you'll probably<br>
get a traceback pointing at exactly the offending code (and maybe we<br>
should add that type check to Twisted).<br>
<br>
Jean-Paul<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</div></div></blockquote></div><br></div>