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.

0

ValidateError: Error occurred while validating the field(s) arch: Invalid XML for View Architecture!

By
annemarie1991
on 1/5/14, 8:36 AM 2,098 views

I've been stuck in this error since a few days. With this error I can't install modules. I am a noob, can you please help me out? Thanks!

2014-01-04 01:00:01,201 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:00:01] "POST /web/dataset/call_kw HTTP/1.1" 200 -

2014-01-04 01:00:01,608 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:00:01] "POST /web/dataset/call_kw HTTP/1.1" 200 -

2014-01-04 01:00:02,122 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:00:02] "GET /web/binary/company_logo?session_id=cae057f98136452b9158f6cadf542d02 HTTP/1.1" 200 -

2014-01-04 01:00:02,506 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:00:02] "POST /web/dataset/call_kw HTTP/1.1" 200 -

2014-01-04 01:00:03,012 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:00:03] "POST /web/dataset/call_kw HTTP/1.1" 200 -

2014-01-04 01:00:03,460 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:00:03] "POST /web/menu/load HTTP/1.1" 200 -

2014-01-04 01:00:03,871 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:00:03] "POST /web/dataset/search_read HTTP/1.1" 200 -

2014-01-04 01:00:04,233 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:00:04] "GET /web/binary/image?model=res.users&field=image_small&id=1&session_id=cae057f98136452b9158f6cadf542d02 HTTP/1.1" 200 -

2014-01-04 01:00:05,253 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:00:05] "POST /web/menu/load_needaction HTTP/1.1" 200 -

2014-01-04 01:00:13,440 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:00:13] "POST /web/webclient/version_info HTTP/1.1" 200 -

2014-01-04 01:00:14,040 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:00:14] "POST /web/dataset/call_kw HTTP/1.1" 200 -

2014-01-04 01:00:14,443 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:00:14] "POST /web/dataset/search_read HTTP/1.1" 200 -

2014-01-04 01:00:17,201 3044 INFO Datazes openerp.addons.base.module.module: Downloading module fleet from OpenERP Apps

2014-01-04 01:00:42,361 3044 INFO Datazes openerp.addons.base.module.module: Copy downloaded module fleet to C:\Program Files (x86)\OpenERP 7.0-20131127-002420\Server\server\.\openerp\addons\fleet

2014-01-04 01:00:49,619 3044 INFO Datazes openerp.modules.loading: loading 1 modules...

2014-01-04 01:00:50,072 3044 ERROR Datazes openerp.modules.graph: module hr_utilization: Unmet dependencies: hr_contract, report_webkit

2014-01-04 01:00:50,073 3044 WARNING Datazes openerp.modules.graph: Some modules were not loaded.

2014-01-04 01:00:50,075 3044 INFO Datazes openerp.modules.loading: loading 57 modules...

2014-01-04 01:00:51,075 3044 INFO Datazes openerp.modules.loading: loading 68 modules...

2014-01-04 01:00:51,082 3044 INFO Datazes openerp.modules.module: module agaplan_import: creating or updating database tables

2014-01-04 01:00:51,516 3044 INFO Datazes openerp.modules.loading: module agaplan_import: loading agaplan_data.xml

2014-01-04 01:00:51,553 3044 INFO Datazes openerp.modules.loading: module agaplan_import: loading wizard/import_wizard_view.xml

2014-01-04 01:00:51,565 3044 WARNING Datazes openerp.addons.base.ir.ir_ui_view: Setting the type field is deprecated in the ir.ui.view model.

2014-01-04 01:00:51,615 3044 WARNING Datazes openerp.addons.base.ir.ir_ui_view: Setting the type field is deprecated in the ir.ui.view model.

2014-01-04 01:00:51,674 3044 WARNING Datazes openerp.addons.base.ir.ir_ui_view: Setting the type field is deprecated in the ir.ui.view model.

2014-01-04 01:00:51,694 3044 ERROR Datazes openerp.tools.view_validation: Invalid XML: A string attribute must be on a form node.

2014-01-04 01:00:51,707 3044 ERROR Datazes openerp.tools.convert: Parse error in file:///C:/Program%20Files%20(x86)/OpenERP%207.0-20131127- 002420/Server/server/openerp/addons/agaplan_import/wizard/import_wizard_view.xml:79:

<record id="import_wizard_form_view_notes" model="ir.ui.view">

    <field name="name">import.wizard.form.notes</field>

    <field name="model">import.wizard</field>

    <field name="type">form</field>

    <field name="priority">30</field>

    <field name="arch" type="xml">

        <form>

            <field name="notes" colspan="4" width="400" height="400" nolabel="1"/>

            <group colspan="2"/>

            <group colspan="2" col="2">

                <button icon="gtk-cancel" special="cancel" string="Done" default_focus="1"/>

            </group>

        </form>

    </field>

</record>

Traceback (most recent call last):

