Error in "Magento Instances" after Installation

Asked by Eady Gol

I installed the magento connector in Openerp 6.0.2 and its required modules. In openerp > magento-connection > core settings, when I click on "Magento Instances," I get the following error:

--------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1628, in fields_view_get
    xml = self.__get_default_search_view(cr, user, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1391, in __get_default_search_view
    form_view = self.fields_view_get(cr, uid, False, 'form', context=context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1598, in fields_view_get
    result['arch'] = _inherit_apply_rec(inherit_result, sql_res[3])
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1593, in _inherit_apply_rec
    result = _inherit_apply(result, inherit, id)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1535, in _inherit_apply
    raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1449, in raise_view_error
    'model': self._name, })
AttributeError: View definition error for inherited view 'magentoerpconnect.magerp_instances_form' on 'external.referential' model: Element '<xpath expr="/form/group[2]/notebook">' not found in parent view 'base_external_referentials.external_referential_form_view'
--------------------------------------------------------------------------------------

During the installation, I had another problem described in this thread:
https://bugs.launchpad.net/magentoerpconnect/+bug/695516

The problem was that I could not install base_sale_multichannel and product_images_olbs because of missing access rights in the openerp version. I deleted the relations in the csv file of these modules, and they could be installed (can this be the cause of the error?).

I am not sure whether these issues are related or not. I would appreciate any help.

OS=Ubuntu 10.04

Also, the following warnings are in the log file:

WARNING:init:object product.images (Products Image gallery) has no access rules!
WARNING:init:object external.referential.type (External Referential Type (Ex.Magento,Spree)) has no access rules!
WARNING:init:object external.mapping.template (The source mapping records) has no access rules!
WARNING:init:object external.mappinglines.template (The source mapping line records) has no access rules!
WARNING:init:object external.referential (External Referential) has no access rules!
WARNING:init:object external.mapping.line (Field Mapping) has no access rules!
WARNING:init:object external.mapping (External Mapping) has no access rules!
WARNING:init:object external.shop.group (External Referential Shop Group) has no access rules!
WARNING:init:object base.sale.payment.type (Base Sale Payment Type) has no access rules!

Question information

Language:
English Edit question
Status:
Solved
For:
Magento OpenERP Connector Edit question
Assignee:
No assignee Edit question
Solved by:
Eady Gol
Solved:
Last query:
Last reply:
Revision history for this message
Eady Gol (eady) said :
#1

The problem was solved by removing all the extensions, getting the latest versions of modules from lp:openobject-addons/extra-trunk, and installing on a new database.