← Back to team overview

openerp-india team mailing list archive

[Bug 1022953] Re: Thunderbird: install in newdb gets an error

 

Hello,

The dependence to base_setup is now declared in the mail module (cf.
revno 7207)

Thanks.

Regards, 
Anto.

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

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

Title:
  Thunderbird: install in newdb gets an error

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  Hello,

           create new db,
           Install Thunderbird module
          gets this treace-back.

  2012-07-10 13:12:11,465 27843 ERROR thuderbird openerp.tools.convert: Parse error in /home/nco/workspace/rdtools/addons/trunk/plugin_thunderbird/plugin_thunderbird.xml:55: 
  <record id="view_config_thunderbird_installer" model="ir.ui.view">
              <field name="name">Sales Application</field>
              <field name="model">sale.config.settings</field>
              <field name="type">form</field>
              <field name="inherit_id" ref="base_setup.view_sale_config_settings"/>
              <field name="arch" type="xml">
                  <field name="module_plugin_thunderbird" version="7.0" position="replace">
                      <label for="module_plugin_thunderbird"/>
                      <div>
                          <field name="module_plugin_thunderbird"/>
                          <button name="%(action_thunderbird_installer)d" type="action" string="Configure" icon="gtk-execute" attrs="{'invisible': [('module_plugin_thunderbird','=',False)]}"/>
                      </div>
                  </field>
              </field>
          </record>
  Traceback (most recent call last):
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 854, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 812, in _tag_record
      f_val = self.id_get(cr, f_ref)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 831, in id_get
      res = self.model_id_get(cr, id_str)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 840, in model_id_get
      return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 18, in lookup
      r = self.lookup(self2, cr, *args)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 46, in lookup
      value = d[args] = self.method(self2, cr, *args)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/addons/base/ir/ir_model.py", line 720, in get_object_reference
      data_id = self._get_id(cr, uid, module, xml_id)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 18, in lookup
      r = self.lookup(self2, cr, *args)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 46, in lookup
      value = d[args] = self.method(self2, cr, *args)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/addons/base/ir/ir_model.py", line 713, in _get_id
      raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
  ValueError: No such external ID currently defined in the system: base_setup.view_sale_config_settings
  2012-07-10 13:12:11,466 27843 ERROR thuderbird openerp.osv.osv: Uncaught exception
  Traceback (most recent call last):
    File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/addons/base/module/module.py", line 358, in button_immediate_install
      _, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/pooler.py", line 39, in restart_pool
      registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/registry.py", line 164, in new
      openerp.modules.load_modules(registry.db, force_demo, status, update_module)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/loading.py", line 332, in load_modules
      processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/loading.py", line 243, in load_marked_modules
      loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/loading.py", line 178, in load_module_graph
      load_update_xml(module_name, idref, mode)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/loading.py", line 75, in <lambda>
      load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
    File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/loading.py", line 124, in _load_data
      tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 961, in convert_xml_import
      obj.parse(doc.getroot())
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 854, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 812, in _tag_record
      f_val = self.id_get(cr, f_ref)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 831, in id_get
      res = self.model_id_get(cr, id_str)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 840, in model_id_get
      return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 18, in lookup
      r = self.lookup(self2, cr, *args)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 46, in lookup
      value = d[args] = self.method(self2, cr, *args)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/addons/base/ir/ir_model.py", line 720, in get_object_reference
      data_id = self._get_id(cr, uid, module, xml_id)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 18, in lookup
      r = self.lookup(self2, cr, *args)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 46, in lookup
      value = d[args] = self.method(self2, cr, *args)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/addons/base/ir/ir_model.py", line 713, in _get_id
      raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
  ValueError: No such external ID currently defined in the system: base_setup.view_sale_config_settings
  2012-07-10 13:12:11,470 27843 ERROR thuderbird openerp.netsvc: No such external ID currently defined in the system: base_setup.view_sale_config_settings

  
  Thanks,
   NCO.

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


References