File "C:\Program Files (x86)\OpenERP 7.0-20131127-002420\Server\server.\openerp\tools\convert.py", line 847, in parse

File "C:\Program Files (x86)\OpenERP 7.0-20131127-002420\Server\server.\openerp\tools\convert.py", line 814, in _tag_record

File "C:\Program Files (x86)\OpenERP 7.0-20131127-002420\Server\server\openerp\addons\base\ir\ir_model.py", line 967, in _update

File "C:\Program Files (x86)\OpenERP 7.0-20131127-002420\Server\server\openerp\addons\base\ir\ir_ui_view.py", line 103, in create

File "C:\Program Files (x86)\OpenERP 7.0-20131127-002420\Server\server.\openerp\osv\orm.py", line 4486, in create

File "C:\Program Files (x86)\OpenERP 7.0-20131127-002420\Server\server.\openerp\osv\orm.py", line 1556, in _validate

except_orm: ('ValidateError', u'Fout opgetreden bij het valideren van veld(en) arch: Invalid XML for View Architecture!') 2014-01-04 01:00:51,711 3044 ERROR Datazes openerp.netsvc: ValidateError Fout opgetreden bij het valideren van veld(en) arch: Invalid XML for View Architecture!

Traceback (most recent call last):

File "C:\Program Files (x86)\OpenERP 7.0-20131127-002420\Server\server.\openerp\netsvc.py", line 292, in dispatch_rpc

File "C:\Program Files (x86)\OpenERP 7.0-20131127-002420\Server\server.\openerp\service\web_services.py", line 626, in dispatch

File "C:\Program Files (x86)\OpenERP 7.0-20131127-002420\Server\server.\openerp\osv\osv.py", line 188, in execute_kw

File "C:\Program Files (x86)\OpenERP 7.0-20131127-002420\Server\server.\openerp\osv\osv.py", line 144, in wrapper

except_osv: ('ValidateError', u'Fout opgetreden bij het valideren van veld(en) arch: Invalid XML for View Architecture!')

2014-01-04 01:00:52,092 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:00:52] "POST /web/dataset/call_button HTTP/1.1" 200 -

2014-01-04 01:01:22,490 3044 INFO Datazes openerp.modules.loading: loading 1 modules...

2014-01-04 01:01:22,809 3044 ERROR Datazes openerp.modules.graph: module hr_utilization: Unmet dependencies: hr_contract, report_webkit

2014-01-04 01:01:22,811 3044 WARNING Datazes openerp.modules.graph: Some modules were not loaded.

2014-01-04 01:01:22,812 3044 INFO Datazes openerp.modules.loading: loading 57 modules...

2014-01-04 01:01:23,329 3044 INFO Datazes openerp.modules.loading: Modules loaded.

2014-01-04 01:01:23,592 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:01:23] "POST /web/action/load HTTP/1.1" 200 -

2014-01-04 01:01:23,825 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:01:23] "POST /web/menu/load_needaction HTTP/1.1" 200 -

2014-01-04 01:01:24,138 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:01:24] "POST /web/dataset/call_kw HTTP/1.1" 200 -

2014-01-04 01:01:24,344 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:01:24] "POST /web/dataset/call_kw HTTP/1.1" 200 -

2014-01-04 01:01:24,812 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:01:24] "POST /web/dataset/call_kw HTTP/1.1" 200 -

2014-01-04 01:01:25,086 3044 INFO Datazes werkzeug: 127.0.0.1 - - [04/Jan/2014 01:01:25] "POST /web/dataset/call_kw HTTP/1.1" 200 -

2014-01-04 01:08:13,411 3784 INFO ? openerp: OpenERP version 7.0-20131127-002420

2014-01-04 01:08:13,963 3784 INFO ? openerp: addons paths: C:\Program Files (x86)\OpenERP 7.0-20131127-002420\Server\server\openerp\addons

2014-01-04 01:08:13,963 3784 INFO ? openerp: database hostname: localhost

2014-01-04 01:08:13,963 3784 INFO ? openerp: database port: 5432

2014-01-04 01:08:13,963 3784 INFO ? openerp: database user: openpg

2014-01-04 01:08:52,253 3784 INFO ? openerp: OpenERP server is running, waiting for connections...

2014-01-04 01:08:52,753 3784 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069

0

Gustavo

--Gustavo--
950
| 2 1 4
Buenos Aires, Argentina
--Gustavo--

Python developer, big fan of sailing

Gustavo
On 1/5/14, 11:47 AM

could you post the error messages in english please? I can't read error messages in a language other than english. Anyway... tray commenting the form defined in the agaplan_import/wizard/import_wizard_view.xml file and run the server again. The problems are caused by the contents of the import_wizard.xml file

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

0 follower(s)

Stats

Asked: 1/5/14, 8:36 AM
Seen: 2098 times
Last updated: 3/16/15, 8:10 AM