← Back to team overview

openerp-india team mailing list archive

[Bug 1012653] [NEW] gives error when installing product module

 

Public bug reported:

when installing product module i found this traceback
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 153, in load_module_graph
    models = pool.load(cr, package)
  File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/registry.py", line 101, in load
    res.append(cls.create_instance(self, cr))
  File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 873, in create_instance
    'You may need to add a dependency on the parent class\' module.' % (name, parent_name))
TypeError: The model "product.product" specifies an unexisting parent class "mail.thread"
You may need to add a dependency on the parent class' module.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  gives error when installing product module

Status in OpenERP Addons (modules):
  New

Bug description:
  when installing product module i found this traceback
  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 153, in load_module_graph
      models = pool.load(cr, package)
    File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/registry.py", line 101, in load
      res.append(cls.create_instance(self, cr))
    File "/home/nco/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 873, in create_instance
      'You may need to add a dependency on the parent class\' module.' % (name, parent_name))
  TypeError: The model "product.product" specifies an unexisting parent class "mail.thread"
  You may need to add a dependency on the parent class' module.

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


Follow ups

References