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">&lt;<a href="mailto:exarkun@twistedmatrix.com">exarkun@twistedmatrix.com</a>&gt;</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>
&gt;Hi Ivan,<br>
&gt;<br>
&gt;This looks really strange.  Could you add a print statement before<br>
&gt;&gt;line 112 of abstract.py, to see what&#39;s in self._tempDataBuffer?<br>
&gt;<br>
&gt;The conents of self._tempDataBuffer is indeed a list:<br>
&gt;<br>
&gt;[&#39;HTTP/1.1 200 OK\r\n&#39;, &#39;Transfer-Encoding: chunked\r\n&#39;, &#39;\r\n&#39;,<br>
&gt;&#39;47\r\n&#39;,<br>
&gt;[&#39;__add__&#39;, &#39;__class__&#39;, &#39;__contains__&#39;, &#39;__delattr__&#39;, &#39;__doc__&#39;,<br>
&gt;&#39;__eq__&#39;,<br>
&gt;&#39;__format__&#39;, &#39;__ge__&#39;, &#39;__getattribute__&#39;, &#39;__getitem__&#39;,<br>
&gt;&#39;__getnewargs__&#39;,<br>
&gt;&#39;__getslice__&#39;, &#39;__gt__&#39;, &#39;__hash__&#39;, &#39;__init__&#39;, &#39;__le__&#39;, &#39;__len__&#39;,<br>
&gt;&#39;__lt__&#39;, &#39;__mod__&#39;, &#39;__mul__&#39;, &#39;__ne__&#39;, &#39;__new__&#39;, &#39;__reduce__&#39;,<br>
&gt;&#39;__reduce_ex__&#39;, &#39;__repr__&#39;, &#39;__rmod__&#39;, &#39;__rmul__&#39;, &#39;__setattr__&#39;,<br>
&gt;&#39;__sizeof__&#39;, &#39;__str__&#39;, &#39;__subclasshook__&#39;,<br>
&gt;&#39;_formatter_field_name_split&#39;,<br>
&gt;&#39;_formatter_parser&#39;, &#39;capitalize&#39;, &#39;center&#39;, &#39;count&#39;, &#39;decode&#39;,<br>
&gt;&#39;encode&#39;,<br>
&gt;&#39;endswith&#39;, &#39;expandtabs&#39;, &#39;find&#39;, &#39;format&#39;, &#39;index&#39;, &#39;isalnum&#39;,<br>
&gt;&#39;isalpha&#39;,<br>
&gt;&#39;isdigit&#39;, &#39;islower&#39;, &#39;isspace&#39;, &#39;istitle&#39;, &#39;isupper&#39;, &#39;join&#39;, &#39;ljust&#39;,<br>
&gt;&#39;lower&#39;, &#39;lstrip&#39;, &#39;partition&#39;, &#39;replace&#39;, &#39;rfind&#39;, &#39;rindex&#39;, &#39;rjust&#39;,<br>
&gt;&#39;rpartition&#39;, &#39;rsplit&#39;, &#39;rstrip&#39;, &#39;split&#39;, &#39;splitlines&#39;, &#39;startswith&#39;,<br>
&gt;&#39;strip&#39;, &#39;swapcase&#39;, &#39;title&#39;, &#39;translate&#39;, &#39;upper&#39;, &#39;zfill&#39;], &#39;\r\n&#39;,<br>
&gt;&#39;0\r\n\r\n&#39;]<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&#39;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>