netrpc Unable to connect onto version 6.2

Bug #1082603 reported by Matteo Boscolo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openerp-client-lib
Invalid
Undecided
Unassigned

Bug Description

using this code i have a timeout responce from the server ..

import openlib
c=openerplib.get_connection('localhost','netrpc','8070',database='v7demo',login='admin',password='aa')

u=c.get_model('res.user').read(1)
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
  File "C:\Python27\lib\site-packages\openerplib\main.py", line 333, in proxy
    self.connection.check_login(False)
  File "C:\Python27\lib\site-packages\openerplib\main.py", line 279, in check_login
    self.user_id = self.get_service("common").login(self.database, self.login, self.password)
  File "C:\Python27\lib\site-packages\openerplib\main.py", line 218, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "C:\Python27\lib\site-packages\openerplib\main.py", line 191, in send
    result = socket.myreceive()
  File "C:\Python27\lib\site-packages\openerplib\main.py", line 142, in myreceive
    chunk = self.sock.recv(8 - len(buf))
timeout: timed out

Tags: netrpc
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

Hello,

There is no 6.2 version of OpenERP, there is a 6.1 and directly after a 7.0 version. So I have no possibility to understand what version you are speaking about. Plus the netrpc protocol is not really supported anymore by openerp and is deprecated in this connection library.

If you can reproduce this bug using xmlrpc and tell me the correct version number of your OpenERP please reopen this bug. But currently I will consider this bug report as invalid.

Changed in openerp-client-lib:
status: New → Incomplete
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.