← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

I was only able to reproduce the error when uninstalling the module and
re-installing. It appears that once the module is installed it cannot be
removed, which makes sense, but perhaps you should be warned of this?
And perhaps disable the uninstall button or display warning upon
uninstalling it would break the database. Something to be examined here.

Also I see you are using a .deb so I am assuming you downloaded a
packaged file not using the sources. The packaged files usually
unfortunately contain bugs or old code as expected so it is possible you
are encountering an issue with that. I would recommend using the
Launchpad branches and re-attempting to install the module.

-- 
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:
  Confirmed

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!