Hi,
I had already install the base_synchro that I had downloaded from here. But got this error when I want to synchronize the new partner that I had created.
Here is the error:
1)
Server Traceback (most recent call last):
File "/opt/openerp/v7/web/addons/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/opt/openerp/v7/server/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/v7/server/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/v7/server/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/v7/server/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/v7/server/openerp/osv/osv.py", line 197, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/v7/server/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/v7/addons_bpooutfit/base_synchro/wizard/base_synchro.py", line 277, in upload_download_multi_thread
threaded_synchronization.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/opt/openerp/v7/addons_bpooutfit/base_synchro/wizard/base_synchro.py", line 245, in upload_download
self.synchronize(cr, uid, server, object, context=context)
File "/opt/openerp/v7/addons_bpooutfit/base_synchro/wizard/base_synchro.py", line 119, in synchronize
value = pool_src.get(object.model_id.model).read(cr, uid, [id], fields)[0]
File "/opt/openerp/v7/addons_bpooutfit/base_synchro/wizard/base_synchro.py", line 44, in <lambda>
return lambda cr, uid, *args, **kwargs: self.rpc.execute(self.server.server_db, self.uid, self.server.password, self.ressource, name, *args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
return self.parse_response(response)
File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
return u.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
raise Fault(**self._stack[0])
Fault: <Fault syntax error at or near ")"
LINE 5: AND l.partner_id IN ()
^
: 'Traceback (most recent call last):\n File "/opt/openerp/v7/server/openerp/service/wsgi_server.py", line 82, in xmlrpc_return\n result = openerp.netsvc.dispatch_rpc(service, method, params)\n File "/opt/openerp/v7/server/openerp/netsvc.py", line 292, in dispatch_rpc\n result = ExportService.getService(service_name).dispatch(method, params)\n File "/opt/openerp/v7/server/openerp/service/web_services.py", line 626, in dispatch\n res = fn(db, uid, *params)\n File "/opt/openerp/v7/server/openerp/osv/osv.py", line 131, in wrapper\n return f(self, dbname, *args, **kwargs)\n File "/opt/openerp/v7/server/openerp/osv/osv.py", line 197, in execute\n res = self.execute_cr(cr, uid, obj, method, *args, **kw)\n File "/opt/openerp/v7/server/openerp/osv/osv.py", line 185, in execute_cr\n return getattr(object, method)(cr, uid, *args, **kw)\n File "/opt/openerp/v7/server/openerp/osv/orm.py", line 3604, in read\n result = self._read_flat(cr, user, select, fields, context, load)\n File "/opt/openerp/v7/server/openerp/osv/orm.py", line 3712, in _read_flat\n res2 = self._columns[val[0]].get(cr, self, ids, val, user, context=context, values=res)\n File "/opt/openerp/v7/server/openerp/osv/fields.py", line 1133, in get\n result = self._fnct(obj, cr, uid, ids, name, self._arg, context)\n File "/opt/openerp/v7/addons/account/partner.py", line 123, in _credit_debit_get\n (tuple(ids),))\n File "/opt/openerp/v7/server/openerp/sql_db.py", line 161, in wrapper\n return f(self, *args, **kwargs)\n File "/opt/openerp/v7/server/openerp/sql_db.py", line 226, in execute\n res = self._obj.execute(query, params)\nProgrammingError: syntax error at or near ")"\nLINE 5: AND l.partner_id IN ()\n ^\n\n'>
2)
Server Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/opt/openerp/server/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/server/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/server/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/openerp/osv/osv.py", line 197, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server/openerp/addons/base_synchro/wizard/base_synchro.py", line 277, 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 "/opt/openerp/server/openerp/addons/base_synchro/wizard/base_synchro.py", line 245, in upload_download
self.synchronize(cr, uid, server, object, context=context)
File "/opt/openerp/server/openerp/addons/base_synchro/wizard/base_synchro.py", line 119, in synchronize
value = pool_src.get(object.model_id.model).read(cr, uid, [id], fields)[0]
IndexError: list index out of range
3)
Server Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/opt/openerp/server/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/server/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/server/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/openerp/osv/osv.py", line 197, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server/openerp/addons/base_synchro/wizard/base_synchro.py", line 277, 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 "/opt/openerp/server/openerp/addons/base_synchro/wizard/base_synchro.py", line 245, in upload_download
self.synchronize(cr, uid, server, object, context=context)
File "/opt/openerp/server/openerp/addons/base_synchro/wizard/base_synchro.py", line 95, in synchronize
{'action':'d'}
File "/opt/openerp/server/openerp/addons/base_synchro/wizard/base_synchro.py", line 44, in <lambda>
return lambda cr, uid, *args, **kwargs: self.rpc.execute(self.server.server_db, self.uid, self.server.password, self.ressource, name, *args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
return self.parse_response(response)
File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
return u.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
raise Fault(**self._stack[0])
Fault: <Fault Invalid leaf name: 'Traceback (most recent call last):\n File "/opt/openerp/server/openerp/service/wsgi_server.py", line 82, in xmlrpc_return\n result = openerp.netsvc.dispatch_rpc(service, method, params)\n File "/opt/openerp/server/openerp/netsvc.py", line 292, in dispatch_rpc\n result = ExportService.getService(service_name).dispatch(method, params)\n File "/opt/openerp/server/openerp/service/web_services.py", line 626, in dispatch\n res = fn(db, uid, *params)\n File "/opt/openerp/server/openerp/osv/osv.py", line 131, in wrapper\n return f(self, dbname, *args, **kwargs)\n File "/opt/openerp/server/openerp/osv/osv.py", line 197, in execute\n res = self.execute_cr(cr, uid, obj, method, *args, **kw)\n File "/opt/openerp/server/openerp/osv/osv.py", line 185, in execute_cr\n return getattr(object, method)(cr, uid, *args, **kw)\n File "/opt/openerp/server/openerp/addons/base_synchro/base_synchro_obj.py", line 71, in get_ids\n return self._get_ids(cr, uid, object, dt, domain, context=context)\n File "/opt/openerp/server/openerp/addons/base_synchro/base_synchro_obj.py", line 80, in _get_ids\n ids = self.pool.get(object).search(cr, uid, domain2, context=context)\n File "/opt/openerp/server/openerp/osv/orm.py", line 2354, in search\n return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)\n File "/opt/openerp/server/openerp/osv/orm.py", line 4845, in _search\n query = self._where_calc(cr, user, args, context=context)\n File "/opt/openerp/server/openerp/osv/orm.py", line 4674, in _where_calc\n e = expression.expression(cr, user, domain, self, context)\n File "/opt/openerp/server/openerp/osv/expression.py", line 640, in __init__\n self.parse(cr, uid, context=context)\n File "/opt/openerp/server/openerp/osv/expression.py", line 740, in parse\n self.stack = [ExtendedLeaf(leaf, self.root_model) for leaf in self.expression]\n File "/opt/openerp/server/openerp/osv/expression.py", line 526, in __init__\n self.check_leaf()\n File "/opt/openerp/server/openerp/osv/expression.py", line 582, in check_leaf\n raise ValueError("Invalid leaf %s" % str(self.leaf))\nValueError: Invalid leaf name\n'>