← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 579649] Re: Error Installing Conector Magento - KeyError: 'exportable'

 

I only experienced this issue when I made a modification to the files
but when I updated the module it was missing the view entries which
caused this error. I would also state that OpenERP is not very good at
uninstalling modules, for instance it leaves the database tables and
references intact. Check to see you have the exact same module you
started with as missing entries that are referenced could cause this
issue. I was not able to reproduce this error on a clean install.

** Changed in: magentoerpconnect
       Status: New => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/579649

Title:
  Error Installing Conector Magento - KeyError: 'exportable'

Status in Magento Open ERP Connector:
  Invalid

Bug description:
  I am installing Magento connector. I migrated my database from version
  5.0.4 to 5.0.10. When I go to install the magento connector gives me
  the following error (I also gave it above):

  Traceback (most recent call last):
    File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 245, in dispatch
      result = LocalService(service_name)(method, *params)
    File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 74, in __call__
      return getattr(self, method)(*params)
    File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 632, in execute
      return self._execute(db, uid, wiz_id, datas, action, context)
    File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 612, in _execute
      return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
    File "/usr/lib/python2.5/site-packages/openerp-server/wizard/__init__.py", line 178, in execute
      res = self.execute_cr(cr, uid, data, state, context)
    File "/usr/lib/python2.5/site-packages/openerp-server/wizard/__init__.py", line 73, in execute_cr
      action_res = action(self, cr, uid, data, context)
    File "/usr/lib/python2.5/site-packages/openerp-server/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
      db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/usr/lib/python2.5/site-packages/openerp-server/pooler.py", line 62, in restart_pool
      return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
    File "/usr/lib/python2.5/site-packages/openerp-server/pooler.py", line 40, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/usr/lib/python2.5/site-packages/openerp-server/addons/__init__.py", line 740, in load_modules
      r = load_module_graph(cr, graph, status, report=report)
    File "/usr/lib/python2.5/site-packages/openerp-server/addons/__init__.py", line 631, in load_module_graph
      tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
    File "/usr/lib/python2.5/site-packages/openerp-server/tools/convert.py", line 874, in convert_xml_import
      obj.parse(doc.getroot())
    File "/usr/lib/python2.5/site-packages/openerp-server/tools/convert.py", line 771, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/usr/lib/python2.5/site-packages/openerp-server/tools/convert.py", line 743, in _tag_record
      id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode )
    File "/usr/lib/python2.5/site-packages/openerp-server/addons/base/ir/ir_model.py", line 488, in _update
      model_obj.write(cr, uid, [res_id], values, context=context)
    File "/usr/lib/python2.5/site-packages/openerp-server/addons/magentoerpconnect/product.py", line 642, in write
      stat = super(product_product, self).write(cr, uid, ids, vals, context)
    File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 2513, in write
      fobj = self._inherit_fields[field][2]
  KeyError: 'exportable'

  
  What could it be?
  Thanks!