← Back to team overview

openerp-community team mailing list archive

Re: has someone seen something similar ?

 

You better upgrade via command line:
./openerp-server -u all -d database_name

		Gianluca Milano  | Business Integrator 
+39 081 194 65 159 | +39 335 60 10 512
gianlucamilano | Via Trepiccioni, 39 - 80078 Pozzuoli (NA) - ITALY
P.IVA IT07227561219  
             



Il giorno 03/mag/2014, alle ore 17:05, Christian Eichert <c@xxxxxxx> ha scritto:

> Can someone help ?
> 
> 
> <hcddjcci.png>
> 
> It seems to be a ugly bug.
> 
> 2014-05-03 14:52:07,033 22531 INFO EKsrl werkzeug: 84.158.188.106 - - [03/May/2014 14:52:07] "POST /web/action/load HTTP/1.1" 200                                 -
> 2014-05-03 14:52:07,229 22531 INFO EKsrl werkzeug: 84.158.188.106 - - [03/May/2014 14:52:07] "POST /web/dataset/call_kw HTTP/1.1" 200 -
> 2014-05-03 14:52:07,353 22531 INFO EKsrl werkzeug: 84.158.188.106 - - [03/May/2014 14:52:07] "POST /web/dataset/call_kw HTTP/1.1" 200 -
> 2014-05-03 14:52:09,055 22531 INFO EKsrl werkzeug: 84.158.188.106 - - [03/May/2014 14:52:09] "POST /web/dataset/call_kw HTTP/1.1" 200 -
> 2014-05-03 14:52:09,140 22531 INFO EKsrl werkzeug: 84.158.188.106 - - [03/May/2014 14:52:09] "POST /web/dataset/call_kw HTTP/1.1" 200 -
> 2014-05-03 14:52:15,926 22531 ERROR EKsrl openerp.addons.base.ir.ir_ui_view: Can't render view  for model: product.product
> Traceback (most recent call last):
>   File "/opt/openerp/v7/server/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 "/opt/openerp/v7/addons/stock/product.py", line 439, in fields_view_get res = super(product_product,self).fields_view_get(cr, uid, view_id, view_type, context, toolbar=toolbar, submenu=submenu)
>   File "/opt/openerp/v7/server/openerp/osv/orm.py", line 2277, in fields_view_get xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
>   File "/opt/openerp/v7/server/openerp/osv/orm.py", line 1930, in __view_look_dom_arch fields_def = self.__view_look_dom(cr, user, node, view_id, False, fields, context=context)
>   File "/opt/openerp/v7/server/openerp/osv/orm.py", line 1876, in __view_look_dom fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
>   File "/opt/openerp/v7/server/openerp/osv/orm.py", line 1876, in __view_look_dom fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
>   File "/opt/openerp/v7/server/openerp/osv/orm.py", line 1816, in __view_look_dom attrs['selection'] = relation._name_search(cr, user, '', dom, context=search_context, limit=None, name_get_uid=1)
>   File "/opt/openerp/v7/server/openerp/osv/orm.py", line 2446, in _name_searc res = self.name_get(cr, access_rights_uid, ids, context)
>   File "/opt/openerp/v7/addons/stock/stock.py", line 82, in name_get res = self._complete_name(cr, uid, ids, 'complete_name', None, context=context)
>   File "/opt/openerp/v7/addons/stock/stock.py", line 96, in _complete_name res[m.id] = ' / '.join(reversed(names))
> TypeError: sequence item 0: expected string, bool found
> 2014-05-03 14:52:15,927 22531 ERROR EKsrl openerp.tools.convert: Parse error in /opt/openerp/v7/addons/stock/product_view.xml:5:
> <record id="product_search_form_view_stock" model="ir.ui.view">
>             <field name="name">product.search.stock.form</field>
>             <field name="model">product.product</field>
>             <field name="inherit_id" ref="product.product_search_form_view"/>
>             <field name="arch" type="xml">
>                 <field name="pricelist_id" position="before">
>                     <field name="location_id" widget="selection" context="{'location': self}"/>
>                     <field name="warehouse_id" widget="selection" context="{'warehouse': self}"/>
>                 </field>
>             </field>
>         </record>
> Traceback (most recent call last):
>   File "/opt/openerp/v7/server/openerp/tools/convert.py", line 847, in parse self._tags[rec.tag](self.cr, rec, n)
>   File "/opt/openerp/v7/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 "/opt/openerp/v7/server/openerp/addons/base/ir/ir_model.py", line 967, in _update res_id = model_obj.create(cr, uid, values, context=context)
>   File "/opt/openerp/v7/server/openerp/addons/base/ir/ir_ui_view.py", line 103, in create return super(view, self).create(cr, uid, values, context)
>   File "/opt/openerp/v7/server/openerp/osv/orm.py", line 4493, in create self._validate(cr, user, [id_new], context)
>   File "/opt/openerp/v7/server/openerp/osv/orm.py", line 1561, 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!')
> 2014-05-03 14:52:15,930 22531 ERROR EKsrl openerp.netsvc: ValidateError
> Error occurred while validating the field(s) arch: Invalid XML for View Architecture!
> Traceback (most recent call last):
>   File "/opt/openerp/v7/server/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params)
>   File "/opt/openerp/v7/server/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params)
>   File "/opt/openerp/v7/server/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {})
>   File "/opt/openerp/v7/server/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs)
>   File "/opt/openerp/v7/server/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw)
>   File "/opt/openerp/v7/server/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw)
>   File "/opt/openerp/v7/server/openerp/addons/base/module/wizard/base_module_upgrade.py", line 90, in upgrade_module pooler.restart_pool(cr.dbname, update_module=True)
>   File "/opt/openerp/v7/server/openerp/pooler.py", line 39, in restart_pool registry = RegistryManager.new(db_name, force_demo, status, update_module)
>   File "/opt/openerp/v7/server/openerp/modules/registry.py", line 233, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module)
>   File "/opt/openerp/v7/server/openerp/modules/loading.py", line 354, in load_modules loaded_modules, update_module)
>   File "/opt/openerp/v7/server/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 "/opt/openerp/v7/server/openerp/modules/loading.py", line 188, in load_module_graph load_data(module_name, idref, mode)
>   File "/opt/openerp/v7/server/openerp/modules/loading.py", line 76, in <lambda> load_data = lambda *args: _load_data(cr, *args, kind='data')
>   File "/opt/openerp/v7/server/openerp/modules/loading.py", line 124, in _load_data tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
>   File "/opt/openerp/v7/server/openerp/tools/convert.py", line 954, in convert_xml_import obj.parse(doc.getroot())
>   File "/opt/openerp/v7/server/openerp/tools/convert.py", line 847, in parse self._tags[rec.tag](self.cr, rec, n)
>   File "/opt/openerp/v7/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 "/opt/openerp/v7/server/openerp/addons/base/ir/ir_model.py", line 967, in _update res_id = model_obj.create(cr, uid, values, context=context)
>   File "/opt/openerp/v7/server/openerp/addons/base/ir/ir_ui_view.py", line 103, in create return super(view, self).create(cr, uid, values, context)
>   File "/opt/openerp/v7/server/openerp/osv/orm.py", line 4493, in create self._validate(cr, user, [id_new], context)
>   File "/opt/openerp/v7/server/openerp/osv/orm.py", line 1561, in _validate raise except_orm('ValidateError', '\n'.join(error_msgs))
> except_osv: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
> 2014-05-03 14:52:15,931 22531 INFO EKsrl werkzeug: 84.158.188.106 - - [03/May/2014 14:52:15] "POST /web/dataset/call_button HTTP/1.1" 200 -
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References