I had/have the exact same issue, just on OSX. 

The problem seems to be that the socket gets disconnected in the client code in 
4 places in rpc.py.  Commenting those disconnect lines allows the OSX client to 
use netrpc. 
Now, I have no clue if socket behaviour on osx is different from linux/win32. 
The clients on linux and win32 work just fine with netrpc here.

I'm using the 4.2.3.3 client source, here are the lines changed in rpc.py:

$ grep -n 'sock.disconnect' ./bin/rpc.py
127:            #self._sock.disconnect()
224:                            #_sock.disconnect()
260:                            #sock.disconnect()
275:                    #sock.disconnect()

This should probably not be viewed as a solution to the problem (that is, just 
not disconnecting the socket). It's a start though  :D




-------------------- m2f --------------------

--
http://www.openerp.com/forum/viewtopic.php?p=25184#25184

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to