Subject: [FIX] website_portal : error on custom panel view
Author: Cedric Le Brouster
Committer: Cedric Le Brouster

Date Level Type Message
2017-03-18 16:44:10 INFO runbot init Init build environment
2017-03-18 16:45:10 INFO runbot test_base Start test base module
2017-03-18 16:48:39 INFO runbot test_all Start test all modules
2017-03-18 16:54:05 CRITICAL server openerp.service.server:898 preload_registries
Failed to initialize database `3283287-368-df4ae4-all`.
Traceback (most recent call last):
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/service/server.py", line 885, in preload_registries
    registry = RegistryManager.new(dbname, update_module=update_module)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/modules/registry.py", line 385, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/modules/loading.py", line 337, in load_modules
    loaded_modules, update_module)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/modules/loading.py", line 237, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/modules/loading.py", line 159, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='demo')
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/modules/loading.py", line 98, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/tools/convert.py", line 852, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/tools/convert.py", line 939, in convert_xml_import
    obj.parse(doc.getroot(), mode=mode)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/tools/convert.py", line 802, in parse
    self.parse(rec, mode)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/tools/convert.py", line 805, in parse
    self._tags[rec.tag](self.cr, rec, de, mode=mode)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/tools/convert.py", line 709, in _tag_record
    id = self.pool['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 "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/api.py", line 232, in wrapper
    return old_api(self, *args, **kwargs)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/addons/base/ir/ir_model.py", line 1107, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/api.py", line 232, in wrapper
    return old_api(self, *args, **kwargs)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/api.py", line 327, in old_api
    result = method(recs, *args, **kwargs)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/addons/website_slides/models/slides.py", line 335, in create
    doc_data = self._parse_document_url(values['url']).get('values', dict())
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/addons/website_slides/models/slides.py", line 452, in _parse_document_url
    return getattr(self, '_parse_%s_document' % document_source)(document_id, only_preview_fields)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/addons/website_slides/models/slides.py", line 462, in _parse_youtube_document
    youtube_values = fetch_res['values'].get('items', list(dict()))[0]
ParseError: "list index out of range" while parsing /srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/addons/website_slides/data/website_slides_demo.xml:76, near
<record id="slide_5" model="slide.slide">
            <field name="name">Odoo POS Indiegogo Campaign</field>
            <field name="url">https://www.youtube.com/watch?v=C_Laaz4mORg</field>
            <field name="channel_id" ref="channel_public"/>
            <field name="category_id" ref="category_1"/>
            <field name="website_published" eval="True"/>
            <field name="tag_ids" eval="[(4, ref('tag3'))]"/>
        </record>
2017-03-18 16:55:05 INFO runbot run Start running build 3283287-368-df4ae4
2017-03-24 13:33:52 ERROR server openerp.addons.base.res.res_users:493 authenticate
Failed to update web.base.url configuration parameter
Traceback (most recent call last):
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/addons/base/res/res_users.py", line 490, in authenticate
    ICP.set_param(cr, uid, 'web.base.url', base)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/api.py", line 232, in wrapper
    return old_api(self, *args, **kwargs)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/addons/base/ir/ir_config_parameter.py", line 98, in set_param
    self.write(cr, uid, ids, vals, context=context)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/api.py", line 232, in wrapper
    return old_api(self, *args, **kwargs)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/addons/base/ir/ir_config_parameter.py", line 107, in write
    return super(ir_config_parameter, self).write(cr, uid, ids, vals, context=context)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/api.py", line 232, in wrapper
    return old_api(self, *args, **kwargs)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/api.py", line 354, in old_api
    result = method(recs, *args, **kwargs)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/models.py", line 3812, in write
    self._write(old_vals)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/api.py", line 230, in wrapper
    return new_api(self, *args, **kwargs)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/api.py", line 547, in new_api
    result = method(self._model, cr, uid, self.ids, *args, **kwargs)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/models.py", line 3924, in _write
    cr.execute(query, params + (sub_ids,))
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/sql_db.py", line 139, in wrapper
    return f(self, *args, **kwargs)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3283287-368-df4ae4/openerp/sql_db.py", line 215, in execute
    res = self._obj.execute(query, params)
TransactionRollbackError: could not serialize access due to concurrent update
2017-03-25 02:27:05 INFO runbot kill Kill build 3283287-368-df4ae4