Approve Connection Error on OpenERP 6.1

Bug #1018223 reported by Fontaine Laurent
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenERP Prestashop Sync

Bug Description

OpenERP Server Error

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

Server Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib/pymodules/python2.7/openerp/", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/pymodules/python2.7/openerp/service/", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/usr/lib/pymodules/python2.7/openerp/osv/", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/usr/lib/pymodules/python2.7/openerp/osv/", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/osv/", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/osv/", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/openerp_prestashop_sync/sale/shop/", line 160, in approve_shop
    self.import_language(cr, uid, ids, context=context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/openerp_prestashop_sync/sale/shop/", line 219, in import_language
    self.do_synch(cr, uid, ids, 'prestashop.lang', context=new_cnt)
  File "/usr/lib/pymodules/python2.7/openerp/addons/openerp_prestashop_sync/sale/shop/", line 212, in do_synch
  File "/usr/lib/pymodules/python2.7/openerp/addons/openerp_prestashop_sync/", line 631, in import_from_prestashop
    convert_presta, Thread=False)
  File "/usr/lib/pymodules/python2.7/openerp/addons/openerp_prestashop_sync/", line 668, in import_from_prestashop_thread
  File "/usr/lib/pymodules/python2.7/openerp/addons/openerp_prestashop_sync/", line 119, in get_openerp_data
    if record_name in presta_dicts:
UnboundLocalError: local variable 'record_name' referenced before assignment

I'm will get this error else time i try to Approve Connection on website some one could help me ?

Changed in openerp-prestashop-sync:
status: New → Invalid
Revision history for this message
Giovanni Ruta (ruta-giovanni) wrote :

When I try to approve connection i get the same error... I tryed to modify with global vars but this didn't correct error...

Changed in openerp-prestashop-sync:
status: Invalid → Incomplete
Revision history for this message
Samanth Rao (samanth-x) wrote :

Any update on this issue?

Revision history for this message
Vikas (iamchauhan-a) wrote :

I am getting exactly the same error. OpenERP ver 6.1-1 Prestashop Test connection was successful , while approve connection threw the above error. I see the bug status invalid. What am I missing?

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.