openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13501
[Bug 1022953] Re: Thunderbird: install in newdb gets an error
** Description changed:
Hello,
-
- create new db,
- Install Thunderbird module
- gets this treace-back.
- 2012-07-10 12:23:24,902 25129 ERROR None openerp.sql_db: Programming error: column crm_meeting.date_open does not exist
- LINE 1: ...d",crm_meeting."month_list",crm_meeting."user_id",crm_meetin...
- ^
- , in query SELECT crm_meeting."date_closed",crm_meeting."message_state",crm_meeting."allday",date_trunc('second', crm_meeting."create_date") as create_date,crm_meeting."sequence",crm_meeting."fr",crm_meeting."date",crm_meeting."rrule",crm_meeting."duration",crm_meeting."organizer",crm_meeting."partner_id",crm_meeting."id",crm_meeting."month_list",crm_meeting."user_id",crm_meeting."date_open",crm_meeting."base_calendar_alarm_id",crm_meeting."vtimezone",crm_meeting."tu",crm_meeting."recurrency",crm_meeting."week_list",crm_meeting."recurrent_uid",crm_meeting."state",crm_meeting."base_calendar_url",crm_meeting."show_as",crm_meeting."location",crm_meeting."th",crm_meeting."exrule",crm_meeting."day",crm_meeting."exdate",crm_meeting."we",crm_meeting."description",crm_meeting."end_date",crm_meeting."section_id",crm_meeting."end_type",date_trunc('second', crm_meeting."write_date") as write_date,crm_meeting."active",crm_meeting."categ_id",crm_meeting."class",crm_meeting."opportunity_id",crm_meeting."count",crm_meeting."byday",crm_meeting."name",crm_meeting."date_deadline",crm_meeting."mo",crm_meeting."interval",crm_meeting."su",crm_meeting."email_from",crm_meeting."alarm_id",crm_meeting."recurrent_id",crm_meeting."phonecall_id",crm_meeting."organizer_id",crm_meeting."sa",crm_meeting."rrule_type",crm_meeting."select1",crm_meeting.id FROM "crm_meeting" WHERE crm_meeting.id IN %s ORDER BY id desc
- 2012-07-10 12:23:24,903 25129 ERROR None openerp.osv.osv: Uncaught exception
+ 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/osv/orm.py", line 3467, in read
- result = self._read_flat(cr, user, select, fields, context, load)
- File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 3575, in _read_flat
- res2 = self._columns[val[0]].get(cr, self, ids, val, user, context=context, values=res)
- File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/fields.py", line 1065, in get
- result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
- File "/home/nco/workspace/rdtools/addons/trunk/crm/res_partner.py", line 33, in _opportunity_meeting_count
- 'meeting_count': len(partner.meeting_ids),
- File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 476, in __getattr__
- return self[name]
- File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 391, in __getitem__
- field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
- File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 3467, in read
- result = self._read_flat(cr, user, select, fields, context, load)
- File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 3587, in _read_flat
- res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
- File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/fields.py", line 484, in get
- ids2 = obj.pool.get(self._obj).search(cr, user, self._domain + [(self._fields_id, 'in', ids)], limit=self._limit, context=context)
- File "/home/nco/workspace/rdtools/addons/trunk/base_calendar/base_calendar.py", line 1329, in search
- res = self.get_recurrent_ids(cr, uid, res, args, limit, context=context)
- File "/home/nco/workspace/rdtools/addons/trunk/base_calendar/base_calendar.py", line 1126, in get_recurrent_ids
- for data in super(calendar_event, self).read(cr, uid, select, context=context):
- File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 3467, in read
- result = self._read_flat(cr, user, select, fields, context, load)
- File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 3523, in _read_flat
- cr.execute(query, (tuple(sub_ids),))
- File "/home/nco/workspace/rdtools/server/trunk/openerp/sql_db.py", line 152, in wrapper
- return f(self, *args, **kwargs)
- File "/home/nco/workspace/rdtools/server/trunk/openerp/sql_db.py", line 212, in execute
- res = self._obj.execute(query, params)
- ProgrammingError: column crm_meeting.date_open does not exist
- LINE 1: ...d",crm_meeting."month_list",crm_meeting."user_id",crm_meetin...
- ^
+ 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
- 2012-07-10 12:23:24,907 25129 ERROR None openerp.netsvc: column crm_meeting.date_open does not exist
- LINE 1: ...d",crm_meeting."month_list",crm_meeting."user_id",crm_meetin...
Thanks,
- NCO.
+ NCO.
--
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):
In Progress
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