Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

can't install aeroo report

By
phoebe
on 7/15/13, 5:15 AM 1,848 views

Hi, everyone,

I'm installing aeroo report in openerp 7.0 (ubuntu 12.04). I totally followed these procedures when doing installation http://help.openerp.com/question/2780/how-to-install-aeroo-reports/ and I can successfully install aeroo report package in one of my Ubuntu environment.

However, when I do this in another ubuntu system, the downloading procedure was smooth and I had also prepared aeroolib. When I click "install" button of report_aeroo, I got error message like this "ValidateError Error occurred while validating the field(s) arch: Invalid XML for View Architecture!"

Can anyone help explain what happened? or provide some suggestions? Thanks a lot!!!

did you find how to solve that error ? i have the same error

Ahmed elbarbary
on 2/24/15, 2:23 AM

The error you are getting does not belongs to installation of aeroo report. you are getting this error just because view is invalid. Show whole error here.

Mansi Kariya (mka)
on 2/24/15, 2:32 AM

i found another question abut that error when trying to istall report_aeroo but i can't find how to fix it here : https://www.odoo.com/forum/help-1/question/error-while-install-aeroo-on-openerp-7-17952 and this the same error i have : 2015-02-24 07:40:20,634 2629 INFO EXD-SA openerp.modules.loading: module report_aeroo: loading objects 2015-02-24 07:40:20,638 2629 INFO EXD-SA openerp.modules.module: module report_aeroo: creating or updating database tables 2015-02-24 07:40:20,775 2629 INFO EXD-SA openerp.modules.loading: module report_aeroo: loading installer.xml 2015-02-24 07:40:20,779 2629 WARNING EXD-SA openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model. 2015-02-24 07:40:20,886 2629 WARNING EXD-SA openerp.osv.orm: No such field(s) in model ir.actions.todo: restart. 2015-02-24 07:40:20,990 2629 INFO EXD-SA openerp.modules.loading: module report_aeroo: loading report_view.xml 2015-02-24 07:40:21,029 2629 ERROR EXD-SA openerp.addons.base.ir.ir_ui_view: Can't render view for model: ir.actions.report.xml Traceback (most recent call last): File "/home/habib/openerp7/server/openerp/addons/base/ir/ir_ui_view.py", line 125, in _check_render_view fvg = self.pool.get(view.model).fields_view_get(cr, uid, view_id=view.id, view_type=view.type, context=context) File "/home/habib/openerp7/addons/report_aeroo/report_xml.py", line 387, in fields_view_get transfer_modifiers_to_node(modifiers, deferred_node[0]) IndexError: list index out of range 2015-02-24 07:40:21,047 2629 ERROR EXD-SA openerp.tools.convert: Parse error in /home/habib/openerp7/addons/report_aeroo/report_view.xml:96: ir.actions.report.xml.tree ir.actions.report.xml Traceback (most recent call last): File "/home/habib/openerp7/server/openerp/tools/convert.py", line 847, in parse self._tags[rec.tag](self.cr, rec, n) File "/home/habib/openerp7/server/openerp/tools/convert.py", line 814, 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 "/home/habib/openerp7/server/openerp/addons/base/ir/ir_model.py", line 956, in _update res_id = model_obj.create(cr, uid, values, context=context) File "/home/habib/openerp7/server/openerp/addons/base/ir/ir_ui_view.py", line 102, in create return super(osv.osv, self).create(cr, uid, values, context) File "/home/habib/openerp7/server/openerp/osv/orm.py", line 4473, in create self._validate(cr, user, [id_new], context) File "/home/habib/openerp7/server/openerp/osv/orm.py", line 1546, 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!') 2015-02-24 07:40:21,073 2629 ERROR EXD-SA openerp: Failed to initialize database `EXD-SA`. Traceback (most recent call last): File "/home/habib/openerp7/server/openerp/cli/server.py", line 98, in preload_registry db, registry = openerp.pooler.get_db_and_pool(dbname,update_module=update_module) File "/home/habib/openerp7/server/openerp/pooler.py", line 33, in get_db_and_pool registry = RegistryManager.get(db_name, force_demo, status, update_module) File "/home/habib/openerp7/server/openerp/modules/registry.py", line 192, in get update_module) File "/home/habib/openerp7/server/openerp/modules/registry.py", line 214, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/home/habib/openerp7/server/openerp/modules/loading.py", line 347, in load_modules processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module) File "/home/habib/openerp7/server/openerp/modules/loading.py", line 258, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/home/habib/openerp7/server/openerp/modules/loading.py", line 189, in load_module_graph load_update_xml(module_name, idref, mode) File "/home/habib/openerp7/server/openerp/modules/loading.py", line 73, in load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml') File "/home/habib/openerp7/server/openerp/modules/loading.py", line 126, in _load_data tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report) File "/home/habib/openerp7/server/openerp/tools/convert.py", line 954, in convert_xml_import obj.parse(doc.getroot()) File "/home/habib/openerp7/server/openerp/tools/convert.py", line 847, in parse self._tags[rec.tag](self.cr, rec, n) File "/home/habib/openerp7/server/openerp/tools/convert.py", line 814, 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 "/home/habib/openerp7/server/openerp/addons/base/ir/ir_model.py", line 956, in _update res_id = model_obj.create(cr, uid, values, context=context) File "/home/habib/openerp7/server/openerp/addons/base/ir/ir_ui_view.py", line 102, in create return super(osv.osv, self).create(cr, uid, values, context) File "/home/habib/openerp7/server/openerp/osv/orm.py", line 4473, in create self._validate(cr, user, [id_new], context) File "/home/habib/openerp7/server/openerp/osv/orm.py", line 1546, 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!') 2015-02-24 07:40:21,078 2629 INFO EXD-SA openerp: OpenERP server is running, waiting for connections...

