← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 592729] Re: TRUNK: AssertionError: parent class crm.case does not exist in module project_crm !

 

*** This bug is a duplicate of bug 583240 ***
    https://bugs.launchpad.net/bugs/583240

** Description changed:

  On TRUNK activating Knowledge modules installation wizard, and clicking
  all options to be installed I obtain the following error:
  
- 
- Environment Information : 
+ Environment Information :
  System : Windows-32bit
  OS Name : nt
- Operating System Release : 
+ Operating System Release :
  Operating System Version : 32bit
  Operating System Architecture : 32bit
  Operating System Locale : es_ES.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0dev
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
-   File "/home/openerp/production/openerp-server/bin/netsvc.py", line 394, in dispatch
-     result = ExportService.getService(service_name).dispatch(method, auth, params)
-   File "/home/openerp/production/openerp-server/bin/service/web_services.py", line 587, in dispatch
-     res = fn(db, uid, *params)
-   File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 57, in wrapper
-     return f(self, dbname, *args, **kwargs)
-   File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 133, in execute
-     res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
-   File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 123, in execute_cr
-     return getattr(object, method)(cr, uid, *args, **kw)
-   File "/home/openerp/production/openerp-server/bin/addons/base/res/res_config.py", line 182, in action_next
-     next = self.execute(cr, uid, ids, context=None)
-   File "/home/openerp/production/openerp-server/bin/addons/base/res/res_config.py", line 413, in execute
-     pooler.restart_pool(cr.dbname, update_module=True)
-   File "/home/openerp/production/openerp-server/bin/pooler.py", line 61, in restart_pool
-     return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
-   File "/home/openerp/production/openerp-server/bin/pooler.py", line 39, in get_db_and_pool
-     addons.load_modules(db, force_demo, status, update_module)
-   File "/home/openerp/production/openerp-server/bin/addons/__init__.py", line 838, in load_modules
-     r = load_module_graph(cr, graph, status, report=report)
-   File "/home/openerp/production/openerp-server/bin/addons/__init__.py", line 691, in load_module_graph
-     modules = pool.instanciate(package.name, cr)
-   File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 187, in instanciate
-     res.append(klass.createInstance(self, module, cr))
-   File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 260, in createInstance
-     assert pool.get(parent_name), "parent class %s does not exist in module %s !" % (parent_name, module)
+   File "/home/openerp/production/openerp-server/bin/netsvc.py", line 394, in dispatch
+     result = ExportService.getService(service_name).dispatch(method, auth, params)
+   File "/home/openerp/production/openerp-server/bin/service/web_services.py", line 587, in dispatch
+     res = fn(db, uid, *params)
+   File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 57, in wrapper
+     return f(self, dbname, *args, **kwargs)
+   File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 133, in execute
+     res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
+   File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 123, in execute_cr
+     return getattr(object, method)(cr, uid, *args, **kw)
+   File "/home/openerp/production/openerp-server/bin/addons/base/res/res_config.py", line 182, in action_next
+     next = self.execute(cr, uid, ids, context=None)
+   File "/home/openerp/production/openerp-server/bin/addons/base/res/res_config.py", line 413, in execute
+     pooler.restart_pool(cr.dbname, update_module=True)
+   File "/home/openerp/production/openerp-server/bin/pooler.py", line 61, in restart_pool
+     return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
+   File "/home/openerp/production/openerp-server/bin/pooler.py", line 39, in get_db_and_pool
+     addons.load_modules(db, force_demo, status, update_module)
+   File "/home/openerp/production/openerp-server/bin/addons/__init__.py", line 838, in load_modules
+     r = load_module_graph(cr, graph, status, report=report)
+   File "/home/openerp/production/openerp-server/bin/addons/__init__.py", line 691, in load_module_graph
+     modules = pool.instanciate(package.name, cr)
+   File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 187, in instanciate
+     res.append(klass.createInstance(self, module, cr))
+   File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 260, in createInstance
+     assert pool.get(parent_name), "parent class %s does not exist in module %s !" % (parent_name, module)
  AssertionError: parent class crm.case does not exist in module project_crm !

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/592729

Title:
  TRUNK: AssertionError: parent class crm.case does not exist in module
  project_crm !

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  On TRUNK activating Knowledge modules installation wizard, and
  clicking all options to be installed I obtain the following error:

  Environment Information :
  System : Windows-32bit
  OS Name : nt
  Operating System Release :
  Operating System Version : 32bit
  Operating System Architecture : 32bit
  Operating System Locale : es_ES.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0dev
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/home/openerp/production/openerp-server/bin/netsvc.py", line 394, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/openerp/production/openerp-server/bin/service/web_services.py", line 587, in dispatch
      res = fn(db, uid, *params)
    File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 57, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 133, in execute
      res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 123, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/openerp/production/openerp-server/bin/addons/base/res/res_config.py", line 182, in action_next
      next = self.execute(cr, uid, ids, context=None)
    File "/home/openerp/production/openerp-server/bin/addons/base/res/res_config.py", line 413, in execute
      pooler.restart_pool(cr.dbname, update_module=True)
    File "/home/openerp/production/openerp-server/bin/pooler.py", line 61, in restart_pool
      return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
    File "/home/openerp/production/openerp-server/bin/pooler.py", line 39, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/home/openerp/production/openerp-server/bin/addons/__init__.py", line 838, in load_modules
      r = load_module_graph(cr, graph, status, report=report)
    File "/home/openerp/production/openerp-server/bin/addons/__init__.py", line 691, in load_module_graph
      modules = pool.instanciate(package.name, cr)
    File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 187, in instanciate
      res.append(klass.createInstance(self, module, cr))
    File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 260, in createInstance
      assert pool.get(parent_name), "parent class %s does not exist in module %s !" % (parent_name, module)
  AssertionError: parent class crm.case does not exist in module project_crm !