OE 6.0.2 All In One can't backup and restore database

Bug #805779 reported by mrshelly
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

I call the OpenERP server(6.0.2 all in one for windows) using xmlrpc.
But, I got the socket error.

Type "help", "copyright", "credits" or "license" for more information.
>>> import xmlrpclib
>>> sock = xmlrpclib.ServerProxy('http://10.1.20.8:60021/xmlrpc/db')
>>> sock.dump('admin', 't_6002')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "d:\Program Files\Python25\lib\xmlrpclib.py", line 1147, in __call__
    return self.__send(self.__name, args)
  File "d:\Program Files\Python25\lib\xmlrpclib.py", line 1437, in __request
    verbose=self.__verbose
  File "d:\Program Files\Python25\lib\xmlrpclib.py", line 1201, in request
    return self._parse_response(h.getfile(), sock)
  File "d:\Program Files\Python25\lib\xmlrpclib.py", line 1328, in _parse_respon
se
    response = sock.recv(1024)
socket.error: (10054, 'Connection reset by peer')

What's happened?
the 5.0.9 version is OK.

I think maybe the threading problem(6.0.2 changes)..

mrshelly
2011/07/05

Revision history for this message
mrshelly (mrshelly) wrote :

I'm sure, It isn't duplicate status of bug #744786 (https://bugs.launchpad.net/bugs/744786)

and I removed @misc.py file's close_fds parameter. I think, It's threading problem of windows OS.

I used xmlrpc method call it on OE server host. only 10% sucessed can return the base64 encodestring...

mrshelly
2011/07/05

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.