Ahmed elbarbary
on 2/24/15, 2:45 AM
2015-02-24 07:40:20,634 2629 INFO EXD-SA openerp.modules.loading: module report_aeroo: loading objects
2015-02-24 07:40:20,638 2629 INFO EXD-SA openerp.modules.module: module report_aeroo: creating or updating database tables
2015-02-24 07:40:20,775 2629 INFO EXD-SA openerp.modules.loading: module report_aeroo: loading installer.xml
2015-02-24 07:40:20,779 2629 WARNING EXD-SA openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
2015-02-24 07:40:20,886 2629 WARNING EXD-SA openerp.osv.orm: No such field(s) in model ir.actions.todo: restart.
2015-02-24 07:40:20,990 2629 INFO EXD-SA openerp.modules.loading: module report_aeroo: loading report_view.xml
2015-02-24 07:40:21,029 2629 ERROR EXD-SA openerp.addons.base.ir.ir_ui_view: Can't render view  for model: ir.actions.report.xml
Traceback (most recent call last):
  File "/home/habib/openerp7/server/openerp/addons/base/ir/ir_ui_view.py", line 125, in _check_render_view
    fvg = self.pool.get(view.model).fields_view_get(cr, uid, view_id=view.id, view_type=view.type, context=context)
  File "/home/habib/openerp7/addons/report_aeroo/report_xml.py", line 387, in fields_view_get
    transfer_modifiers_to_node(modifiers, deferred_node[0])
IndexError: list index out of range
2015-02-24 07:40:21,047 2629 ERROR EXD-SA openerp.tools.convert: Parse error in /home/habib/openerp7/addons/report_aeroo/report_view.xml:96:
<record id="act_aeroo_report_xml_view_tree" model="ir.ui.view">
            <field name="name">ir.actions.report.xml.tree</field>
            <field name="model">ir.actions.report.xml</field>
            <field name="arch" type="xml">
                <tree string="Report xml">
                    <field name="name"/>
                    <field name="model"/>
                    <field name="report_name"/>
                    <field name="in_format"/>
                    <field name="out_format"/>
                    <field name="tml_source"/>
                </tree>
            </field>
        </record>
