Experience with the CTC app?

David LeBlanc whisper at oz.net
Tue Jan 28 18:10:05 EST 2003


Been trying out CTC ("Cut The Cr*p",
http://www.softlab.ntua.gr/~ckotso/CTC/), an HTML ad stripping proxy. When
it works, it seems to work great. It does seem to generate a lot of errors
out of asyncore.py though; here's one of it's favorites:
error: uncaptured python exception, closing channel
<server_sock.server_sock connected 66.35.250.203:80 at 0xec3178>
(socket.error:(10035, 'The socket operation could not complete without
blocking')
[J:\Python22\lib\asyncore.py|poll|95]
[J:\Python22\lib\asyncore.py|handle_read_event|392]
[K:\CTC-2.0\server_sock.py|handle_read|69]
[J:\Python22\lib\asyncore.py|recv|358])

it's other big fling (they happen together):
error: uncaptured python exception, closing channel
<client_sock.client_sock connected 127.0.0.1:1702 at 0xeb8160>
(socket.error:(10054, 'Connection reset by peer')
[J:\Python22\lib\asynchat.py|initiate_send|213]
[J:\Python22\lib\asyncore.py|send|339])
error: uncaptured python exception, closing channel
<server_sock.server_sock connected 66.35.250.203:80 at 0x81fd90>
(socket.error:(9, 'Bad file descriptor')
[J:\Python22\lib\asyncore.py|poll|95]
[J:\Python22\lib\asyncore.py|handle_read_event|392]
[K:\CTC-2.0\server_sock.py|handle_read|79]
[K:\CTC-2.0\client_sock.py|push|143]
[<string>|fileno|1]
[J:\Python22\lib\socket.py|__getattr__|134])

Anyone have any ideas, or alternatively, can anyone suggest a better tool
for html ad stripping?

TIA,

David LeBlanc
Seattle, WA USA






More information about the Python-list mailing list