Hello,
I've downlaoded the TR Barcode module from this link : https://www.openerp.com/apps/7.0/tr_barcode/
While i install it onto my OpenERP 7.0 i got this error :
ValidateError
Une erreur est apparue lors de la validation du/des champ(s) arch: Invalid XML for View Architecture!
Please can you help me about this issue.
Thanks.
search for a file named ' openerp-server.log ', open it with a text editor, and Copy/Paste the content from this file (Not all the content, but just some lines related to this error).
Hello, You can find the ‘openerp-server.log’ : 2014-10-15 16:19:01,269 1307 INFO bdd-test-2 openerp.modules.loading: loading 1 modules... 2014-10-15 16:19:01,306 1307 INFO bdd-test-2 openerp.modules.loading: loading 60 modules... 2014-10-15 16:19:01,597 1307 INFO bdd-test-2 openerp.modules.loading: loading 61 modules... 2014-10-15 16:19:01,698 1307 INFO bdd-test-2 openerp.modules.module: module tr_barcode: creating or updating database tables 2014-10-15 16:19:02,276 1307 INFO bdd-test-2 openerp.modules.loading: module tr_barcode: loading wizard/tr_barcode_wizard.xml 2014-10-15 16:19:02,664 1307 ERROR bdd-test-2 openerp.osv.orm: Can't find field 'hight' in the following view parts composing the view of object model 'tr.barcode.wizard': * Barcode Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model 2014-10-15 16:19:02,685 1307 ERROR bdd-test-2 openerp.addons.base.ir.ir_ui_view: Can't render view for model: tr.barcode.wizard Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_view.py", line 126, 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 "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 2278, in fields_view_get xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1955, in __view_look_dom_arch raise except_orm('View error', msg) except_orm: ('View error', u"Can't find field 'hight' in the following view parts composing the view of object model 'tr.barcode.wizard':\n * Barcode\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model") 2014-10-15 16:19:02,747 1307 ERROR bdd-test-2 openerp.tools.convert: Parse error in /usr/lib/pymodules/python2.7/openerp/addons/tr_barcode/wizard/tr_barcode_wizard.xml:4: Barcode tr.barcode.wizard Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 847, in parse self._tags[rec.tag](self.cr, rec, n) File "/usr/lib/pymodules/python2.7/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 "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 969, in _update res_id = model_obj.create(cr, uid, values, context=context) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_view.py", line 103, in create return super(view, self).create(cr, uid, values, context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4547, in create self._validate(cr, user, [id_new], context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1562, in _validate raise except_orm('ValidateError', '\n'.join(error_msgs)) except_orm: ('ValidateError', u'Une erreur est apparue lors de la validation du/des champ(s) arch: Invalid XML for View Architecture!') 2014-10-15 16:19:02,776 1307 ERROR bdd-test-2 openerp.netsvc: ValidateError Une erreur est apparue lors de la validation du/des champ(s) arch: Invalid XML for View Architecture! Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line 426, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/module.py", line 477, in _button_immediate_function _, pool = pooler.restart_pool(cr.dbname, update_module=True) File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in restart_pool registry = RegistryManager.new(db_name, force_demo, status, update_module) File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 233, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 354, in load_modules loaded_modules, update_module) File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 256, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 188, in load_module_graph load_data(module_name, idref, mode) File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 76, in load_data = lambda *args: _load_data(cr, *args, kind='data') File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 124, in _load_data tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report) File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 954, in convert_xml_import obj.parse(doc.getroot()) File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 847, in parse self._tags[rec.tag](self.cr, rec, n) File "/usr/lib/pymodules/python2.7/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 "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 969, in _update res_id = model_obj.create(cr, uid, values, context=context) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_view.py", line 103, in create return super(view, self).create(cr, uid, values, context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4547, in create self._validate(cr, user, [id_new], context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1562, in _validate raise except_orm('ValidateError', '\n'.join(error_msgs)) except_osv: ('ValidateError', u'Une erreur est apparue lors de la validation du/des champ(s) arch: Invalid XML for View Architecture!') 2014-10-15 16:19:02,824 1307 INFO bdd-test-2 werkzeug: 172.16.1.17 - - [15/Oct/2014 16:19:02] "POST /web/dataset/call_button HTTP/1.1" 200 - 2014-10-15 16:19:02,971 1307 INFO ? werkzeug: 172.16.1.17 - - [15/Oct/2014 16:19:02] "GET /web/static/src/img/warning.png HTTP/1.1" 304 - 2014-10-15 16:19:07,256 1307 INFO bdd-test-2 openerp.modules.loading: loading 1 modules... 2014-10-15 16:19:07,295 1307 INFO bdd-test-2 openerp.modules.loading: loading 60 modules... 2014-10-15 16:19:07,443 1307 INFO bdd-test-2 openerp.modules.loading: Modules loaded.
follow this link to fix the error: http://john.parnefjord.se/node/51
Hello,
I saw the link but i’m using Ubuntu 12.04 LTS and my reportlab path is :
/usr/lib/python2.7/dist-packages/reportlab/graphics . I can’t find “fonts” directory, not exist on my OS version. Please can you give a way to paste the content of the unzip Pfbfer file.
Best Regards,
Hervé EGNAKOU
De : Med Said BARA [mailto:diassynthesis@mail.odoo.com]
Envoyé : jeudi 16 octobre 2014 15:59
À : Herve EGNAKOU
Objet : Re: TR Barcode Module
follow this link to fix the error: http://john.parnefjord.se/node/51
--
Med Said BARA
Sent by Odoo Inc. using Odoo about Forum Post TR Barcode Module
Download the all the modules from https://github.com/OCA/stock-logistics-barcode/tree/7.0. You can find the pfbfer.zip in tr_barcode