← Back to team overview

openerp-india team mailing list archive

[Bug 968048] Re: core_config installation on Openerp 6.1

 

I am also seeing the same issue. I'm using released 6.1 and installing
the training module. In order to install that I have to install the
core_config module.

I have downloaded the zip file and extracted the zip into <openerp
dir>/openerp/addons which created the core_config directory.

All attempts at updating the modules results in the Invalid XML for View
Architecture! error.

>From the log file

2012-04-09 13:42:22,388 10512 ERROR EpioneTraining openerp.addons.base.ir.ir_ui_view: <string>:2:0:ERROR:RELAXNGV:RELAXNG_ERR_NOELEM: Expecting an element field, got nothing
2012-04-09 13:42:22,389 10512 ERROR EpioneTraining openerp.addons.base.ir.ir_ui_view: <string>:2:0:ERROR:RELAXNGV:RELAXNG_ERR_INVALIDATTR: Invalid attribute editable for element tree
2012-04-09 13:42:22,391 10512 ERROR EpioneTraining openerp.tools.convert: Parse error in /opt/openerp/server/openerp/addons/core_config/ir_config_view.xml:5:
<record model="ir.ui.view" id="view_ir_config_tree">
            <field name="name">ir.config.tree</field>
            <field name="model">ir.config</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Database config option" editable="1">
                    <field name="name"/>
                    <field name="type"/>
                    <field name="value"/>
                    <field name="default_value"/>
                </tree>
            </field>
        </record>

Traceback (most recent call last):
  File "/opt/openerp/server/openerp/tools/convert.py", line 890, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/opt/openerp/server/openerp/tools/convert.py", line 857, 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, context=rec_context )
  File "/opt/openerp/server/openerp/addons/base/ir/ir_model.py", line 737, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/opt/openerp/server/openerp/osv/orm.py", line 4191, in create
    self._validate(cr, user, [id_new], context)
  File "/opt/openerp/server/openerp/osv/orm.py", line 1466, in _validate
    raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
2012-04-09 13:42:22,395 10512 ERROR EpioneTraining openerp.netsvc: ValidateError
Error occurred while validating the field(s) arch: Invalid XML for View Architecture!


It seems there is some issue with the tree string in the core_config xml data.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/968048

Title:
  core_config installation on Openerp 6.1

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  An error during core_config installation on Openerp 6.1:
  ValidateError Error occurred while validating the field(s) arch: Invalid XML for View Architecture!

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/968048/+subscriptions


References