<div dir="ltr">1. The rpc_pb2.py is the same as the standard package as found here?<div><br><div><a href="https://pypi.python.org/pypi/protobuf.socketrpc/1.3.2">https://pypi.python.org/pypi/protobuf.socketrpc/1.3.2</a><br>
</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jan 5, 2014 at 9:22 AM, Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 01/05/2014 12:49 AM, Neal Becker wrote:<br>
> So I wanted to try out rpc test.<br>
><br>
> I'm guessing that:<br>
> In test.py, the rpc_pb2 is really:<br>
><br>
> from protobuf.socketrpc import rpc_pb2 as rpc<br>
<br>
</div>The rpc_pb2 in this test is the rpc_pb2.py compiled like this<br>
<br>
protoc --proto_path=. --python_out=. rpc.proto<br>
<div class="im"><br>
> I have protobuf:<br>
><br>
> Metadata-Version: 1.1<br>
> Name: protobuf.socketrpc<br>
> Version: 1.3.2<br>
> Summary: a Python implementation of protobuf RPC over sockets<br>
> Home-page: <a href="http://code.google.com/p/protobuf-socket-rpc/" target="_blank">http://code.google.com/p/protobuf-socket-rpc/</a><br>
> Author: Shardul Deo<br>
</div>> Author-email: <a href="mailto:shardul.deo@gmail.com">shardul.deo@gmail.com</a> <mailto:<a href="mailto:shardul.deo@gmail.com">shardul.deo@gmail.com</a>><br>
<div class="im">><br>
> I started criu service.<br>
> I found it's socket, as:<br>
> /run/criu_service.socket<br>
><br>
> Then changing in test.py:<br>
><br>
> s.connect('/run/criu_service.socket')<br>
><br>
> I got as far as:<br>
> <string> in <module>()<br>
><br>
><br>
> # Recv response<br>
</div>> resp= rpc.criu_resp()<br>
<div class="im">><br>
> AttributeError: 'module' object has no attribute 'criu_req'<br>
><br>
> Any ideas?<br>
<br>
</div>But I don't see that you've sent the request.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> On Sat, Jan 4, 2014 at 2:53 PM, Pavel Emelyanov <<a href="mailto:xemul@parallels.com">xemul@parallels.com</a> <mailto:<a href="mailto:xemul@parallels.com">xemul@parallels.com</a>>> wrote:<br>
><br>
> On 01/04/2014 11:42 PM, Neal Becker wrote:<br>
> > I didn't see it. I just thought the patch was ignoring some error, and was asking if that was OK.<br>
><br>
> Ah, I see. No, it just checks that mounts were collected and emits an error message<br>
> otherwise.<br>
><br>
> > Oh, you can use my name.<br>
><br>
> Thanks! :)<br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div><br></div>