Christian seems to be a problem only during update all, there I have the error 
reported. If I comment, update all and, after uncomment, I update only this 
module (with the button in module form) there's no error and the page appears 
again...
Maybe a problem with some module I've got installed?
I try a debug for find it, if you have a well know issue please let me know.
Thanks

-- 
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/1194756

Title:
  problem with a webkit view with last bzr pull

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  Hello this is my error during last bzr pull (yesterday), I see the original 
view and seems correct the "expr" path but doesn't work... (for now I comment 
this inherit).
  Thanks

  2013-06-26 07:36:37,350 5122 ERROR demo openerp.addons.base.ir.ir_ui_view: 
Can't render view report_webkit.act_report_xml_view for model: 
ir.actions.report.xml
  Traceback (most recent call last):
    File "/home/thebrush/lp7/openerp/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 
"/home/thebrush/lp7/openerp/openerp/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
  2013-06-26 07:36:37,377 5122 ERROR demo openerp.tools.convert: Parse error in 
/home/thebrush/lp7/openerp/openerp/addons/report_webkit/ir_report_view.xml:3:
  <record id="act_report_xml_view" model="ir.ui.view">
              <field name="name">ir.actions.report.xml.inherit</field>
              <field name="model">ir.actions.report.xml</field>
              <field name="inherit_id" ref="base.act_report_xml_view"/>
              <field name="arch" type="xml">
                  <xpath expr="//page[@string='Security']" position="before">
                      <page string="Webkit" 
attrs="{'invisible':[('report_type','!=','webkit')]}">
                          <field name="webkit_header"/>
                          <field name="webkit_debug"/>
                          <field name="precise_mode"/>
                          <separator string="Webkit Template (used if Report 
File is not found)" colspan="4"/>
                          <field name="report_webkit_data" colspan="4" 
nolabel="1"/>
                      </page>
                  </xpath>
              </field>
          </record>
  Traceback (most recent call last):
    File "/home/thebrush/lp7/openerp/openerp/tools/convert.py", line 847, in 
parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/home/thebrush/lp7/openerp/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/thebrush/lp7/openerp/openerp/addons/base/ir/ir_model.py", line 
936, in _update
      model_obj.write(cr, uid, [res_id], values, context=context)
    File "/home/thebrush/lp7/openerp/openerp/addons/base/ir/ir_ui_view.py", 
line 208, in write
      return super(view, self).write(cr, uid, ids, vals, context)
    File "/home/thebrush/lp7/openerp/openerp/osv/orm.py", line 4201, in write
      self._validate(cr, user, ids, context)
    File "/home/thebrush/lp7/openerp/openerp/osv/orm.py", line 1544, in 
_validate
      raise except_orm('ValidateError', '\n'.join(error_msgs))
  except_orm: ('ValidateError', u'Si \xe8 verificato un errore durante la 
convalida dei campi arch: Invalid XML for View Architecture!')
  2013-06-26 07:36:37,418 5122 ERROR demo openerp: Failed to initialize 
database `demo`.
  Traceback (most recent call last):
    File "/home/thebrush/lp7/openerp/openerp/cli/server.py", line 97, in 
preload_registry
      db, registry = 
openerp.pooler.get_db_and_pool(dbname,update_module=update_module)
    File "/home/thebrush/lp7/openerp/openerp/pooler.py", line 33, in 
get_db_and_pool
      registry = RegistryManager.get(db_name, force_demo, status, update_module)
    File "/home/thebrush/lp7/openerp/openerp/modules/registry.py", line 192, in 
get
      update_module)
    File "/home/thebrush/lp7/openerp/openerp/modules/registry.py", line 218, in 
new
      openerp.modules.load_modules(registry.db, force_demo, status, 
update_module)
    File "/home/thebrush/lp7/openerp/openerp/modules/loading.py", line 341, in 
load_modules
      processed = load_marked_modules(cr, graph, states_to_load, force, status, 
report, loaded_modules, update_module)
    File "/home/thebrush/lp7/openerp/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 "/home/thebrush/lp7/openerp/openerp/modules/loading.py", line 188, in 
load_module_graph
      load_data(module_name, idref, mode)
    File "/home/thebrush/lp7/openerp/openerp/modules/loading.py", line 76, in 
<lambda>
      load_data = lambda *args: _load_data(cr, *args, kind='data')
    File "/home/thebrush/lp7/openerp/openerp/modules/loading.py", line 124, in 
_load_data
      tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, 
report)
    File "/home/thebrush/lp7/openerp/openerp/tools/convert.py", line 954, in 
convert_xml_import
      obj.parse(doc.getroot())
    File "/home/thebrush/lp7/openerp/openerp/tools/convert.py", line 847, in 
parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/home/thebrush/lp7/openerp/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/thebrush/lp7/openerp/openerp/addons/base/ir/ir_model.py", line 
936, in _update
      model_obj.write(cr, uid, [res_id], values, context=context)
    File "/home/thebrush/lp7/openerp/openerp/addons/base/ir/ir_ui_view.py", 
line 208, in write
      return super(view, self).write(cr, uid, ids, vals, context)
    File "/home/thebrush/lp7/openerp/openerp/osv/orm.py", line 4201, in write
      self._validate(cr, user, ids, context)
    File "/home/thebrush/lp7/openerp/openerp/osv/orm.py", line 1544, in 
_validate
      raise except_orm('ValidateError', '\n'.join(error_msgs))
  except_orm: ('ValidateError', u'Si \xe8 verificato un errore durante la 
convalida dei campi arch: Invalid XML for View Architecture!')

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

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to