hang observed using Pyro4

Arend van Spriel <[email protected]> Fri, 22 May 2015 19:57:39 +0200
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
I am thinking about using Pyro4 in a testing framework with a controller 
accessing objects on DUT (device under test). The package for the 
objects on the DUT are on GitHub [1]. I have a pyro-experiment branch there.

As experiment I create a server object (in lib/server.py) which exposes 
a create_instance() method through which the client can request the 
creation of a particular class on the server, which is registered with 
the Daemon and returned. The requested class instance may create other 
custom objects which are also registered with the Daemon. The result is 
an object hierarchy with Proxy objects. So far so good. In my experiment 
the client (in examples/example06.py) accesses those Proxy objects to 
show data in terminal. However, it hangs after a couple of Proxy calls 
on socket recv. I also tried with USE_MSG_WAITALL set to False, but the 
result is the same. The experiment is done with client and server on the 
same machine. Any suggestions about what might be going on or how to 
debug this would be appreciated.

Regards,
Arend

[1] https://github.com/arend/py80211

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y