On Mon, 2 Jan 2012 20:04:55 +0000, lkcl luke wrote: > On Mon, Jan 2, 2012 at 6:51 PM, Bruno Gruel <[email protected]> > wrote: >> On Mon, 2 Jan 2012 18:24:51 +0000, lkcl luke wrote: >>> ok, that's done - do a git pull then install as usual (python >>> run_bootstrap_first_then_setup.py install) >>> >>> i haven't been able to test it because it hangs, here - even that >>> quick example on http://sheddingbikes.com/posts/1279007133.html >>> fails >>> miserably to do anything at all. >>> >>> when running psof i see lots of unix sockets but absolutely no TCP >>> socket. so it's not even getting that far. >>> >>> .... but, that's _your_ problem to solve :) the code now in >>> pyjamas >>> has a 95% chance of actually working - it's not like it's a lot of >>> lines of code or anything. >>> >>> you want to run the example.py server and then run testjsonrpc.py >>> against it. >>> >>> l. >> Hoo.. so quick.. > > pffh. it's hardly any code, come on! > >> i try to understant how it work, try to understand your >> modifcations >> and try it as soon as possible.. > > let us know how it goes. i'm not gonna dive into mongrel2 and work > out what the hell's wrong with that code on my system :) > > l. Re, Cool it works.
After playing arround your mongrel2 scripts and read what you(and others) tell me in previous mesages. I finally understood the request processing on both side. I made the change for one application and it work perfectly .. Add to that the power of mongrel2 is simply fabulous. Maybe there is a mistake in the testjsonrpc.py script line 7 : s = jsonrpclib.ServerProxy may be : s = jsonrpclib.jsonrpc.ServerProxy (for me) In the example.py the echo function take too arguments but the testjsonrpc.py script send only one argument. Again thank you for your help. Bruno. -- Sallanches Data Network (SDN) Pour l'Internet des Internautes