Traceback (most recent call last):
  File "/home/habib/openerp7/server/openerp/tools/convert.py", line 847, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/habib/openerp7/server/openerp/tools/convert.py", line 814, 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 "/home/habib/openerp7/server/openerp/addons/base/ir/ir_model.py", line 956, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/home/habib/openerp7/server/openerp/addons/base/ir/ir_ui_view.py", line 102, in create
    return super(osv.osv, self).create(cr, uid, values, context)
  File "/home/habib/openerp7/server/openerp/osv/orm.py", line 4473, in create
    self._validate(cr, user, [id_new], context)
  File "/home/habib/openerp7/server/openerp/osv/orm.py", line 1546, 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!')
2015-02-24 07:40:21,073 2629 ERROR EXD-SA openerp: Failed to initialize database `EXD-SA`.
Traceback (most recent call last):
  File "/home/habib/openerp7/server/openerp/cli/server.py", line 98, in preload_registry
    db, registry = openerp.pooler.get_db_and_pool(dbname,update_module=update_module)
  File "/home/habib/openerp7/server/openerp/pooler.py", line 33, in get_db_and_pool
    registry = RegistryManager.get(db_name, force_demo, status, update_module)
  File "/home/habib/openerp7/server/openerp/modules/registry.py", line 192, in get
    update_module)
  File "/home/habib/openerp7/server/openerp/modules/registry.py", line 214, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/home/habib/openerp7/server/openerp/modules/loading.py", line 347, in load_modules
    processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module)
  File "/home/habib/openerp7/server/openerp/modules/loading.py", line 258, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/home/habib/openerp7/server/openerp/modules/loading.py", line 189, in load_module_graph
    load_update_xml(module_name, idref, mode)
  File "/home/habib/openerp7/server/openerp/modules/loading.py", line 73, in <lambda>
    load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
  File "/home/habib/openerp7/server/openerp/modules/loading.py", line 126, in _load_data
    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
  File "/home/habib/openerp7/server/openerp/tools/convert.py", line 954, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/habib/openerp7/server/openerp/tools/convert.py", line 847, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/habib/openerp7/server/openerp/tools/convert.py", line 814, 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 "/home/habib/openerp7/server/openerp/addons/base/ir/ir_model.py", line 956, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/home/habib/openerp7/server/openerp/addons/base/ir/ir_ui_view.py", line 102, in create
    return super(osv.osv, self).create(cr, uid, values, context)
  File "/home/habib/openerp7/server/openerp/osv/orm.py", line 4473, in create
    self._validate(cr, user, [id_new], context)
  File "/home/habib/openerp7/server/openerp/osv/orm.py", line 1546, 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!')
2015-02-24 07:40:21,078 2629 INFO EXD-SA openerp: OpenERP server is running, waiting for connections...


On 24 February 2015 at 10:32, Mansi Kariya (mka) <mka@mail.odoo.com> wrote:

The error you are getting does not belongs to installation of aeroo report. you are getting this error just because view is invalid. Show whole error here.

--
Mansi Kariya (mka)
Sent by Tiny ERP Pvt Ltd using Odoo about Forum Post can't install aeroo report

Ahmed elbarbary
on 2/24/15, 2:48 AM

@Phoebe,

If you are still having trouble installing Aeroo and getting it working with XLS, etc. Please refer to the following guide (now includes an installation script):

https://www.odoo.com/forum/help-1/question/8-0-how-can-i-install-the-official-aeroo-reports-alistek-for-odoo-version-8-solved-76044

Luke Branch
on 5/25/15, 4:51 AM
0
Juan José Scarafía
On 2/25/15, 11:53 AM

Hi,

I had some problems with aeroo, but i found the solution changing the version of LibreOffice. Try it!

Regards,

Juan José - Ing ADHOC

0
Mansi Kariya (mka)
On 2/24/15, 4:00 AM

Hello,

Just Go through this installation and the aeroo_report latest module you can find from  openerp apps , Take this module excract it, put it with your addons, restart the server. Update the module list and install aeroo_report module. 

Hope this will help you.

that is exactly what i am doing but i don't know why i stil face the same error ?

Ahmed elbarbary
on 2/24/15, 4:23 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/15/13, 5:15 AM
Seen: 1848 times
Last updated: 5/25/15, 4:51 AM