← Back to team overview

openerp-india team mailing list archive

[Bug 911379] [NEW] project_crm module fails to install

 

Public bug reported:

Hi,

Using the latest trunk 6.1 it is not possible to install the project_crm
module.

Scenario: fresh database with 'Project APP' + 'project_issue module' + 'CRM App'
Ubuntu 11.10
Client: new webclient


Client Traceback (most recent call last):
  File "/opt/openerp/web/addons/web/common/http.py", line 175, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/opt/openerp/web/addons/web/controllers/main.py", line 850, in call_button
    action = self.call_common(req, model, method, args, domain_id, context_id)
  File "/opt/openerp/web/addons/web/controllers/main.py", line 842, in call_common
    return getattr(req.session.model(model), method)(*args)
  File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 430, in proxy
    *args)
  File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 306, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 276, in send
    raise fault


Server Traceback (most recent call last):
  File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 257, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/reichert/Workspace/openerp/server/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/reichert/Workspace/openerp/server/openerp/service/web_services.py", line 580, in dispatch
    res = fn(db, uid, *params)
  File "/home/reichert/Workspace/openerp/server/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/reichert/Workspace/openerp/server/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/reichert/Workspace/openerp/server/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/reichert/Workspace/openerp/server/openerp/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
    _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/reichert/Workspace/openerp/server/openerp/pooler.py", line 39, in restart_pool
    registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
  File "/home/reichert/Workspace/openerp/server/openerp/modules/registry.py", line 160, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/home/reichert/Workspace/openerp/server/openerp/modules/loading.py", line 339, in load_modules
    processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
  File "/home/reichert/Workspace/openerp/server/openerp/modules/loading.py", line 254, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
  File "/home/reichert/Workspace/openerp/server/openerp/modules/loading.py", line 168, in load_module_graph
    models = pool.load(cr, package)
  File "/home/reichert/Workspace/openerp/server/openerp/modules/registry.py", line 97, in load
    res.append(cls.create_instance(self, cr))
  File "/home/reichert/Workspace/openerp/server/openerp/osv/orm.py", line 868, in create_instance
    if not getattr(cls, '_original_module', None) and name == parent_model._name:
AttributeError: 'NoneType' object has no attribute '_name'

** 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/911379

Title:
  project_crm module fails to install

Status in OpenERP Addons (modules):
  New

Bug description:
  Hi,

  Using the latest trunk 6.1 it is not possible to install the
  project_crm module.

  Scenario: fresh database with 'Project APP' + 'project_issue module' + 'CRM App'
  Ubuntu 11.10
  Client: new webclient

  
  Client Traceback (most recent call last):
    File "/opt/openerp/web/addons/web/common/http.py", line 175, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/opt/openerp/web/addons/web/controllers/main.py", line 850, in call_button
      action = self.call_common(req, model, method, args, domain_id, context_id)
    File "/opt/openerp/web/addons/web/controllers/main.py", line 842, in call_common
      return getattr(req.session.model(model), method)(*args)
    File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 430, in proxy
      *args)
    File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 306, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 276, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/opt/openerp/web/addons/web/common/openerplib/main.py", line 257, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/reichert/Workspace/openerp/server/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/reichert/Workspace/openerp/server/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/reichert/Workspace/openerp/server/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/reichert/Workspace/openerp/server/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/reichert/Workspace/openerp/server/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/reichert/Workspace/openerp/server/openerp/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
      _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/home/reichert/Workspace/openerp/server/openerp/pooler.py", line 39, in restart_pool
      registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
    File "/home/reichert/Workspace/openerp/server/openerp/modules/registry.py", line 160, in new
      openerp.modules.load_modules(registry.db, force_demo, status, update_module)
    File "/home/reichert/Workspace/openerp/server/openerp/modules/loading.py", line 339, in load_modules
      processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
    File "/home/reichert/Workspace/openerp/server/openerp/modules/loading.py", line 254, in load_marked_modules
      loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
    File "/home/reichert/Workspace/openerp/server/openerp/modules/loading.py", line 168, in load_module_graph
      models = pool.load(cr, package)
    File "/home/reichert/Workspace/openerp/server/openerp/modules/registry.py", line 97, in load
      res.append(cls.create_instance(self, cr))
    File "/home/reichert/Workspace/openerp/server/openerp/osv/orm.py", line 868, in create_instance
      if not getattr(cls, '_original_module', None) and name == parent_model._name:
  AttributeError: 'NoneType' object has no attribute '_name'

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


Follow ups

References