← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 719213] Re: Cannot load database structure

 

** Description changed:

- Hi, I managed to install BI. I can connect to the openerp database, but
- cannot load it. When I click on #Load database structure#, I receive the
- following error message:
+ Hi, I installed BI for OpenERP 5.0.15 with PostgreSQL on Ubuntu. Now I
+ want to create a database schema (My OpenErp DB in use), and create the
+ cube. I can connect to the openerp database, but cannot load it. When I
+ click on 'Load database structure', I receive the following error
+ message:
  
  Traceback (most recent call last):
-   File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 299, in dispatch
-     result = LocalService(service_name)(method, *params)
-   File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 77, in __call__
-     return getattr(self, method)(*params)
-   File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/audittrail.zip/audittrail/audittrail.py", line 340, in execute
-     return fct_src(db, uid, passwd, model, method, *args)
-   File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 577, in execute
-     res = service.execute(db, uid, object, method, *args)
-   File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 58, in wrapper
-     return f(self, dbname, *args, **kwargs)
-   File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in execute
-     res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
-   File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 111, in execute_cr
-     return getattr(object, method)(cr, uid, *args, **kw)
-   File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 2532, in write
-     fobj = self._inherit_fields[field][2]
+   File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 299, in dispatch
+     result = LocalService(service_name)(method, *params)
+   File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 77, in __call__
+     return getattr(self, method)(*params)
+   File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/audittrail.zip/audittrail/audittrail.py", line 340, in execute
+     return fct_src(db, uid, passwd, model, method, *args)
+   File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 577, in execute
+     res = service.execute(db, uid, object, method, *args)
+   File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 58, in wrapper
+     return f(self, dbname, *args, **kwargs)
+   File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in execute
+     res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
+   File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 111, in execute_cr
+     return getattr(object, method)(cr, uid, *args, **kw)
+   File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 2532, in write
+     fobj = self._inherit_fields[field][2]
  KeyError: '893'
- 
  
  Can you please help me how I can solve this problem?
  
  Besides, I imported and installed olap_sale and olap_crm modules, but it
  seems that no views are created and nothing in cube browser or designer.
  Do you think there is a problem with configuration?

** Summary changed:

- Cannot load database structure
+ Cannot load database structure for Business Intelligence Module

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

Title:
  Cannot load database structure for Business Intelligence Module

Status in OpenERP Web Client:
  New

Bug description:
  Hi, I installed BI for OpenERP 5.0.15 with PostgreSQL on Ubuntu. Now I
  want to create a database schema (My OpenErp DB in use), and create
  the cube. I can connect to the openerp database, but cannot load it.
  When I click on 'Load database structure', I receive the following
  error message:

  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 299, in dispatch
      result = LocalService(service_name)(method, *params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 77, in __call__
      return getattr(self, method)(*params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/audittrail.zip/audittrail/audittrail.py", line 340, in execute
      return fct_src(db, uid, passwd, model, method, *args)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 577, in execute
      res = service.execute(db, uid, object, method, *args)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 58, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in execute
      res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 111, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 2532, in write
      fobj = self._inherit_fields[field][2]
  KeyError: '893'

  Can you please help me how I can solve this problem?

  Besides, I imported and installed olap_sale and olap_crm modules, but
  it seems that no views are created and nothing in cube browser or
  designer. Do you think there is a problem with configuration?





References