Comment 3 for bug 452373

Revision history for this message
Ravi Gadhia (OpenERP) (rga-openerp) wrote :

Hello Eduard,

Thank you for your interest.

We have tried the workaround suggested by you.
when we work through your patch, it gives xmlrpclib.ProtocolError: <ProtocolError for localhost:8069/xmlrpc/object_proxy: 404 Not Found> error.

If I improve it by object(i.e. xmlrpclib.ServerProxy('http://%s:%d/xmlrpc/object' % (host,int(port)))), it works and creates the socket.

But when I try to go for sock.execute, it gives us the error of AccessDenied which is quite obvious.

The code:
f = sock.execute(dbname, 1, 'res.users', 'search', [])

Here, it will definately give you the error of access because the arguments do not match.
Look at the definition :
execute(self, db, uid, passwd, object, method, *args).

However, we will be honored if we get more appropriate information from you and will sort out this issue very soon.

Thank you again.