← Back to team overview

openerp-india team mailing list archive

[Bug 1013476] [NEW] run synchronize muti-database addons

 

Public bug reported:

Client Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/controllers/main.py", line 1047, in call_button
    action = self.call_common(req, model, method, args, domain_id, context_id)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/controllers/main.py", line 991, in call_common
    return self._call_kw(req, model, method, args, {})
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/controllers/main.py", line 1005, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
    args, kw)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/common/http.py", line 611, in send
    raise fault


Server Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/common/http.py", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/base_synchro/wizard/base_synchro.py", line 262, in upload_download_multi_thread
    threaded_synchronization.run()
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/base_synchro/wizard/base_synchro.py", line 230, in upload_download
    self.synchronize(cr, uid, server, object, context=context)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/base_synchro/wizard/base_synchro.py", line 79, in synchronize
    eval(object.domain),
  File "<string>", line 1
    [192.168.1.19]
             ^
SyntaxError: invalid syntax

server ubuntu 12.04
openerp-6.1 
python 2.7

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1013476

Title:
  run synchronize muti-database addons

Status in OpenERP Server:
  New

Bug description:
  Client Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/controllers/main.py", line 1047, in call_button
      action = self.call_common(req, model, method, args, domain_id, context_id)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/controllers/main.py", line 991, in call_common
      return self._call_kw(req, model, method, args, {})
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/controllers/main.py", line 1005, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/common/http.py", line 611, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/netsvc.py", line 360, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/service/web_services.py", line 586, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/base_synchro/wizard/base_synchro.py", line 262, in upload_download_multi_thread
      threaded_synchronization.run()
    File "/usr/lib/python2.7/threading.py", line 504, in run
      self.__target(*self.__args, **self.__kwargs)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/base_synchro/wizard/base_synchro.py", line 230, in upload_download
      self.synchronize(cr, uid, server, object, context=context)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1_20120612_233326-py2.7.egg/openerp/addons/base_synchro/wizard/base_synchro.py", line 79, in synchronize
      eval(object.domain),
    File "<string>", line 1
      [192.168.1.19]
               ^
  SyntaxError: invalid syntax

  server ubuntu 12.04
  openerp-6.1 
  python 2.7

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1013476/+subscriptions


Follow ups

References