On Sat, 26 Oct 2002, Ian Clarke wrote:
> Ok, I get the following when I try to listen to a stream:
>
> ----------------------------------------
> Exception happened during processing of request from ('127.0.0.1',
> 32822)
> Traceback (most recent call last):
> File
> "/usr/src/build/143041-i386/install/usr/lib/python2.2/SocketServer.py",
> line 221, in handle_request
> self.process_request(request, client_address)
> File
> "/usr/src/build/143041-i386/install/usr/lib/python2.2/SocketServer.py",
> line 240, in process_request
> self.finish_request(request, client_address)
> File
> "/usr/src/build/143041-i386/install/usr/lib/python2.2/SocketServer.py",
> line 253, in finish_request
> self.RequestHandlerClass(request, client_address, self)
> File
> "/usr/src/build/143041-i386/install/usr/lib/python2.2/SocketServer.py",
> line 514, in __init__
> self.handle()
> File
> "/usr/src/build/143041-i386/install/usr/lib/python2.2/BaseHTTPServer.py",
> line 266, in handle
> method()
> File "./streamServer.py", line 14, in do_GET
> doStream(urllib2.unquote(self.path[1:]), htl, self.wfile,
> bufferTime*60)
> File "./retrieveStream.py", line 103, in doStream
> keys=retrieveKeyFancy(uri, htl*retries)
> File "./common.py", line 244, in retrieveKeyFancy
> d=retrieveKey(location, htl)
> File "./common.py", line 280, in retrieveKey
> s.send(dataString)
> AttributeError: 'NoneType' object has no attribute 'send'
> ----------------------------------------
can you please send me the output from above that? the only way I can see
this happening, is if the streamserver failed to connect to the FCP port,
which is currently handled very badly (i.e. it just pretends that it did).
looking at the code now, btw, the fcpHost and fcpPort parameters won't
actully work with streamServer (they will with freenet-encoder, but I'm
not reading globalconfig at all with streamserver) - d'oh, so if your node
isn't on localhost:8481, that'll probably do it. I've fixed that bug here
now.
I'll just go and hide in a corner now for doing something that stupid :).
> Am I the only person helping Fish to test this stuff?
a few of the IIP crowd claimed that it works after I prodded them. I've
put it up on the fishtools page now, so hopefully more people will test
it, since aparently no-one actully reads devl at f.o.
I really do appriciate the help, tho :).
- fish
_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl