gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] multitaskhttpd experiment


From: Sebastian Hilbert
Subject: Re: [Gnumed-devel] multitaskhttpd experiment
Date: Wed, 14 Jul 2010 08:23:39 +0200
User-agent: KMail/1.13.3 (Linux/2.6.33-6-desktop; KDE/4.4.5; i686; ; )

Am Mittwoch 14 Juli 2010, 03:35:58 schrieb lkcl:
> we have a winner!
> 
> repro instructions:
> 
> * wget http://lkcl.net/lovely-jsonrpc.tgz
> * tar ....
> * cd lovely-jsonrpc
> * python setup.py install
> 
> * git clone git://pyjs.org/git/multitaskhttpd.git
> * cd multitaskhttpd
> * python proxyapp.py &
> 
> * wget http://lkcl.net/gnumed/0003-hooray-works.patch
> * cd gnumed git tree
> * git-am apply 0003....
> * cd gnumed/client
> * ./gm-from-cvs.sh --ui=pxweb &
> 
> * cd ProxiedWeb
> * python testjsonrpc.py
> 
> watch the two simultaneous connections _not_ interfere with each other....
> aw DRAT, i just added a third proxy connection, tried to get it to fail,
> and it doesn't!
> 

Installed everything. Started it. Output below. Please advise.

python testjsonrpc.py 

E
======================================================================
ERROR: test_login (__main__.TestJsonServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "testjsonrpc.py", line 20, in test_login
    reply = s.login("any-doc", "any-doc")
  File "/usr/local/lib/python2.6/site-packages/lovely/jsonrpc/dispatcher.py", 
line 252, in __call__
    return self.call(self.json_impl.dumps(request))
  File "/usr/local/lib/python2.6/site-packages/lovely/jsonrpc/proxy.py", line 
131, in _request
    status, body = self._transport.request(payload)
  File "/usr/local/lib/python2.6/site-packages/lovely/jsonrpc/proxy.py", line 
111, in request
    body=request_body, headers=headers)
  File "/usr/lib/python2.6/httplib.py", line 910, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.6/httplib.py", line 947, in _send_request
    self.endheaders()
  File "/usr/lib/python2.6/httplib.py", line 904, in endheaders
    self._send_output()
  File "/usr/lib/python2.6/httplib.py", line 776, in _send_output
    self.send(msg)
  File "/usr/lib/python2.6/httplib.py", line 735, in send
    self.connect()
  File "/usr/lib/python2.6/httplib.py", line 716, in connect
    self.timeout)
  File "/usr/lib/python2.6/socket.py", line 514, in create_connection
    raise error, msg
error: [Errno 111] Connection refused

----------------------------------------------------------------------
Ran 1 test in 0.027s

FAILED (errors=1)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]